You are not logged in.

#1 2016-01-30 20:45:31

Osiris
Member
Registered: 2003-01-18
Posts: 160
Website

Undefined references in libboost_python

Hey,

I have noticed that libboost_python and libboost_python3 contain undefined references:

florian@horus /usr/lib % ldd -d libboost_python.so
        linux-vdso.so.1 (0x00007ffe6a39b000)
        libdl.so.2 (0x00007f47700ad000)
        libpthread.so.0 (0x00007f476fe90000)
        libutil.so.1 (0x00007f476fc8c000)
        librt.so.1 (0x00007f476fa84000)
        libstdc++.so.6 (0x00007f476f702000)
        libgcc_s.so.1 (0x00007f476f4eb000)
        libc.so.6 (0x00007f476f147000)
        /usr/lib64/ld-linux-x86-64.so.2 (0x00005564354bb000)
        libm.so.6 (0x00007f476ee48000)
undefined symbol: PyExc_ImportError     (./libboost_python.so)
undefined symbol: PyProperty_Type       (./libboost_python.so)
undefined symbol: PyExc_StopIteration   (./libboost_python.so)
undefined symbol: PyBool_Type   (./libboost_python.so)
undefined symbol: PyClass_Type  (./libboost_python.so)
undefined symbol: PyExc_ValueError      (./libboost_python.so)
undefined symbol: PyList_Type   (./libboost_python.so)
undefined symbol: _Py_NotImplementedStruct      (./libboost_python.so)
undefined symbol: PyExc_TypeError       (./libboost_python.so)
undefined symbol: PyDict_Type   (./libboost_python.so)
undefined symbol: PyInt_Type    (./libboost_python.so)
undefined symbol: PyComplex_Type        (./libboost_python.so)
undefined symbol: PyExc_ReferenceError  (./libboost_python.so)
undefined symbol: PyModule_Type (./libboost_python.so)
undefined symbol: PyBaseObject_Type     (./libboost_python.so)
undefined symbol: PyFloat_Type  (./libboost_python.so)
undefined symbol: PyExc_IndexError      (./libboost_python.so)
undefined symbol: PyUnicode_Type        (./libboost_python.so)
undefined symbol: PyTuple_Type  (./libboost_python.so)
undefined symbol: PyExc_RuntimeError    (./libboost_python.so)
undefined symbol: PyType_Type   (./libboost_python.so)
undefined symbol: PyMethod_Type (./libboost_python.so)
undefined symbol: PyStaticMethod_Type   (./libboost_python.so)
undefined symbol: PyLong_Type   (./libboost_python.so)
undefined symbol: _Py_NoneStruct        (./libboost_python.so)
undefined symbol: PyExc_OverflowError   (./libboost_python.so)
undefined symbol: PyExc_AttributeError  (./libboost_python.so)
undefined symbol: PyCFunction_Type      (./libboost_python.so)
undefined symbol: PyString_Type (./libboost_python.so)
undefined symbol: PyType_GenericAlloc   (./libboost_python.so)
florian@horus /usr/lib % ldd -r libboost_python.so
        linux-vdso.so.1 (0x00007fffecbee000)
        libdl.so.2 (0x00007f2c0fa5e000)
        libpthread.so.0 (0x00007f2c0f841000)
        libutil.so.1 (0x00007f2c0f63d000)
        librt.so.1 (0x00007f2c0f435000)
        libstdc++.so.6 (0x00007f2c0f0b3000)
        libgcc_s.so.1 (0x00007f2c0ee9c000)
        libc.so.6 (0x00007f2c0eaf8000)
        /usr/lib64/ld-linux-x86-64.so.2 (0x000055d4f5fea000)
        libm.so.6 (0x00007f2c0e7f9000)
