A small testcase for dlopen bug
H. J. Lu
hjl@lucon.org
Mon Jul 1 08:06:00 GMT 2002
On Sun, Jun 30, 2002 at 12:56:40AM -0700, Ulrich Drepper wrote:
> On Sat, 2002-06-01 at 09:48, H . J . Lu wrote:
>
> > Oops. Here is the testcase.
>
> What do you expect to see? I get now
>
> Link map:
> name = "", count = 0x0
> name = "../dlfcn/libdl.so.2", count = 0x40000000
> name = "../libc.so.6", count = 0x40004000
> name = "../elf/ld-linux.so.2", count = 0x80000000
> Loading: foo.so: Failed: ./libfoo.so: undefined symbol: glGetError
> Link map:
> name = "", count = 0x0
> name = "../dlfcn/libdl.so.2", count = 0x40000000
> name = "../libc.so.6", count = 0x40004000
> name = "../elf/ld-linux.so.2", count = 0x80000000
>
> which seems right since glGetError is defined in libGL which is nowhere
> loaded.
>
It is covered by:
http://sources.redhat.com/ml/libc-alpha/2002-06/msg00051.html
H.J.
More information about the Libc-alpha
mailing list