[postgis-devel] psql:lwpostgis.sql:48: ERROR: could not load library "/usr/local/pgsql/lib/liblwgeom.so.1.1": /usr/local/pgsql/lib/liblwgeom.so.1.1: undefined symbol: pj_transform

Stefan Hahmann s.hahmann at mapchart.com
Mon Apr 16 02:59:14 PDT 2007


Hi all,

The following problems occurs when i want to execute: psql -d mydatabase -f lwpostgis.sql

I have already installed postgresql, postgis, proj.4, geos.
To me that seems to be a problem with the proj.4 support.

If that helps: ldd /usr/local/pgsql/lib/liblwgeom.so.1.1 /usr/local/lib/libgeos_c.so.1

has the following result:

/usr/local/pgsql/lib/liblwgeom.so.1.1:
                libgeos_c.so.1 => /usr/local/lib/libgeos_c.so.1 (0x4007f000)
        libc.so.6 => /lib/tls/libc.so.6 (0x4008f000)
        libgeos.so.2 => /usr/local/lib/libgeos.so.2 (0x401c4000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x402c2000)
        libm.so.6 => /lib/tls/libm.so.6 (0x4037c000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4039e000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
/usr/local/lib/libgeos_c.so.1:
                libgeos.so.2 => /usr/local/lib/libgeos.so.2 (0x40010000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x4010f000)
        libm.so.6 => /lib/tls/libm.so.6 (0x401cf000)
        libc.so.6 => /lib/tls/libc.so.6 (0x401f1000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40326000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)


Thanks in advance.

-------------------------------------------------------------
STEFAN HAHMANN .:. Software Developer

Phone +49 (0) 3 51 / 4 75 52-30
email s.hahmann at mapchart.com
-------------------------------------------------------------
MAPCHART.COM .:. Business Mapping On Demand

MapChart GmbH
Werdauer Straße 1-3
01069 Dresden
Germany

Phone +49 (0) 1 80 / 5 00 95 50
Fax +49 (0) 1 80 / 5 00 96 60
Internet http://www.mapchart.com
e-mail info at mapchart.com

Geschäftsführer: Henrik Liebscher
HR 23703, Amtsgericht Dresden
Sitz der Gesellschaft ist Dresden
-------------------------------------------------------------
*** JETZT ONLINE: Marktdaten on Demand im MapChart Store ***
http://store.mapchart.com
-------------------------------------------------------------
*** Visit our MapChart Atlas! ***
http://atlas.mapchart.com
-------------------------------------------------------------




More information about the postgis-devel mailing list