Bug#429528: shlib-with-non-pic-code mess with the soname
package: lintian
severity: normal
Hi!
I'm packaging nepenthes (http://packages.debian.org/nepenthes) I have this
issue with lintian:
E: nepenthes: shlib-with-non-pic-code usr/lib/nepenthes/x4.so
N:
N: The listed shared libraries contain object code that was compiled
N: without -fPIC. All object code in shared libraries should be
N: recompiled separately from the static libraries with the -fPIC option.
N:
N: Another common mistake that causes this problem is linking with gcc
N: -Wl,-shared instead of gcc -shared.
N:
N: In some cases, exceptions to this rule are warranted. If this is such
N: a case, follow the procedure outlined in Policy and then please
N: document the exception by adding a lintian override to this package.
N:
N: Refer to Policy Manual, section 10.2 for details.
N:
Looking into the code, it looks as if is bug in lintian. The code tries to
check whether the object has a soname version which tends to confuse to
lintian if this is a plugin that dosen't have a soname version.
I study the problem with wouter@debian.org and file this bug.
thanks, luciano
Reply to: