HINT: Extension libraries are required to use the PG_MODULE_MAGIC macro.
I am calling PG_MODULE_MAGIC in my c file. Minimal Makefile, .c, and .sql files are attached. In the Makefile, if I change "MODULE_big" to "MODULES", it works. However, I want to use "MODULE_big" because I need to later link to a shared library using SHLIB_LINK, and "MODULES" doesn't support SHLIB_LINK as per http://archives.postgresql.org/pgsql-hackers/2012-03/msg00537.php
Any suggestions on how I can get PG_MODULE_MAGIC to work with "MODULE_big" (or link a shared library when using "MODULES")?