[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:19:34 PDT 2010


Hi Paul,

first of all thank you very much.


I did: ldd /usr/local/pgsql/lib/postgis-1.5.so

..and I get:

 linux-gate.so.1 =>  (0xffffe000)
        libgeos_c.so.1 => /usr/lib/libgeos_c.so.1 (0xb7ea6000)
        libproj.so.0 => /usr/local/lib/libproj.so.0 (0xb7e73000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7d59000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7c28000)
        libgeos.so.2 => /usr/lib/libgeos.so.2 (0xb7b27000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7a42000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7a1c000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7a11000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7a0d000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb79f9000)
        /lib/ld-linux.so.2 (0x80000000)



...but what does that mean?


> 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.

In this case it`s no problem, because all the databases I need should have postgis-support.

Best regards, Kai

-------- Original-Nachricht --------
> Datum: Thu, 27 May 2010 10:09:56 -0400
> Von: Paul Ramsey <pramsey at opengeo.org>
> An: PostGIS Users Discussion <postgis-users at postgis.refractions.net>
> Betreff: Re: [postgis-users] ERROR: could not load library	"/usr/local/pgsql/lib/postgis-1.5.so

> 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
> >
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users

-- 
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