GNU/Linux vs. libtool --no-undefined

Mark Mitchell mark@codesourcery.com
Mon Feb 5 21:11:00 GMT 2001


First, libtool didn't actually do anything with --no-undefined on
GNU/Linux.  It took a while to figure that out.

Second, I get:

/lib/libc.so.6: undefined reference to `_dl_init_next@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_lazy@GLIBC_2.1.1'

These symbols are defined in ld-linux.so.  Is it reasonable to link
against that library, or is that harmful?  I know it isn't necessary,
but does it hurt?

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


More information about the Gcc mailing list