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

Re: Help with shared libs and .la and cryptic lintian messages



On 2011-07-11, Norbert Preining <preining@logic.at> wrote:
> can please someone help me with packaging gwaei, I get some
> warnings/errors from lintian I don't udnerstand. The layout as installed
> by libtool/configure/make/make install is
> In /usr/lib:
> libwaei.a
> libwaei.la
> libwaei.so -> libwaei.so.1.0.0
> libwaei.so.1 -> libwaei.so.1.0.0
> libwaei.so.1.0.0
>
> Running lintian I get:
> W: gwaei: package-name-doesnt-match-sonames libwaei1
> E: gwaei: non-empty-dependency_libs-in-la-file usr/lib/libwaei.la
> W: gwaei: non-dev-pkg-with-shlib-symlink usr/lib/libwaei.so.1.0.0 usr/lib/libwaei.so
>
> Ok, the first one is like that, I don't want to package this lib
> independently, as it is only used by gwaei itself by now.

Make sure that you don't ship
 - the .so symlink
 - the .a file
 - nothing in /usr/lib

if you don't want to package the library independantly, to make sure
that nothing  can actually use the library that isn't in the same source
package.

/Sune


Reply to: