From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <99399b3dd7332b81e5acc49e33e5f33e.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199705122207.IAA21555@sleeper.apana.org.au> Date: Mon, 12 May 1997 22:06:55 -0400 From: Uncle George Subject: libdl/RTLD_NEXT Content-Transfer-Encoding: 7bit > > Richard Henderson wrote: > > > > > Anyway, when RTLD_NEXT is defined, both places where the libdl functions > > > are used failed - segfaulted. I reverted back to the NON RTLD_NEXT > > > version, and everything seems to be happy. > > > > Yikes. Do you by chance have a somewhat self-contained test case? > > 1) First prob was dlopen("/usr/lib/libc.so",RTLD_LAZY). ( redhat/4.1 ) > It seems that the libc.so in /usr/lib is not a lib at all - NOT VERY > NICE REDHAT ( or WHO EVER ). Shouldn't there be a symbolic link? > > 2a) dlsym( RTLD_NEXT, "Bogus_Name"); It seems that any name NOT defined > gets a segfault. Couldnt creat it on my own, and had to use the java > syms, and got the seg fault again. > > 2b) RTLD_NEXT is not defined in man pages for ALPHA, NOR i386 man > pages. Chapman says usage is correct, BUT I CANNOT TELL - I dont got the > info!!!!!!! > > -- > Uncle George ( aka G. Baeslack ) > http://www.voicenet.com/~gatgul -- Uncle George ( aka G. Baeslack ) http://www.voicenet.com/~gatgul -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com