I'm new to building postgresql and postgis, and have run into a problem that, from googles on the subject, may be the same or similar to what other people have run into when installing lwpostgis.sql:
================================== psql:/usr/local/pgsql/share/lwpostgis2.sql:44: NOTICE: type "histogram2d" is not yet defined DETAIL: Creating a shell type definition. psql:/usr/local/pgsql/share/lwpostgis2.sql:44: ERROR: could not load library "/usr/local/pgsql/lib/liblwgeom.so" : /usr/local/pgsql/lib/liblwgeom.so: undefined symbol: GEOSTopologyPreserveSimplify psql:/usr/local/pgsql/share/lwpostgis2.sql:50: ERROR: current transaction is ab orted, commands ignored until end of transaction block ... ================================== this is being done on a fedora system, I built postgresql and proj and geos and postgis from source. and ran the createlang plpgsql successfully the other references to this problem suggest running ldconfig to repair the problem. I added /usr/local/pgsql/lib to the /etc/ld.so.conf and ran ldconfig; it's output shows liblwgeom.so.1 -> liblwgeom.so.1.3 (while my error from lwpostgis.sql complains can't open liblwgeom.so. liblwgeom.so is also a symbolic link to the .1.3) Is this really a problem linking with geos? ran ldd on liblwgeom.so: ================================= ldconfig -v | grep geos libgeos_c.so.1 -> libgeos_c.so.1.1.1 libgeos.so.2 -> libgeos.so.2.2.3 ldd /usr/local/pgsql/lib/liblwgeom.so libgeos_c.so.1 => /usr/lib/libgeos_c.so.1 (0x00172000) libproj.so.0 => /usr/lib/libproj.so.0 (0x0017f000) libgeos.so.2 => /usr/lib/libgeos.so.2 (0x0030f000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00414000) ================================= anyway, I'm at a loss and any help would be appreciated. thanks, Robert H.
_______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
