Wednesday, November 5, 2008

Shared object "libperl.so" not found, required by "plperl.so" in FreeBSD

If you get this error when you execute:

$ createlang plperlu some-database

-- [start: full error message] --
createlang: language installation failed: ERROR: could not load library
"/usr/local/lib/postgresql/plperl.so": dlopen
'/usr/local/lib/postgresql/plperl.so' failed. (Shared object "libperl.so"
not found, required by "plperl.so")
-- [end: full error message] --

You can simply execute:
# ln -s /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so /usr/lib/libperl.so

2 comments:

niC said...

/libexec/ld-elf.so.1: Shared object "libperl.so" not found, required by "libnetsnmphelpers.so.20"
what about this error?

pchaitat said...

hi niC, do you have libperl.so? what is the result from "# locate libperl.so" on your system?

Post a Comment