[uClibc]problem using dlopen() in 0.9.15
Joel Coltoff
joel at wmi.com
Fri Sep 20 15:45:22 UTC 2002
On Thu, 19 Sep 2002, Joel Coltoff wrote:
> doing dlopen( "./dyna.so", 1); causes a segfault.
>
> gcc -fno-strict-aliasing -D... -D... -fpic -c dyna.c
> gcc -o fred -fno-strict-aliasing -D... -D... -fpic -rdynamic fred.c -ldl
> gcc -o dyna.so -shared dyna.o
>
I'm making slow progress on this problem. If I change the last command to
look like
ld -o dyna.so -shared dyna.o
Then it works. Is this a difference between gcc-3.1 and gcc-3.2? I can't
easily do back and check gcc-3.1 and uClibc-0.9.12 but I recall it working.
Thanks.
--
Joel Coltoff
I have made this letter longer than usual because I lack the time to
make it shorter. -- Blaise Pascal
More information about the uClibc
mailing list