pgsql-bugs(at)postgresql(dot)org writes:
> bash-2.05$ createlang plpgsql template1
> ERROR: Load of file /usr/local/pgsql/lib/plpgsql.so failed: ld.so.1: /usr/local/pgsql/bin/postmaster: errore fatale:libgcc_s.so.1: impossibile aprire: File o directory non trovati
> createlang: language installation failed
I think you need to adjust LD_LIBRARY_PATH (in the postmaster's
environment) so that it includes whatever directory contains
libgcc_s.so.1. (/usr/local/lib is a likely place for it, but you'll
have to look.)
regards, tom lane