Linux shared library that uses a shared library undefined symbol

Posted by johnnycrash on Stack Overflow See other posts from Stack Overflow or by johnnycrash
Published on 2010-06-07T17:09:50Z Indexed on 2010/06/07 17:12 UTC
Read the original article Hit count: 425

Filed under:
|
|
|

two shared libraries liba.so and libb.so. liba.so uses libb.so. All c files are compiled with -fPIC. Linking uses -shared. When we call dlopen on liba.so it cannot find symbols in libb.so...we get the "undefined symbol" error. We can dlopen libb.so with no errors. We know that liba is finding libb because we don't get a file not found error. We get a file not found error when we delete libb.so. We tried -lutil and no luck.

Any ideas????

oh yeah. gcc 4.1.2

© Stack Overflow or respective owner

Related posts about linux

Related posts about library