[postgis-users] PostGIS 1.3.3 on Solaris 10

eroussel eroussel_register at mac.com
Mon Oct 13 14:17:14 PDT 2008


I currently have a problem with PostGIS 1.3.3 on Solaris 10.

PostGIS compiled without problems, however, when I try to run:
# /opt/postgresql/bin/psql -d testspatialdb -f
/opt/postgresql/share/lwpostgis.sql

I get this:
psql:/opt/postgresql/share/lwpostgis.sql:53: NOTICE:  type "histogram2d" is
not yet defined
DETAIL:  Creating a shell type definition.
psql:/opt/postgresql/share/lwpostgis.sql:53: ERROR:  could not load library
"/opt/postgresql/lib/liblwgeom.so": ld.so.1: postgres: fatal: libc.so.6:
open failed: No such file or directory

Looking at liblwgeom.so I get this:
$ ldd liblwgeom.so
        libgeos_c.so.1 =>        /opt/geos/lib/libgeos_c.so.1
        libproj.so.0 =>  /opt/proj/lib/libproj.so.0
        libc.so.6 =>     (file not found)
        libgeos-3.0.0.so =>      /opt/geos/lib/libgeos-3.0.0.so
        libstdc++.so.6 =>        /usr/sfw/lib/libstdc++.so.6
        libm.so.2 =>     /lib/libm.so.2
        libgcc_s.so.1 =>         /usr/sfw/lib/libgcc_s.so.1
        libc.so.1 =>     /lib/libc.so.1

Obviously libc.so.6 is missing. On Solaris 10 however libc.so.1 is available
under /lib. Is there a secret "configure" switch to have PostGIS call
libc.so.1 instead of libc.so.6 under Solaris 10?

Thanks in advance.
-- 
View this message in context: http://www.nabble.com/PostGIS-1.3.3-on-Solaris-10-tp19963091p19963091.html
Sent from the PostGIS - User mailing list archive at Nabble.com.




More information about the postgis-users mailing list