[postgis-users] Undefined symbol "list_length" ? postgis 1.5.3 from FreeBSD ports

Sandro Santilli strk at keybit.net
Fri Nov 25 01:34:12 PST 2011


On Fri, Nov 25, 2011 at 04:15:18PM +0800, Ben Madin wrote:
> G'day all,
> 
> trying to install (reinstall) postgis 1.5.3 into postgresql 9.0.4 on FreeBSD7, I am receiving this message :
> 
> # \i /usr/local/share/postgis/contrib/postgis-1.5/postgis.sql 
> SET
> BEGIN
> psql:/usr/local/share/postgis/contrib/postgis-1.5/postgis.sql:59: ERROR:  could not load library "/usr/local/lib/postgresql/postgis.so": dlopen (/usr/local/lib/postgresql/postgis.so) failed: /usr/local/lib/postgresql/postgis.so: Undefined symbol "list_length"

Sounds like a mismatch between PostgreSQL headers and PostgreSQL library.
Do you have two versions of PostgreSQL ?
Did you reconfigure postgis source code after upgrading postgresql ?

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-users mailing list