[postgis-users] Problem installing postgis 1.0.0 - libgeos.so.2: cannot open shared object file
Gérald Fenoy
djayweb at djayux.net
Tue May 10 02:50:08 PDT 2005
As your mail object let suppose it's a problem with the libgeos.so. So
I think it's a good idea to check if the libraries are well linked
together with the command : ldd /the/complete/path/to/liblwgeom.so (on
my install it's here /usr/libexec/liblwgeom.so). If you have one or
more "not found" in the result of the command then you have a problem
and it's now localized ...
Le 10 mai 05, à 11:37, Marco Lechner a écrit :
> Hi List,
>
> I have problem after installing postgis 1.0.0:
> - I installed the actual version of geos (V 2.1.1 - stable)
> - After that I set LDFLAGS=-lstdc++ and compiled
> postgresql --with-perl --with-openssl and installed it succesfully
> - then I cpied the unzipped postgis-dir in the
> postgresql-contrib-folder of
> my postgresql-source
> - I modified Makefile.config (PROJ=1 GEOS=1)
> - I compiled postgis (make install)
> - I created a testdb (named postgis)
> - I did a createlang plpgsql postgis
> everything works so far
>
> but when I try:
>
> postgres at maas:/usr/local/pgsql> bin/psql -f
> share/contrib/lwpostgis.sql -d
> postgis
> Password:
> BEGIN
> NOTICE: type "histogram2d" is not yet defined
> DETAIL: Creating a shell type definition.
> psql:share/contrib/lwpostgis.sql:36: NOTICE: type "histogram2d" is
> not yet
> defined
> DETAIL: Creating a shell type definition.
> ERROR: could not load library "/usr/local/pgsql/lib/liblwgeom.so.1.0":
> libgeos.so.2: cannot open shared object file: Datei oder Verzeichnis
> nicht
> gefunden
> psql:share/contrib/lwpostgis.sql:36: ERROR: could not load library
> "/usr/local/pgsql/lib/liblwgeom.so.1.0": libgeos.so.2: cannot open
> shared
> object file: Datei oder Verzeichnis nicht gefunden
> ERROR: current transaction is aborted, commands ignored until end of
> transaction block
> psql:share/contrib/lwpostgis.sql:41: ERROR: current transaction is
> aborted,
> commands ignored until end of transaction block
> ERROR: current transaction is aborted, commands ignored until end of
> transaction block
> psql:share/contrib/lwpostgis.sql:49: ERROR: current transaction is
> aborted,
> commands ignored until end of transaction block
> ERROR: current transaction is aborted, commands ignored until end of
> transaction block
> psql:share/contrib/lwpostgis.sql:66: ERROR: current transaction is
> aborted,
> commands ignored until end of transaction block
> ERROR: current transaction is aborted, commands ignored until end of
> transaction block
> psql:share/contrib/lwpostgis.sql:71: ERROR: current transaction is
> aborted,
> commands ignored until end of transaction block
> ERROR: current transaction is aborted, commands ignored until end of
> transaction block
> psql:share/contrib/lwpostgis.sql:78: ERROR: current transaction is
> aborted,
> commands ignored until end of transaction block
> .......
>
> it doesn't add the postgis-functions to my database
> What's wrong ??
>
> I also added /usr/locyl/pgsql/lib to my /etc/ld.so.conf and did a
> /sbin/ldconfig
> still got the same problem
>
> Marco
>
> P.S. system is a SuSE-Linux 8.2
>
> ---------------------------------
> Marco Lechner
>
> dienstlich:
> Institut für Physische Geographie
> Uni Freiburg
> Werderring 4
> 79085 Freiburg
> Fon 0761 / 203-3548
> Mail marco.lechner at geographie.uni-freiburg.de
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
Gérald Fenoy
!! GIS for gentoo'er !!
More information about the postgis-users
mailing list