PostGIS in non-standard path
Scott
public at postholer.com
Tue Sep 2 22:01:40 PDT 2025
Debian 12, PostGIS 3.6.0
I've built postgis from source with all the latest libs, CGAL, SFCGAL,
GDAL. My --prefix path is a non-standard location. Everything built and
installed just fine.
In pgsql, PostGIS is finding GEOS 3.11 in /usr, not the GEOS 3.14 in
--prefix path, which gives me the error:
/usr/lib/postgresql/15/lib/postgis-3.so: undefined symbol:
GEOSCoverageIsValid
My LD_LIBRARY_PATH is set, as is the postgres user and pgserver config
dynamic_library_path. Is there some env variable I can use to set a lib
path or other magic you can suggest on how I can fix this without
removing GEOS 3.11? I know this is kinda wonky, but I thought I'd ask.
Thanks!
Scott
More information about the postgis-users
mailing list