Hi, I´ve sent this to the Postgis bug list before, but I was told that this is probably a PostgreSQL problem.
I have an OpenBSD 5.3 server, with PostgreSQL 9.3.0, which seems to work fine. I´m trying to install on it, which always worked fine. When I try to install the extension for Postgis 2.1.0, I get this error on psql: *postgres=# CREATE EXTENSION postgis;* * ERROR: could not load library "/usr/local/pgsql/lib/rtpostgis-2.2.so": dlopen (/usr/local/pgsql/lib/rtpostgis-2.2.so) failed: Cannot load specified object* The paths seems all to be OK: *# ls -l /usr/local/pgsql/lib/*post** * -rwxr-xr-x 1 root wheel 1276039 Jul 1 16:50 /usr/local/pgsql/lib/ postgis-2.2.so* * -rwxr-xr-x 1 root wheel 1208861 Jul 1 16:50 /usr/local/pgsql/lib/ rtpostgis-2.2.so* When I try to preload the rtpostgis shared object setting the LD_PRELOAD environment variable, I get this info on psql: * $ psql * *(...)* * psql:/usr/local/pgsql/lib/rtpostgis-2.2.so: undefined symbol 'CurrentMemoryContext'* * psql:/usr/local/pgsql/lib/rtpostgis-2.2.so: undefined symbol 'SPI_tuptable'* * psql:/usr/local/pgsql/lib/rtpostgis-2.2.so: undefined symbol 'SPI_result' * * psql:/usr/local/pgsql/lib/rtpostgis-2.2.so: undefined symbol 'InterruptPending'* * psql:/usr/local/pgsql/lib/rtpostgis-2.2.so: undefined symbol 'SPI_processed'* * psql (9.2.4)* *(...)* In fact, I´ve been trying to solve this since a long time ago, and with many previous versions of both Postgresql and Postgis, but I´m really stuck Thanks in advance, Marcelo -- Editio Princeps http://www.editioprinceps.com