FS#10998 - [boost] 1.35.0-1 : linking problems
Attached to Project:
Arch Linux
Opened by Eric Belanger (Snowman) - Thursday, 24 July 2008, 01:01 GMT
Last edited by Paul Mattal (paul) - Thursday, 26 November 2009, 15:02 GMT
Opened by Eric Belanger (Snowman) - Thursday, 24 July 2008, 01:01 GMT
Last edited by Paul Mattal (paul) - Thursday, 26 November 2009, 15:02 GMT
|
Details
While trying to fix
$ ldd -r /usr/lib/libboost_python.so linux-vdso.so.1 => (0x00007fff2f5ff000) libutil.so.1 => /lib/libutil.so.1 (0x00007f3a2703c000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007f3a26e21000) libdl.so.2 => /lib/libdl.so.2 (0x00007f3a26c1d000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f3a26910000) libm.so.6 => /lib/libm.so.6 (0x00007f3a2668d000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f3a26476000) libc.so.6 => /lib/libc.so.6 (0x00007f3a26121000) /lib/ld-linux-x86-64.so.2 (0x00007f3a274c4000) 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: 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: 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: PyUnicodeUCS2_FromEncodedObject (/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: 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: PyNumber_Divide (/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: PyUnicodeUCS2_AsWideChar (/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 Paul Mattal (paul)
Thursday, 26 November 2009, 15:02 GMT
Reason for closing: Fixed
Additional comments about closing: This appears to be fixed, and there's been no post for a long time about it. However, if it turns out still to be a bug, please request reopen.
Thursday, 26 November 2009, 15:02 GMT
Reason for closing: Fixed
Additional comments about closing: This appears to be fixed, and there's been no post for a long time about it. However, if it turns out still to be a bug, please request reopen.
on my i686 with current (no testing/unstable) packages:
find /usr/lib/python2.5/site-packages -name '*.so' -exec ldd -r '{}' ';' | grep undefined
many libraries have undefined symbols
yes, the package in extra has the problem.
The packages are qbittorent, avogadro, and probably others that I don't remember...
[ 21%] Building CXX object libavogadro/src/CMakeFiles/avogadro-lib.dir/tool.o
[ 21%] Building CXX object libavogadro/src/CMakeFiles/avogadro-lib.dir/povpainter.o
[ 21%] Building CXX object libavogadro/src/CMakeFiles/avogadro-lib.dir/engines/bsdyengine.o
[ 21%] Building CXX object libavogadro/src/CMakeFiles/avogadro-lib.dir/colors/elementcolor.o
Linking CXX shared library libavogadro.so
/usr/lib/python2.5/config/libpython2.5.a(posixmodule.o): In function `posix_forkpty':
/var/abs/python/trunk/src/Python-2.5.2/./Modules/posixmodule.c:3579: undefined reference to `forkpty'
/usr/lib/python2.5/config/libpython2.5.a(posixmodule.o): In function `posix_openpty':
/var/abs/python/trunk/src/Python-2.5.2/./Modules/posixmodule.c:3521: undefined reference to `openpty'
collect2: ld returned 1 exit status
make[2]: *** [libavogadro/src/libavogadro.so.0.8.2] Error 1
make[1]: *** [libavogadro/src/CMakeFiles/avogadro-lib.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DPYTHON_LIBRARY=/usr/lib/libpython2.6.so || return 1