Problems installing postgis.

Associate
Joined
10 Nov 2004
Posts
2,237
Location
Expat in Singapore
Hi,

I have got a minimal CentOS install with all the bits installed to build geos, proj-4 and postgis.

I have installed Postgresql 9.1, built & installed proj-4, built & installed geos, built and installed postgis but when I come to run the postgis.sql ig get the following error;

-bash-4.1$ psql -d gisgraphy -f /usr/pgsql-9.1/share/contrib/postgis-1.5/postgis.sql
SET
BEGIN
psql:/usr/pgsql-9.1/share/contrib/postgis-1.5/postgis.sql:59: ERROR: could not load library "/usr/pgsql-9.1/lib/postgis-1.5.so": /usr/pgsql-9.1/lib/postgis-1.5.so: undefined symbol: DirectFunctionCall4
psql:/usr/pgsql-9.1/share/contrib/postgis-1.5/postgis.sql:65: ERROR: current transaction is aborted, commands ignored until end of transaction block

I have added the path in to the /etc/ld.so.conf file

-bash-4.1$ more /etc/ld.so.conf
include ld.so.conf.d/*.conf
/usr/local/lib
/usr/pgsql-9.1/lib
/var/lib/pgsql/postgis-1.5.3/postgis

And then run ldconfig.

what am I missing ?

Thanks
RB
 
Back
Top Bottom