_______________________________________________
postgis-users mailing list
postgi...@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
Hi Calum,
It sounds as if you have 2 PostgreSQL installations on your machine -
perhaps one installed as packages, and one compiled by hand. And it
seems the ./configure picked up the source headers for the wrong version...
ATB,
Mark.
--
Mark Cave-Ayland
Sirius Corporation - The Open Source Experts
http://www.siriusit.co.uk
T: +44 870 608 0063
Hi Calum,
Okay, looks like something is not quite right in your installation. For
example, above it seems like liblwgeom.so has been installed under
/usr/lib which is wrong - it should be installed in the postgresql lib
directory which is typically under /usr/lib/pgsql/lib or
/usr/lib/postgresql/lib. Did you pass in any non-standard parameters to
configure?
As a first course of action, I would try removing all liblwgeom files
from /usr/lib64 and trying to run lwpostgis.sql again.
Hi Calum,
What does the output of "pg_config" show? You should run this as the
same user you ran configure. You may also try "which pg_config" to see
from where configure is finding your PostgreSQL configuration information.
Hi Calum,
Apart from the strange libdir, everything looks good. The only other
thing I can think of is a mismatch between the server version and the
server headers (i.e. the postgresql-devel RPM still belongs to an older
PostgreSQL version).
What does "cat /usr/include/pgsql/pg_config.h | grep PG_VERSION" show?
Okay. In that case all should be fine... *scratches head*... I would
advise renaming your existing your PostGIS build source directory,
re-extracting from the source tarball and then re-running configure/make
install to make sure that you have a completely vanilla build. You
should also make sure that any PostGIS RPMs have been completely
uninstalled before you do this.