Re: lintian and binary plugins
David Benson <firstname.lastname@example.org> writes:
[dynamically loading .so's]
> Lintian gives warnings:
> W: gdam: non-dev-pkg-with-shlib-symlink usr/lib/gdam/plugins/model/gdamgong.so.0
> .0.0 usr/lib/gdam/plugins/model/gdamgong.so
I got that with my GQL package, which should be on the way to incoming, too.
> And errors:
> E: gdam: ldconfig-symlink-before-shlib-in-deb usr/lib/gdam/plugins/server/gdasph
I think that means that symlinks hould always go last in debian
packages. How do you build yur package? debhelper should do this
> What should I do?
> - ignore the warnings?
> - move the .so files [or rename them] so
> that lintian doesn't see them?
My solution was to step over to libltdl-dev (libtool-related) instead
of glibs' gmodule, which I used before. Then you can install and open
the .la files and are able to remove the offending symlink.
My point not for simply removing the '.so' link and opening
'.so.<VERSION>' one was that this is not quite portable (not all
systems number/name their libs like this). To include version info,
though, I used names like libfoo<VERSION>-plugin.la. This allows
having different executable/plugin versions installed at the same
> Does anyone know of a good package that
> uses plugins I can inspect?
Andreas Rottmann | Dru@ICQ | 54523380@ICQ | email@example.com
Pfeilgasse 4-6/725 | A-1080 Wien | Austria | Europe
http://www.8ung.at/rotty | Key is there | gpg (GnuPG) 1.0.1
Fingerprint | 3E9A C485 49A4 1D17 2EA7 2BA7 22AE C9BF 8173 6279
[one of 78,35% Austrians who didn´t vote for Haider!]