On Sunday 08 of July 2007, Jeff Johnson wrote:
> On Jul 8, 2007, at 3:03 PM, Jeff Johnson wrote:
> > With libfoo.a, sure. Consider libfoo.so.
>
> I did not really do justice libfoo.so, particularly
> "... there is explicitly _NO_ direct/implicit ELF dependency ..."
>
> Dropping DT_NEEDED from libraries forces same
> into application executables with -lrpmmisc, an incompatible
> and explicit change to application linking.
Exactly.
> Sure
> the symbols are found, how thw symbols are found is
> important too.
That's true only in default scenario. It breaks if you use -Wl,--as-needed
linker option (which is default in ldflags here in PLD).
Things need to be correctly linked. librpmio needs neon? So it should be
linked with neon and bin/xyz which links to librpio shouldn't be linked with
neon directly (I consider such linking a bug).
These libs (like neon) shouldn't be even visible in pkgconfig --libs etc
(unless --static used).
> 73 de Jeff
--
Arkadiusz Mi¶kiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
Received on Mon Jul 9 08:21:20 2007