Opened 16 years ago
Closed 15 years ago
#165 closed enhancement (wontfix)
GDAL apps over-linking issue
Reported by: | frankie | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Build/Install | Version: | |
Severity: | Annoyance | Keywords: | |
Cc: |
Description
Recent dpkg-shlibs in Debian sid is able to auto-detect linking against unused libraries. See for instance:
http://buildd.debian.org/fetch.cgi?pkg=gdal;ver=1.4.4-1;arch=amd64;stamp=1196773651
and looks for "shouldn't be linked with" warnings. That primary results in having programs over-depending on other packages in order to have ld happy at loading time. The practice of linking against all Gdal dependency libraries should be discouraged iff the specific platform does not require so. Libtool supports subdependencies as stated in
http://www.gnu.org/software/libtool/manual.html#Inter_002dlibrary-dependencies
but the gdal build system relink against all other inter-dep libs again and again for all binaries or so.
GDAL bug? This is GEOS.