Re: Bug#80560: -l<directory> option to dh_shlibdeps still needed
On Tue, 26 Dec 2000, Joey Hess wrote:
> Steve Langasek wrote:
> > Since 2.1.21, dh_shlibdeps has silently ignored the -l option, with the
> > explanation in the changelog that 'dpkg-shlibdeps has its own much more brutal
> > hack to make this work.' With dpkg-dev 1.7.2 (current unstable), I'm told
> > that the correct way to detect shlib dependencies in a multi-binary package is
> > still to set LD_LIBRARY_PATH, and that the debian/shlibs.local file (the 'much
> > more brutal hack'?)
> The much more brutal hack is the objdump + ldconfig + autoscanning
> shlibs files in DEBIAN directories stuff.
> I saw the thread. I got the impression that setting LD_LIBRARY_PATH only
> stopped a warning message. Is that not correct?
It uses objdump to find only the immediate dependencies on the target object.
It uses ldd to then map those dependencies to files.
Then, on found files, it searches all .shlibs files to see if they are
provided by any packages.
So, if there is no LD_LIBRARY_PATH, ldd will not be able to map a dependency
to a file, so yes, it is still needed.
----BEGIN GEEK CODE BLOCK----
GCS d- s: a-- c+++ UL++++ P+ L++++ !E W+ M o+ K- W--- !O M- !V PS--
PE++ Y+ PGP++ t* 5++ X+ tv b+ D++ G e h*! !r z?
-----END GEEK CODE BLOCK-----
----BEGIN PGP INFO----
Adam Heath <firstname.lastname@example.org> Finger Print | KeyID
67 01 42 93 CA 37 FB 1E 63 C9 80 1D 08 CF 84 0A | DE656B05 PGP
AD46 C888 F587 F8A3 A6DA 3261 8A2C 7DC2 8BD4 A489 | 8BD4A489 GPG
-----END PGP INFO-----