[postgis-users] FW: postgis.sql

Darren Houston darren.houston at edu.sait.ca
Wed Oct 15 12:34:45 PDT 2003


Hello all.

I am using PostgreSQL 7.3.4 and PostGIS 0.7.5 without problems. I'm not sure
about 0.7.3.

Anthony, you said you configured PostgreSQL to install to /usr. This means
your PostGIS library is probably located at /usr/lib/pgsql/libpostgis.so.0.7

<:218 ERROR stat failed on file '/usr/lib/contrib/libostgis.so.0.7' : No
such file or directory

Your error message says differently, plus libpostgis is spelled wrong. Did
you modify the postgis.sql file manually to point to your libpostgis? If you
did, double check that libpostgis is pointing to the right directory and is
spelled correctly. Otherwise, run ldconfig and then updatedb (to add newly
installed file paths to file database) and run locate libpostgis.so.0.7 or
search for files from the Red Hat menu. Also, you could search for pgsql and
postgres to get an idea of where PostgreSQL is residing.

Also, a side note. I have found that if you have PostgreSQL installed at say
/usr/local/pgsql and you re-configure PostgreSQL to install at
/usr/local/pgsql that PostgreSQL has intelligence and will actually
configure and install to /usr/local/postgres to avoid writing over the old
PostgreSQL. Hence, PostGIS will install there also.

Hope this helps,

Darren H.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20031015/14a6ad69/attachment.html>


More information about the postgis-users mailing list