undefined symbol: PyExc_ImportError     (./libboost_python.so)
undefined symbol: PyProperty_Type       (./libboost_python.so)
undefined symbol: PyExc_StopIteration   (./libboost_python.so)
undefined symbol: PyBool_Type   (./libboost_python.so)
undefined symbol: PyClass_Type  (./libboost_python.so)
undefined symbol: PyExc_ValueError      (./libboost_python.so)
undefined symbol: PyList_Type   (./libboost_python.so)
undefined symbol: _Py_NotImplementedStruct      (./libboost_python.so)
undefined symbol: PyExc_TypeError       (./libboost_python.so)
undefined symbol: PyDict_Type   (./libboost_python.so)
undefined symbol: PyInt_Type    (./libboost_python.so)
undefined symbol: PyComplex_Type        (./libboost_python.so)
undefined symbol: PyExc_ReferenceError  (./libboost_python.so)
undefined symbol: PyModule_Type (./libboost_python.so)
undefined symbol: PyBaseObject_Type     (./libboost_python.so)
undefined symbol: PyFloat_Type  (./libboost_python.so)
undefined symbol: PyExc_IndexError      (./libboost_python.so)
undefined symbol: PyUnicode_Type        (./libboost_python.so)
undefined symbol: PyTuple_Type  (./libboost_python.so)
undefined symbol: PyExc_RuntimeError    (./libboost_python.so)
undefined symbol: PyType_Type   (./libboost_python.so)
undefined symbol: PyMethod_Type (./libboost_python.so)
undefined symbol: PyStaticMethod_Type   (./libboost_python.so)
undefined symbol: PyLong_Type   (./libboost_python.so)
undefined symbol: _Py_NoneStruct        (./libboost_python.so)
undefined symbol: PyExc_OverflowError   (./libboost_python.so)
undefined symbol: PyExc_AttributeError  (./libboost_python.so)
undefined symbol: PyCFunction_Type      (./libboost_python.so)
undefined symbol: PyString_Type (./libboost_python.so)
undefined symbol: PyType_GenericAlloc   (./libboost_python.so)
undefined symbol: PyList_Insert (./libboost_python.so)
undefined symbol: PyString_InternFromString     (./libboost_python.so)
undefined symbol: PyString_AsString     (./libboost_python.so)
undefined symbol: PyUnicodeUCS4_FromEncodedObject       (./libboost_python.so)
undefined symbol: PyImport_Import       (./libboost_python.so)
undefined symbol: PyNumber_InPlaceRshift        (./libboost_python.so)
undefined symbol: PyObject_CallMethod   (./libboost_python.so)
undefined symbol: PyIter_Next   (./libboost_python.so)
undefined symbol: PyNumber_Remainder    (./libboost_python.so)
undefined symbol: Py_InitModule4_64     (./libboost_python.so)
undefined symbol: PyType_Ready  (./libboost_python.so)
undefined symbol: _PyEval_SliceIndex    (./libboost_python.so)
undefined symbol: PyFile_AsFile (./libboost_python.so)
undefined symbol: PyLong_FromUnsignedLong       (./libboost_python.so)
undefined symbol: PyMem_Free    (./libboost_python.so)
undefined symbol: PyNumber_InPlaceXor   (./libboost_python.so)
undefined symbol: PyNumber_InPlaceOr    (./libboost_python.so)
undefined symbol: PyBool_FromLong       (./libboost_python.so)
undefined symbol: PyDict_Items  (./libboost_python.so)
undefined symbol: PyNumber_InPlaceRemainder     (./libboost_python.so)
undefined symbol: PyErr_NoMemory        (./libboost_python.so)
undefined symbol: PyComplex_ImagAsDouble        (./libboost_python.so)
undefined symbol: PyObject_IsTrue       (./libboost_python.so)
undefined symbol: PyNumber_Lshift       (./libboost_python.so)
undefined symbol: PyNumber_InPlaceMultiply      (./libboost_python.so)
undefined symbol: _PyObject_New (./libboost_python.so)
undefined symbol: PyObject_GetItem      (./libboost_python.so)
undefined symbol: PyString_FromStringAndSize    (./libboost_python.so)
undefined symbol: PyNumber_InPlaceLshift        (./libboost_python.so)
undefined symbol: PyString_Size (./libboost_python.so)
undefined symbol: PyDict_Update (./libboost_python.so)
undefined symbol: PyComplex_RealAsDouble        (./libboost_python.so)
undefined symbol: PyErr_Format  (./libboost_python.so)
undefined symbol: PyNumber_And  (./libboost_python.so)
undefined symbol: PyUnicodeUCS4_AsWideChar      (./libboost_python.so)
undefined symbol: PyNumber_InPlaceAdd   (./libboost_python.so)
undefined symbol: PyObject_GetAttr      (./libboost_python.so)
undefined symbol: PyErr_ExceptionMatches        (./libboost_python.so)
undefined symbol: PyErr_Occurred        (./libboost_python.so)
undefined symbol: PyDict_Copy   (./libboost_python.so)
undefined symbol: PyArg_ParseTupleAndKeywords   (./libboost_python.so)
undefined symbol: PyNumber_Divide       (./libboost_python.so)
undefined symbol: PyEval_GetGlobals     (./libboost_python.so)
undefined symbol: PyDict_Keys   (./libboost_python.so)
undefined symbol: PyErr_SetObject       (./libboost_python.so)
undefined symbol: PyNumber_Multiply     (./libboost_python.so)
undefined symbol: PyRun_FileExFlags     (./libboost_python.so)
undefined symbol: PyObject_Size (./libboost_python.so)
undefined symbol: PyString_FromString   (./libboost_python.so)
undefined symbol: PyString_FromFormat   (./libboost_python.so)
undefined symbol: PyNumber_InPlaceAnd   (./libboost_python.so)
undefined symbol: PyInt_FromLong        (./libboost_python.so)
undefined symbol: PyDict_Size   (./libboost_python.so)
undefined symbol: PyDict_GetItem        (./libboost_python.so)
undefined symbol: PyObject_SetItem      (./libboost_python.so)
undefined symbol: PyInt_AsLong  (./libboost_python.so)
undefined symbol: PyObject_RichCompare  (./libboost_python.so)
undefined symbol: PyCFunction_NewEx     (./libboost_python.so)
undefined symbol: PyDict_Values (./libboost_python.so)
undefined symbol: PyNumber_Rshift       (./libboost_python.so)
undefined symbol: PyStaticMethod_New    (./libboost_python.so)
undefined symbol: PyType_IsSubtype      (./libboost_python.so)
undefined symbol: PyNumber_Add  (./libboost_python.so)
undefined symbol: PyList_Sort   (./libboost_python.so)
undefined symbol: PySequence_DelSlice   (./libboost_python.so)
undefined symbol: PyErr_WarnEx  (./libboost_python.so)
undefined symbol: PyNumber_Xor  (./libboost_python.so)
undefined symbol: PyObject_ClearWeakRefs        (./libboost_python.so)
undefined symbol: PyNumber_Subtract     (./libboost_python.so)
undefined symbol: PySlice_New   (./libboost_python.so)
undefined symbol: PyObject_GetAttrString        (./libboost_python.so)
undefined symbol: PyObject_IsInstance   (./libboost_python.so)
undefined symbol: PyRun_StringFlags     (./libboost_python.so)
undefined symbol: PyObject_SetAttrString        (./libboost_python.so)
undefined symbol: PyWeakref_NewRef      (./libboost_python.so)
undefined symbol: PyErr_NewException    (./libboost_python.so)
undefined symbol: PyList_Append (./libboost_python.so)
undefined symbol: PyObject_SetAttr      (./libboost_python.so)
undefined symbol: PyDict_GetItemString  (./libboost_python.so)
undefined symbol: PyNumber_InPlaceDivide        (./libboost_python.so)
undefined symbol: PyLong_AsLongLong     (./libboost_python.so)
undefined symbol: PyLong_AsUnsignedLongLong     (./libboost_python.so)
undefined symbol: PyNumber_Or   (./libboost_python.so)
undefined symbol: PyObject_DelItem      (./libboost_python.so)
undefined symbol: PyNumber_InPlaceSubtract      (./libboost_python.so)
undefined symbol: PyMethod_New  (./libboost_python.so)
undefined symbol: PyEval_CallFunction   (./libboost_python.so)
undefined symbol: PySequence_GetSlice   (./libboost_python.so)
undefined symbol: PyTuple_Size  (./libboost_python.so)
undefined symbol: PyImport_ImportModule (./libboost_python.so)
undefined symbol: PyErr_Clear   (./libboost_python.so)
undefined symbol: PyTuple_New   (./libboost_python.so)
undefined symbol: PyTuple_GetItem       (./libboost_python.so)
undefined symbol: PyErr_SetString       (./libboost_python.so)
undefined symbol: PyObject_CallFunction (./libboost_python.so)
undefined symbol: PyList_Reverse        (./libboost_python.so)
undefined symbol: PyFile_FromString     (./libboost_python.so)
undefined symbol: _PyType_Lookup        (./libboost_python.so)
undefined symbol: PyList_New    (./libboost_python.so)
undefined symbol: PyMem_Malloc  (./libboost_python.so)
undefined symbol: PyCallable_Check      (./libboost_python.so)
undefined symbol: PyDict_Clear  (./libboost_python.so)
undefined symbol: PySequence_SetSlice   (./libboost_python.so)
undefined symbol: PyLong_AsUnsignedLong (./libboost_python.so)
undefined symbol: PyDict_New    (./libboost_python.so)

afaik this should not be. So, is this a bug or is my perception wrong?

All dependencies are in place (python, python3). bugs.arch shows no mentioned of it.

Thx!

Last edited by Osiris (2016-01-31 09:09:10)

Offline

Board footer

Powered by FluxBB