Re: finding the library in which symbol is defined.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeffrey Holle <jeff.holle@xxxxxxxxxxx> writes:

> Examples of the specific linker errors that are troubling me:
> 
> /usr/local/lib/libboost_python.so.1.31.0: undefined reference to
> `PySequence_DelSlice'
> /usr/local/lib/libboost_python.so.1.31.0: undefined reference to
> `PyNumber_InPlaceXor'
> ../cppTest/libUMLModel.so: undefined reference to `PyInt_FromLong'

Where are those symbols defined on your system?

If they are defined in, e.g, /usr/lib/libpython.so.*, have you tried
adding -lpython to your link command?

What is the output of
    objdump -p /usr/local/lib/libboost_python.so.1.31.0
?

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux