Jean-Christian Imbeault <jc@mega-bucks.co.jp> writes:
>> This is certainly not the correct solution.
> I certainly agree. What can I do to pin-point the root cause of the
> problem? My environment vars seem to be set correctly so I don't
> understand why the createlang script is not picking them up ...
I'm still wondering if you are actually invoking a 7.3 server, and not
an old pre-7.1 one. 'psql -c "select version()"' would tell the tale.
Barring that, try adding some debug printouts to
expand_dynamic_library_name() in src/backend/utils/fmgr/dfmgr.c
to see what file names it's actually trying (or just step through it
with a debugger).
regards, tom lane