Sunday, 15 August 2010

python - OSError: libtest.so: undefined symbol: g_tree_new -


When I try to open Python (dlopen () in Python) I get an error like the above.

Some functions in libtest.so that use g_tree_new

g_tree_new has been defined libglib-2.0.so.0

I have LD_LIBRARY_PATH where is libglib-2.0.so.0 , but it does not help!

Thanks

Did you link while building in libthest? That is, you need -lglib-2.0 in your link command line.


No comments:

Post a Comment