Red Hat Bugzilla – Bug 123337
_dl_load_lock symbol not defined in static version of libc
Last modified: 2007-11-30 17:07:01 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1)
Description of problem:
For my application, I need to link libdl.a, which contains a symbol
(_dl_load_lock) that is only in the static versions of libc (libc.a,
libc_p.a) and is not in libc.so.
Why is this so?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
used nm to verify this.
Is it statically linked program or dynamically linked?
In any case, _dl_load_lock is/used to be a glibc private symbol and no application
nor third party library should ever use it.
See dl_iterate_phdr API for querying loaded libraries in a program.
If your application uses it, it should be fixed, if some third party
library uses this, you should file a bugreport with the third party