"Dan \"Heron\" Myers" <heron(at)xnapid(dot)com> writes:
> I'm wondering if maybe there is a dependency somewhere I'm missing. I
> link with postgres.lib to create the dll;
Oh, you're using Windows :-(. I make it my business to not know
anything about that platform, but perhaps you could get a clue by
looking at how the contrib modules are built (using whichever tool
chain you're using).
Or you could put in a few debugging printf's, or poke at it with a
debugger.
regards, tom lane