Re: [postgis-users] ERROR: could not load library "/usr/local/pgsql/lib/postgis-1.5.so
Hi Paul, Mark, strk thank you very much :-) I deleted the older geos-version. Now verything runs finely :-) Best regards, Kai Original-Nachricht > Datum: Thu, 27 May 2010 15:57:46 +0100 > Von: Mark Cave-Ayland > An: PostGIS Users Discussion > Betreff: Re: [postgis-users] ERROR: could not loadlibrary > "/usr/local/pgsql/lib/postgis-1.5.so > Paul Ramsey wrote: > > > Sounds like you have an older version of GEOS floating around somewhere. > > > > find / -name "libgeos_c.*" > > > > P. > > Yeah, that looks about right from Kai's earlier email: > > linux-gate.so.1 => (0xe000) > 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 (0x8000) > > Looks as if there is a GEOS v2 already installed (probably installed via > a package manager) causing problems. > > > HTH, > > Mark. > > -- > Mark Cave-Ayland - Senior Technical Architect > PostgreSQL - PostGIS > Sirius Corporation plc - control through freedom > http://www.siriusit.co.uk > t: +44 870 608 0063 > > Sirius Labs: http://www.siriusit.co.uk/labs > ___ > postgis-users mailing list > postgis-users@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 ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] ERROR: could not load library "/usr/local/pgsql/lib/postgis-1.5.so
Paul Ramsey wrote: Sounds like you have an older version of GEOS floating around somewhere. find / -name "libgeos_c.*" P. Yeah, that looks about right from Kai's earlier email: linux-gate.so.1 => (0xe000) 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 (0x8000) Looks as if there is a GEOS v2 already installed (probably installed via a package manager) causing problems. HTH, Mark. -- Mark Cave-Ayland - Senior Technical Architect PostgreSQL - PostGIS Sirius Corporation plc - control through freedom http://www.siriusit.co.uk t: +44 870 608 0063 Sirius Labs: http://www.siriusit.co.uk/labs ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] ERROR: could not load library "/usr/local/pgsql/lib/postgis-1.5.so
Sounds like you have an older version of GEOS floating around somewhere. find / -name "libgeos_c.*" P. On Thu, May 27, 2010 at 10:51 AM, Kai Behncke wrote: > Hi all, > thank you again. > > I again installed geos (3.2.2) and proj (4.7) and after each I did a > "ldconfig", but even though > the error appears: > > -- > > CREATE OR REPLACE FUNCTION st_spheroid_in(cstring) > RETURNS spheroid > AS '$libdir/postgis-1.5','ellipsoid_in' > LANGUAGE 'C' IMMUTABLE STRICT; > > > ERROR: could not load library "/usr/local/pgsql/lib/postgis-1.5.so": > /usr/local/pgsql/lib/postgis-1.5.so: undefined symbol: GEOSHausdorffDistance > > -- > That is really weird?? > > Best regards, Kai > > > > Original-Nachricht ---- >> Datum: Thu, 27 May 2010 10:39:10 -0400 >> Von: Paul Ramsey >> An: PostGIS Users Discussion >> Betreff: Re: [postgis-users] ERROR: could not load library >> "/usr/local/pgsql/lib/postgis-1.5.so > >> Yes, after installing a new library, run ldconfig as root. This >> informs the linker to check for new libraries (in the directories >> listed in /etc/ld.so.conf) >> >> P >> >> On Thu, May 27, 2010 at 10:31 AM, Kai Behncke wrote: >> > Hi you >> >> >> >> I bet on missing ldconfig after libproj install. >> >> >> >> --strk; >> >> >> > >> > You mean I need to do a ldconfig after that?? >> > (that iscompletely new for me.) >> > >> > Indeed I did with that library "configure", "make", "make install". >> > >> > Best regards, 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@postgis.refractions.net >> > http://postgis.refractions.net/mailman/listinfo/postgis-users >> > >> ___ >> postgis-users mailing list >> postgis-users@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 > ___ > postgis-users mailing list > postgis-users@postgis.refractions.net > http://postgis.refractions.net/mailman/listinfo/postgis-users > ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] ERROR: could not load library "/usr/local/pgsql/lib/postgis-1.5.so
Hi all, thank you again. I again installed geos (3.2.2) and proj (4.7) and after each I did a "ldconfig", but even though the error appears: -- CREATE OR REPLACE FUNCTION st_spheroid_in(cstring) RETURNS spheroid AS '$libdir/postgis-1.5','ellipsoid_in' LANGUAGE 'C' IMMUTABLE STRICT; ERROR: could not load library "/usr/local/pgsql/lib/postgis-1.5.so": /usr/local/pgsql/lib/postgis-1.5.so: undefined symbol: GEOSHausdorffDistance -- That is really weird?? Best regards, Kai Original-Nachricht > Datum: Thu, 27 May 2010 10:39:10 -0400 > Von: Paul Ramsey > An: PostGIS Users Discussion > Betreff: Re: [postgis-users] ERROR: could not load library > "/usr/local/pgsql/lib/postgis-1.5.so > Yes, after installing a new library, run ldconfig as root. This > informs the linker to check for new libraries (in the directories > listed in /etc/ld.so.conf) > > P > > On Thu, May 27, 2010 at 10:31 AM, Kai Behncke wrote: > > Hi you > >> > >> I bet on missing ldconfig after libproj install. > >> > >> --strk; > >> > > > > You mean I need to do a ldconfig after that?? > > (that iscompletely new for me.) > > > > Indeed I did with that library "configure", "make", "make install". > > > > Best regards, 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@postgis.refractions.net > > http://postgis.refractions.net/mailman/listinfo/postgis-users > > > ___ > postgis-users mailing list > postgis-users@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 ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] ERROR: could not load library "/usr/local/pgsql/lib/postgis-1.5.so
Yes, after installing a new library, run ldconfig as root. This informs the linker to check for new libraries (in the directories listed in /etc/ld.so.conf) P On Thu, May 27, 2010 at 10:31 AM, Kai Behncke wrote: > Hi you >> >> I bet on missing ldconfig after libproj install. >> >> --strk; >> > > You mean I need to do a ldconfig after that?? > (that iscompletely new for me.) > > Indeed I did with that library "configure", "make", "make install". > > Best regards, 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@postgis.refractions.net > http://postgis.refractions.net/mailman/listinfo/postgis-users > ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] ERROR: could not load library "/usr/local/pgsql/lib/postgis-1.5.so
Hi you > > I bet on missing ldconfig after libproj install. > > --strk; > You mean I need to do a ldconfig after that?? (that iscompletely new for me.) Indeed I did with that library "configure", "make", "make install". Best regards, 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@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] ERROR: could not load library "/usr/local/pgsql/lib/postgis-1.5.so
On Thu, May 27, 2010 at 04:19:34PM +0200, Kai Behncke wrote: > 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 => (0xe000) > 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 (0x8000) I bet on missing ldconfig after libproj install. --strk; () Free GIS & Flash consultant/developer /\ http://strk.keybit.net/services.html ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] ERROR: could not load library "/usr/local/pgsql/lib/postgis-1.5.so
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 => (0xe000) 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 (0x8000) ...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 > An: PostGIS Users Discussion > 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 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@postgis.refractions.net > > http://postgis.refractions.net/mailman/listinfo/postgis-users > > > ___ > postgis-users mailing list > postgis-users@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 ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
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 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@postgis.refractions.net > http://postgis.refractions.net/mailman/listinfo/postgis-users > ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
[postgis-users] ERROR: could not load library "/usr/local/pgsql/lib/postgis-1.5.so
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@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users