[postgis-devel] psql -d test -f lwpostgis.sql fails with undefined symbol error

strk at refractions.net strk at refractions.net
Wed Jan 18 12:34:07 PST 2006


Check which geos library is being used by libgeos_c.so.1:
ldd /usr/local/lib/libgeos_c.so.1
Do you have multiple geos version installed ?

--strk;

On Wed, Jan 18, 2006 at 02:27:15PM -0500, Adam Walker wrote:
> Hello
> I can not seem to get the spacial types sql file to load properly, postgresql, geos, proj and postgis are all current versions, compiled from source and installed without any obvious problems. I thought I had been careful to follow all build instructions, but somehow perhaps I missed something? I am not finding anything useful in the documentation, and google can tell me nothing.
> This is what I am getting, way over my head:
> 
> postgres at bill:~$ psql -d test -f lwpostgis.sql
> BEGIN
> psql:lwpostgis.sql:39: NOTICE: type "histogram2d" is not yet defined
> DETAIL: Creating a shell type definition.
> psql:lwpostgis.sql:39: ERROR: could not load library "/usr/local/pgsql/lib/liblwgeom.so.1.1": /usr/local/lib/libgeos_c.so.1: undefined symbol: _ZN4geos9WKBReader4readERSi
> psql:lwpostgis.sql:44: ERROR: current transaction is aborted, commands ignored until end of transaction block
> psql:lwpostgis.sql:52: ERROR: current transaction is aborted, commands ignored until end of transaction block
> 
> any help or direction would be appreciated, thanks!
> Adam Walker
> GNU Technologies 
> 
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel

-- 

 /"\    ASCII Ribbon Campaign
 \ /    Respect for low technology.
  X     Keep e-mail messages readable by any computer system.
 / \    Keep it ASCII. 




More information about the postgis-devel mailing list