Re: dlopen() broken in snapshot?

2006-03-21 Thread Andrew Sveikauskas
On 2006-03-21 15:06:04 -0500 Dale Rahn <[EMAIL PROTECTED]> wrote: eg: $ gcc -Wl,-E b.c Excellent. I have a configure script that wasn't adding this flag. That fixes my problem. Is this requirement new? It seems to work in 3.8.

dlopen() broken in snapshot?

2006-03-21 Thread Andrew Sveikauskas
Hi, I just upgraded to the 3.9 snapshot in FTP (this is on 386) and I find that dlopen() does not work. For example: a.c: extern int x; int foo() { x = 1; } b.c: #include int x = 0; int main() { void *dl = dlopen("./liba.so", RTLD_LAZY|RTLD_GLOBAL); if(!dl) dlerror(); r