Bug#167604: debian-policy: provides the exception of static libraries.
>>>>> On Tue, 19 Nov 2002 16:55:54 +0100,
>>>>> "BA" == Bill Allombert <allomber@math.u-bordeaux.fr> wrote:
BA> Anyway, if it is a bug in dlopen() or in some Makefile, then it is not a bug
BA> in policy.
it seems that it's ELF spec by rights. basically
dynamic-linked programs/libraries has Procedure Linkage
Table, and the undefined symbols are resolved with it by
dynamic linker. however -static'ed programs has no PLT. so
dynamic linker has no way to know whether -static'ed
programs has the symbols or not. thus, in this case, when
dynamic linker is trying to resolve libfoo.so's symbols
which is needed by loaded modules.so, it's not referred from
-static'ed programs, and dynamic linker has loaded
libfoo.so.
--
Akira TAGOH : tagoh@gnome.gr.jp / Japan GNOME Users Group
at@gclab.org : tagoh@gnome-db.org / GNOME-DB Project
: tagoh@redhat.com / Red Hat, Inc.
: tagoh@debian.org / Debian Project
Reply to: