[postgis-users] when setting up postgis libs, "could not find function "topologypreservesimplify"" in "...liblwgeom.so"

Paul Ramsey pramsey at opengeo.org
Thu Mar 19 12:47:27 PDT 2009

Did you remember to 'make install'? The SQL file is referencing a C
function that doesn't exist in your postgis .so file. So somewhere you
have a mis-match between versions. Ensuring that all old things are
*removed* and all new things *installed* might do the trick.


On Thu, Mar 19, 2009 at 11:49 AM, Michael Billmire <mgbillmi at mtu.edu> wrote:
> Hi all,
> I'm currently slogging my way through installation/set-up of PostGIS 1.3.5 (w/ postgresql 8.3). I finally got it installed, but when I set up a test db and tried to import postgis libs with this command:
> sudo -u postgres psql -d postgis-template -f /usr/share/postgresql/8.3/lwpostgis.sql
> , things went smoothly until this happened:
> psql:/usr/share/postgresql/8.3/lwpostgis.sql:3867: ERROR:  could not find function "topologypreservesimplify" in file "/usr/local/postgis/1.3.5/lib/liblwgeom.so"
> I also have GEOS 3.0.3 and proj 4.6.1 installed.
> Any ideas why this function seems to be missing/what to do about it?
> Thanks,
> Mike
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users

More information about the postgis-users mailing list