FS#22800 - [boost] undefined symbols in /usr/lib/libboost_python.so.1.45.0
Attached to Project:
Arch Linux
Opened by Christophe-Marie Duquesne (duquesnc) - Monday, 07 February 2011, 13:11 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 09 February 2011, 09:38 GMT
Opened by Christophe-Marie Duquesne (duquesnc) - Monday, 07 February 2011, 13:11 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 09 February 2011, 09:38 GMT
|
Details
Description:
Trying to use a python3 C++-binding, I had the following error: ImportError: /usr/lib/libboost_python.so.1.45.0: undefined symbol: PyClass_Type I then checked the library, and it turns out there are actually lots of undefined symbols in /usr/lib/libboost_python.so.1.45.0. This issue has already beed raised for > ldd -r /usr/lib/libboost_python.so linux-vdso.so.1 => (0x00007fffa963c000) libutil.so.1 => /lib/libutil.so.1 (0x00007fb1ae36b000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007fb1ae14e000) libdl.so.2 => /lib/libdl.so.2 (0x00007fb1adf49000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fb1adc3f000) libm.so.6 => /lib/libm.so.6 (0x00007fb1ad9bc000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fb1ad7a5000) libc.so.6 => /lib/libc.so.6 (0x00007fb1ad444000) /lib/ld-linux-x86-64.so.2 (0x00007fb1ae7eb000) undefined symbol: PyExc_ImportError (/usr/lib/libboost_python.so) undefined symbol: PyProperty_Type (/usr/lib/libboost_python.so) undefined symbol: PyExc_StopIteration (/usr/lib/libboost_python.so) undefined symbol: PyBool_Type (/usr/lib/libboost_python.so) undefined symbol: PyClass_Type (/usr/lib/libboost_python.so) undefined symbol: PyExc_ValueError (/usr/lib/libboost_python.so) undefined symbol: PyList_Type (/usr/lib/libboost_python.so) undefined symbol: _Py_NotImplementedStruct (/usr/lib/libboost_python.so) undefined symbol: PyExc_TypeError (/usr/lib/libboost_python.so) undefined symbol: PyDict_Type (/usr/lib/libboost_python.so) undefined symbol: PyInt_Type (/usr/lib/libboost_python.so) undefined symbol: PyComplex_Type (/usr/lib/libboost_python.so) undefined symbol: PyExc_ReferenceError (/usr/lib/libboost_python.so) undefined symbol: PyModule_Type (/usr/lib/libboost_python.so) undefined symbol: PyBaseObject_Type (/usr/lib/libboost_python.so) undefined symbol: PyFloat_Type (/usr/lib/libboost_python.so) undefined symbol: PyExc_IndexError (/usr/lib/libboost_python.so) undefined symbol: PyUnicode_Type (/usr/lib/libboost_python.so) undefined symbol: PyTuple_Type (/usr/lib/libboost_python.so) undefined symbol: PyExc_RuntimeError (/usr/lib/libboost_python.so) undefined symbol: PyType_Type (/usr/lib/libboost_python.so) undefined symbol: PyMethod_Type (/usr/lib/libboost_python.so) undefined symbol: PyStaticMethod_Type (/usr/lib/libboost_python.so) undefined symbol: PyLong_Type (/usr/lib/libboost_python.so) undefined symbol: _Py_NoneStruct (/usr/lib/libboost_python.so) undefined symbol: PyExc_OverflowError (/usr/lib/libboost_python.so) undefined symbol: PyExc_AttributeError (/usr/lib/libboost_python.so) undefined symbol: PyCFunction_Type (/usr/lib/libboost_python.so) undefined symbol: PyString_Type (/usr/lib/libboost_python.so) undefined symbol: PyType_GenericAlloc (/usr/lib/libboost_python.so) undefined symbol: PyList_Insert (/usr/lib/libboost_python.so) undefined symbol: PyString_InternFromString (/usr/lib/libboost_python.so) undefined symbol: PyString_AsString (/usr/lib/libboost_python.so) undefined symbol: PyUnicodeUCS4_FromEncodedObject (/usr/lib/libboost_python.so) undefined symbol: PyImport_Import (/usr/lib/libboost_python.so) undefined symbol: PyNumber_InPlaceRshift (/usr/lib/libboost_python.so) undefined symbol: PyObject_CallMethod (/usr/lib/libboost_python.so) undefined symbol: PyIter_Next (/usr/lib/libboost_python.so) undefined symbol: PyNumber_Remainder (/usr/lib/libboost_python.so) undefined symbol: Py_InitModule4_64 (/usr/lib/libboost_python.so) undefined symbol: PyType_Ready (/usr/lib/libboost_python.so) undefined symbol: _PyEval_SliceIndex (/usr/lib/libboost_python.so) undefined symbol: PyFile_AsFile (/usr/lib/libboost_python.so) undefined symbol: PyLong_FromUnsignedLong (/usr/lib/libboost_python.so) undefined symbol: PyMem_Free (/usr/lib/libboost_python.so) undefined symbol: PyNumber_InPlaceXor (/usr/lib/libboost_python.so) undefined symbol: PyNumber_InPlaceOr (/usr/lib/libboost_python.so) undefined symbol: PyBool_FromLong (/usr/lib/libboost_python.so) undefined symbol: PyDict_Items (/usr/lib/libboost_python.so) undefined symbol: PyNumber_InPlaceRemainder (/usr/lib/libboost_python.so) undefined symbol: PyErr_NoMemory (/usr/lib/libboost_python.so) undefined symbol: PyComplex_ImagAsDouble (/usr/lib/libboost_python.so) undefined symbol: PyObject_IsTrue (/usr/lib/libboost_python.so) undefined symbol: PyNumber_Lshift (/usr/lib/libboost_python.so) undefined symbol: PyNumber_InPlaceMultiply (/usr/lib/libboost_python.so) undefined symbol: _PyObject_New (/usr/lib/libboost_python.so) undefined symbol: PyObject_GetItem (/usr/lib/libboost_python.so) undefined symbol: PyString_FromStringAndSize (/usr/lib/libboost_python.so) undefined symbol: PyNumber_InPlaceLshift (/usr/lib/libboost_python.so) undefined symbol: PyString_Size (/usr/lib/libboost_python.so) undefined symbol: PyDict_Update (/usr/lib/libboost_python.so) undefined symbol: PyComplex_RealAsDouble (/usr/lib/libboost_python.so) undefined symbol: PyErr_Format (/usr/lib/libboost_python.so) undefined symbol: PyNumber_And (/usr/lib/libboost_python.so) undefined symbol: PyUnicodeUCS4_AsWideChar (/usr/lib/libboost_python.so) undefined symbol: PyNumber_InPlaceAdd (/usr/lib/libboost_python.so) undefined symbol: PyObject_GetAttr (/usr/lib/libboost_python.so) undefined symbol: PyErr_ExceptionMatches (/usr/lib/libboost_python.so) undefined symbol: PyErr_Occurred (/usr/lib/libboost_python.so) undefined symbol: PyDict_Copy (/usr/lib/libboost_python.so) undefined symbol: PyArg_ParseTupleAndKeywords (/usr/lib/libboost_python.so) undefined symbol: PyNumber_Divide (/usr/lib/libboost_python.so) undefined symbol: PyEval_GetGlobals (/usr/lib/libboost_python.so) undefined symbol: PyDict_Keys (/usr/lib/libboost_python.so) undefined symbol: PyErr_SetObject (/usr/lib/libboost_python.so) undefined symbol: PyNumber_Multiply (/usr/lib/libboost_python.so) undefined symbol: PyRun_FileExFlags (/usr/lib/libboost_python.so) undefined symbol: PyObject_Size (/usr/lib/libboost_python.so) undefined symbol: PyString_FromString (/usr/lib/libboost_python.so) undefined symbol: PyString_FromFormat (/usr/lib/libboost_python.so) undefined symbol: PyNumber_InPlaceAnd (/usr/lib/libboost_python.so) undefined symbol: PyInt_FromLong (/usr/lib/libboost_python.so) undefined symbol: PyDict_Size (/usr/lib/libboost_python.so) undefined symbol: PyDict_GetItem (/usr/lib/libboost_python.so) undefined symbol: PyObject_SetItem (/usr/lib/libboost_python.so) undefined symbol: PyInt_AsLong (/usr/lib/libboost_python.so) undefined symbol: PyObject_RichCompare (/usr/lib/libboost_python.so) undefined symbol: PyCFunction_NewEx (/usr/lib/libboost_python.so) undefined symbol: PyDict_Values (/usr/lib/libboost_python.so) undefined symbol: PyNumber_Rshift (/usr/lib/libboost_python.so) undefined symbol: PyStaticMethod_New (/usr/lib/libboost_python.so) undefined symbol: PyType_IsSubtype (/usr/lib/libboost_python.so) undefined symbol: PyNumber_Add (/usr/lib/libboost_python.so) undefined symbol: PyList_Sort (/usr/lib/libboost_python.so) undefined symbol: PySequence_DelSlice (/usr/lib/libboost_python.so) undefined symbol: PyErr_WarnEx (/usr/lib/libboost_python.so) undefined symbol: PyNumber_Xor (/usr/lib/libboost_python.so) undefined symbol: PyObject_ClearWeakRefs (/usr/lib/libboost_python.so) undefined symbol: PyNumber_Subtract (/usr/lib/libboost_python.so) undefined symbol: PySlice_New (/usr/lib/libboost_python.so) undefined symbol: PyObject_GetAttrString (/usr/lib/libboost_python.so) undefined symbol: PyObject_IsInstance (/usr/lib/libboost_python.so) undefined symbol: PyRun_StringFlags (/usr/lib/libboost_python.so) undefined symbol: PyObject_SetAttrString (/usr/lib/libboost_python.so) undefined symbol: PyWeakref_NewRef (/usr/lib/libboost_python.so) undefined symbol: PyErr_NewException (/usr/lib/libboost_python.so) undefined symbol: PyList_Append (/usr/lib/libboost_python.so) undefined symbol: PyObject_SetAttr (/usr/lib/libboost_python.so) undefined symbol: PyDict_GetItemString (/usr/lib/libboost_python.so) undefined symbol: PyNumber_InPlaceDivide (/usr/lib/libboost_python.so) undefined symbol: PyLong_AsLongLong (/usr/lib/libboost_python.so) undefined symbol: PyLong_AsUnsignedLongLong (/usr/lib/libboost_python.so) undefined symbol: PyNumber_Or (/usr/lib/libboost_python.so) undefined symbol: PyObject_DelItem (/usr/lib/libboost_python.so) undefined symbol: PyNumber_InPlaceSubtract (/usr/lib/libboost_python.so) undefined symbol: PyMethod_New (/usr/lib/libboost_python.so) undefined symbol: PyEval_CallFunction (/usr/lib/libboost_python.so) undefined symbol: PySequence_GetSlice (/usr/lib/libboost_python.so) undefined symbol: PyTuple_Size (/usr/lib/libboost_python.so) undefined symbol: PyImport_ImportModule (/usr/lib/libboost_python.so) undefined symbol: PyErr_Clear (/usr/lib/libboost_python.so) undefined symbol: PyTuple_New (/usr/lib/libboost_python.so) undefined symbol: PyTuple_GetItem (/usr/lib/libboost_python.so) undefined symbol: PyErr_SetString (/usr/lib/libboost_python.so) undefined symbol: PyObject_CallFunction (/usr/lib/libboost_python.so) undefined symbol: PyList_Reverse (/usr/lib/libboost_python.so) undefined symbol: PyFile_FromString (/usr/lib/libboost_python.so) undefined symbol: _PyType_Lookup (/usr/lib/libboost_python.so) undefined symbol: PyList_New (/usr/lib/libboost_python.so) undefined symbol: PyMem_Malloc (/usr/lib/libboost_python.so) undefined symbol: PyCallable_Check (/usr/lib/libboost_python.so) undefined symbol: PyDict_Clear (/usr/lib/libboost_python.so) undefined symbol: PySequence_SetSlice (/usr/lib/libboost_python.so) undefined symbol: PyLong_AsUnsignedLong (/usr/lib/libboost_python.so) undefined symbol: PyDict_New (/usr/lib/libboost_python.so) |
This task depends upon
Closed by Eric Belanger (Snowman)
Wednesday, 09 February 2011, 09:38 GMT
Reason for closing: Deferred
Additional comments about closing: Boost package is not yet compiled with python 3.1 support.
Wednesday, 09 February 2011, 09:38 GMT
Reason for closing: Deferred
Additional comments about closing: Boost package is not yet compiled with python 3.1 support.
It's not directly related to boost.