Chris mollis wrote:
Hi Mark-
Thanks for responding to this issue. I was able to get around this
issue by modifying the lwpostgis.sql file and replacing the $libdir var
with the fully qualified path name to the shared object. I ran all of
the tests successfully. I guess this proves that the $libdir variable
isn't being set correctly with postgresql, even though PG_CONFIG reports
it to be set (note I stopped and restart the server a few times during
this process). I believe there is a function exported by postgresql db
that allows me to set this variable, but I haven't tried it. Anyway,
seems to be working now..
thanks
Chris
No problem. The only other time I've seen this is if you accidentally
have multiple versions of PostgreSQL installed on a server (one from
packages and one compiled by hand), and PostGIS has been configured
using --with-pgsql to point to the wrong one (and hence the library is
installed into the wrong $libdir).
Of course, all of this also assumes that SELinux has been disabled too ;)
ATB,
Mark.
--
Mark Cave-Ayland
Sirius Corporation - The Open Source Experts
http://www.siriusit.co.uk
T: +44 870 608 0063
_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users