> Seems there is a bug in the dynamic loader. I have symbol defined in > the shared library. [...] > gcc -shared -Wl,-Bsymbolic lib.c -o liblll.so > gcc main.c liblll.so Why do you need to use -Bsymbolic? With that, it works fine. Regards, Martin