[buildroot] $(STRIP) --strip-unneeded on a SHARED library...WHY?

Mike Frysinger vapier at gentoo.org
Tue Dec 6 16:19:31 UTC 2005


On Tue, Dec 06, 2005 at 07:51:46AM -0800, John Z. Bohach wrote:
> On Tuesday 06 December 2005 01:25, Peter S. Mazinger wrote:
> > are you sure you used the correct strip (it is that you render your libs
> > useless, if you use the host strip against the cross-compiled libs)
> 
> -$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libdb*so*
> 
> which is not fine, because all symbol information from the libraries is now 
> removed, and whenever a linker tries linking against thusly stripped 
> libraries, you get "undefined symbol..." errors.

cant say ive had this issue before and as solar pointed out, we've been
using --strip-unneeded on *all* shared libraries for quite a long time
now without any linking issues
-mike



More information about the busybox mailing list