<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">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:<br><br>==================================<br>psql:/usr/local/pgsql/share/lwpostgis2.sql:44: NOTICE: type "histogram2d" is not yet defined<br>DETAIL: Creating a shell type definition.<br>psql:/usr/local/pgsql/share/lwpostgis2.sql:44: <br><br><span style="color: rgb(255, 0, 0);">ERROR: could not load library<br> "/</span><span style="color: rgb(255, 0, 0);">usr/local/pgsql/lib/liblwgeom.so"<br></span><br><span style="color: rgb(255, 0, 0);">: /usr/local/pgsql/lib/liblwgeom.so: undefined</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">symbol:
GEOSTopologyPreserveSimplify</span><br><br>psql:/usr/local/pgsql/share/lwpostgis2.sql:50: ERROR: current transaction is ab<br>orted, commands ignored until end of transaction block <br>...<br>==================================<br>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<br><br>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 <br>liblwgeom.so.1 -> liblwgeom.so.1.3<br>(while my error from lwpostgis.sql complains can't open liblwgeom.so. liblwgeom.so is also a symbolic link to the .1.3)<br><br>Is this really a problem linking with geos? ran ldd on liblwgeom.so:<br>=================================<br><br> ldconfig -v | grep geos<br> libgeos_c.so.1 ->
libgeos_c.so.1.1.1<br> libgeos.so.2 -> libgeos.so.2.2.3<br><br> ldd /usr/local/pgsql/lib/liblwgeom.so<br> libgeos_c.so.1 => /usr/lib/libgeos_c.so.1 (0x00172000)<br> libproj.so.0 => /usr/lib/libproj.so.0 (0x0017f000)<br> libgeos.so.2 => /usr/lib/libgeos.so.2 (0x0030f000)<br> libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00414000)<br> <br>=================================<br>anyway, I'm at a loss and any help would be appreciated.<br><br>thanks,<br>Robert H.<br></td></tr></table>