Mija Lee <mija@scharp.org> writes:
> - pg has been configured --with perl
> - the libdir is /usr/lib
> - there are plpgsql.so and plperl.so in the libdir
> - I get this:
> postgres=# create language plperl;
> ERROR: could not access file "$libdir/plperl": No such file or directory
I rather doubt that libdir is /usr/lib. It's much more likely to have
"postgres" or "postgresql" in the path somewhere. "pg_config --pkglibdir"
would tell you for sure.
regards, tom lane