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

Paul Ramsey pramsey at opengeo.org
Thu May 27 07:09:56 PDT 2010


Run

ldd /usr/local/pgsql/lib/postgis-1.5.so

And see what it says...

BTW, you shouldn't install PostGIS into template1 unless you want all
your databases to be PostGIS enabled. A better practice is to make a
template_postgis database and install into that.

Paul

On Thu, May 27, 2010 at 10:06 AM, Kai Behncke <Kai-Behncke at gmx.de> wrote:
> 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
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>



More information about the postgis-users mailing list