Wrong SFCGAL version used for compiling PostGIS 3.6.0 on Ubuntu?

Scott public at postholer.com
Wed Sep 3 13:50:43 PDT 2025


On debian 12, PG 15, gdal 3.6.2 is the latest system pkg.

However, I've built PostGIS 3.5.3 with non-system pkg GDAL 3.11.3. That 
GDAL version is built with the latest non-system pkg geos 3.14 and 
sfcgal 2.3.0.

I can build PostGIS with the latest non-system pkg GDAL, but not the 
latest non-system pkg geos/sfcgal. Kinda weird.

SELECT postgis_full_version();

POSTGIS="3.5.3 aab5f55" [EXTENSION]
PGSQL="150"
GEOS="3.11.1-CAPI-1.17.1"
SFCGAL="SFCGAL 1.4.1,
CGAL 5.5.1,
BOOST 1.74.0"
PROJ="9.1.1
    NETWORK_ENABLED=OFF
    URL_ENDPOINT=https://cdn.proj.org
    USER_WRITABLE_DIRECTORY=/tmp/proj
    DATABASE_PATH=/usr/share/proj/proj.db" (compiled against PROJ 9.1.1) 
GDAL="GDAL 3.11.3 "Eganville", released 2025/07/12"
LIBXML="2.9.14"
LIBJSON="0.16"
LIBPROTOBUF="1.4.1"
WAGYU="0.5.0 (Internal)" TOPOLOGY RASTER


On 9/3/25 12:58, Regina Obe wrote:
> I don't think so. Both GEOS and SFCGAL are considered system libraries by Ubuntu/Debian. So is GDAL.
> As such they are usually at the version shipped with your OS.



More information about the postgis-users mailing list