Re: debian/rules and wrong run-time library
On Fri, May 16, 2003 at 03:15:27PM -0700, Bill Moseley wrote:
> On Fri, May 16, 2003 at 09:25:45PM +0200, Andreas Metzler wrote:
[...]
>>> dpkg-shlibdeps: warning: could not find any packages for
>>> /usr/local/lib/libswish-e.so.2 (libswish-e.so.2)
>>>
>>> dpkg-shlibdeps: warning: unable to find dependency information for shared
>>> library libswish-e (soname 2, path /usr/local/lib/libswish-e.so.2,
>>> dependency field Depends)
>> [...]
>> You are probably looking for something like
>> dh_shlibdeps -ldebian/libswish-e/usr/lib
> I guess I don't understand what those messages are referring to.
> Dependencies as in Debian packages (e.g. package swish-e depends on
> package libswish-e)?
Yes.
> My guess is dpkg-shlibdeps is just looking at the ldd output and
> then making sure those libs are listed as depends.
Almost, it uses objdump, to only find _direct_ dependencies.
> If that's the case then I would need to say that libswish-e is not a
> dependency, or a dependency that is me by the swish-e package
> itself. Is that possible?
Yes. dh_shlibdeps is smart enough to recognize this, but you have to
use the correct -l option.
cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"
Reply to: