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

Re: lintian and binary plugins



David Benson <daveb@idealab.com> 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
> aser.so.0
>
I think that means that symlinks hould always go last in debian
packages. How do you build yur package? debhelper should do this
automatically.

> 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
time.


> Does anyone know of a good package that
> uses plugins I can inspect?
>

GQL: http://GQL.sourceforge.net/download.html 

HTH, Andy
-- 
Andreas Rottmann   | Dru@ICQ     | 54523380@ICQ | a.rottmann@gmx.at
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!]



Reply to: