[postgis-users] postgis.sql error: initGEOS

Matthew Perry mtperry78 at sbcglobal.net
Sat May 8 11:37:41 PDT 2004


Hello, 
    When running postgis.sql, I got the following
error =>

ERROR:  could not load library
"/usr/local/pgsql/lib/libpostgis.so.0.8": ld.so.1:
/usr/local/pgsql/bin/postmaster: fatal: relocation
error: file /usr/local/pgsql/lib/libpostgis.so.0.8:
symbol initGEOS: referenced symbol not found


I did some checking on this and my best guess is that
we have to configure postgres with the 
  LDFLAGS=-lstdc++ 
option... the configure script currently has this line
but there is a line break between it and the
"./configure" line. Would this make any difference or
could there be another reason?

Matthew Perry
Advanced Spatial Analysis Facility
Humboldt State University






More information about the postgis-users mailing list