[lsb-discuss] LSB Build Environment and DT_NEEDED entries resulting from pkg-config
Wichmann, Mats D
mats.d.wichmann at intel.com
Sat Jan 6 13:59:20 PST 2007
>>Is there a best practise in removing the DT_NEEDED entries
>resulting from
>>the extra linker flags produced by pkg-config (while still using
>>pkg-config)? I found "--as-needed" inconsistent in its
>>effectiveness and I still haven't found out why.
I don't know the BE that well.
What we do with the lsb-build-* packages (in other words, lsbcc)
is provide some custom pkg-config stubs, so that this
incantation:
PKG_CONFIG_PATH=/opt/lsb/lib/pkgconfig
really helps with the problems of pkgconfig pulling in extra
unneeded libs.
>>Apparently, LSB BE doesn't automatically take care of the program
>>interpreter. Do I have to configure my build process to use
>>the following linker switch while building inside LSB BE?
>>-Wl,--dynamic-linker,/lib/ld-lsb.so.3
That is odd, it should be configured to take care of this.
I'll respond more on the others (if someone doesn't beat me
to it - hint, hint) next week.
More information about the lsb-discuss
mailing list