This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: dl test program segfaults
- To: howarth@bromo.med.uc.edu (Jack Howarth)
- Subject: Re: dl test program segfaults
- From: hjl@lucon.org (H.J. Lu)
- Date: Thu, 5 Nov 1998 11:11:57 -0800 (PST)
- Cc: libc-alpha@cygnus.com
>
> Ulrich,
> Thanks for the reply. So in m.c I should change 'RTLD_GLOBAL' to
> 'RTLD_GLOBAL | RTLD_NOW'? On my machine that gives the expected
> result of...
>
BTW, did you check dlopen () return? In any case, it is a
good idea to check if it returns NULL.
H.J.