Paul Ramsey <pramsey(at)refractions(dot)net> writes:
> [Robin:~] pramsey% createlang plpgsql pltest
> ERROR: Load of file /usr/local/pgsql/lib/plpgsql.so failed: no error
> message available
Not sure if this is true on OS/X, but on many Unixen, the dynamic loader
will write failure messages on stderr that are much more useful than the
narrow-band error indicator returned to the calling code. Make sure
your setup is sending postmaster stderr to a file, not /dev/null, and
then look in the file to see if this produces any interesting output.
regards, tom lane