[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dev-pkg-without-shlib-symlink lintian warning for libtool library using -release & -version-info



* Sebastiaan Couwenberg <sebastic@xs4all.nl>, 2015-10-08, 21:01:
To deal with the external usage of liblwgeom built from the postgis sources, the upstream developers now use the -release libtool option along with -version-info to better support installation of multiple postgis versions.

The -release option was added to support the multiple version use case on Windows, for the Debian package the shared library approach with -version-info is sufficient.

https://autotools.io/libtool/version.html suggests that instead of combining -release and -version-info, one should encode the version in the library's name.

Lintian currently warns about the missing symlinks from liblwgeom-2.2.so to liblwgeom-2.2.so.2.2.0, because libtool only creates the liblwgeom.so (and liblwgeom-2.2.so.2) symlink.

The code to determine name of the dev symlink name looks like this:

$link_file =~ s/-[\d\.]+\.so$/.so/o;
$link_file =~ s/\.so.+$/.so/o;

So it doesn't seem to support the combination of -release and -version-info.

Am I correct in my assumption that this is a false positive?

Probably (sort of) yes...

--
Jakub Wilk


Reply to: