Opened 2 years ago

Closed 23 months ago

#5307 closed defect (invalid)

libgdal detection fails in Debian GNU/Linux 11 (bullseye)

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS GDAL
Component: build Version: 3.3.x
Keywords: Cc: dustymugs

Description

The configure test for GDALAllRegister symbol presence in libgdal fails on Debian GNU/Linux 11. This is because -lrttopo switch is not added to the GCC run testing libgdal, while being required.

I'm not sure this is a PostGIS rather than a packaging bug, as gdal-config --libs also does not say anything about the required -lrttopo (which is required to resolve symbols used by libspatialite7, btw).

Change History (5)

comment:1 by robe, 2 years ago

Sounds like a packaging bug to me.

Curious what version of GDAL is this? Maybe only specific to one version.

comment:2 by robe, 2 years ago

Milestone: PostGIS 3.3.3PostGIS GDAL

comment:3 by strk, 2 years ago

Package version is 3.2.2+dfsg-2+deb11u2

comment:4 by strk, 23 months ago

Cc: dustymugs added

Bborie why did you remove the use of gdal-config --dep-libs from configure.ac in [b8d75d313f3010bb607ae28a7dbc0d2c9ee7ada0/git] ? Commit log doesn't say

comment:5 by strk, 23 months ago

Resolution: invalid
Status: newclosed

This was a problematic system. The issue was fixed by me removing a librttopo.la file I had in /usr/local/lib

Note: See TracTickets for help on using tickets.