This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Inconsistency detected by ld.so


Hi All ,

We build the test.so shared lib with "-z nodelete" and test.so was
dynamic linked to other process and process try to open the lib as
required , the ld.so pops up with the issue like

open("/pkg/lib64/test.so", O_RDONLY) = -1 ENOENT (No such file or directory)

stat("/pkg/lib64", 0x7ffff6a1aad0) = -1 ENOENT (No such file or directory)

writev(2, [{"I
:"..., 33}, {"dl-open.c", 9}, {": ", 2}, {"583", 3}, {": ", 2},
{"_dl_open", 8}, {": ", 2}, {"Assertion `", 11},
{"_dl_debug_initialize (0, args.ns"..., 61}, {"' failed!\n", 10}], 10)
= 141

if we remove  "-z nodelete" option in the building the lib(test.so)
,ld.so able to load the lib for the process.


Any suggestions here ,why ld.so failed to load the lib with "-z nodelete" ?

Thank you
~Umeh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]