[postgis-users] /usr/local/lib/libgeos-3.0.0rc4.so: undefined symbol: _ZSt4cerr

Wensing, Matthew (CNI-Palm Beach) MWensing at pbpost.com
Mon Aug 27 08:36:34 PDT 2007


Hello,

I am trying to install PostGIS 1.3.1 on a fresh copy of Ubuntu 6.06 LTS,
but I am getting this error when trying to load up lwpostgis.sql (using
$ psql -d mydatabase -f /usr/share/lwpostgis.sql):

============

...
psql:/usr/share/lwpostgis.sql:44: NOTICE:  type "histogram2d" is not yet
defined
DETAIL: Creating a shell type definition.
psql:/usr/share/lwpostgis.sql:44: ERROR: could not load library
"/usr/lib/postgresql/8.1/lib/liblwgeom.so.1.3":
/usr/local/lib/libgeos-3.0.0rc4.so: undefined symbol: _ZSt4cerr

============

My /etc/ld.so.conf file looks like this:

/usr/lib/postgresql/8.1/lib
/usr/local/lib


I have run /sbin/ldconfig and it fixed some problems I was having
earlier with not being able to load some of the shared object files
(libgeos_c.so), but I am still getting this undefined symbol error.  Any
ideas?

Here are the results of postgis-1.3.1 ./configure (without any flags). 
 
SUMMARY
----------------------------------------------------------
 
HOST_OS: linux-gnu
 
PGSQL:  /usr/bin/pg_config
GEOS:  /usr/local/bin/geos-config (with C-API)
  (ldflags: -L/usr/local/lib)
PROJ:  prefix=/usr libdir=/usr/lib
ICONV:  1
 
PORTNAME: linux
PREFIX:  /usr
EPREFIX: ${prefix}
DOC:  /usr/share/doc/postgresql-doc-8.1/contrib
DATA:  ${datarootdir}
MAN:  ${datarootdir}/man
BIN:  /usr/lib/postgresql/8.1/bin
EXT:  /usr/lib/postgresql/8.1/lib (\$$libdir)
 
----------------------------------------------------------

Many, many thanks,

Matthew



More information about the postgis-users mailing list