[postgis-users] ERROR: could not load library "/usr/local/pgsql/lib/postgis-1.5.so

Kai Behncke Kai-Behncke at gmx.de
Thu May 27 07:06:41 PDT 2010


Hi all, I have just installed Postgresql.8-4.4 und try do complement it with
postgis 1.5

I have configured, done "make" and done "make install"
with postgis, and I got a "success message".

But now I try:

./psql -s -d template1 -f /usr/local/pgsql/share/contrib/postgis-1.5/postgis.sql

...and I get the following error:


ERROR:  could not load library "/usr/local/pgsql/lib/postgis-1.5.so


(but that file is definetely there!!)


In /etc/ld.so.conf.d/.... it`s written:


/lib/i486-linux-gnu
/usr/lib/i486-linux-gnu
/usr/lib
/usr/bin
/usr/local
/usr/local/pgsql
/usr/local/pgsql/lib
/usr/share
/usr/local/lib


A misterious error comes if I do: ldconfig, then I get:


ldconfig: /usr/lib/libpq.so.5 is not a symbolic link

Maybe this might be the reason?
Can anybody give me a hint please?

Thank you very much, Kai
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01



More information about the postgis-users mailing list