[Debichem-devel] Bug#790859: FTBFS: error adding symbols: DSO missing from command line

Martin Michlmayr tbm at hp.com
Thu Jul 2 13:02:07 UTC 2015


Package: avogadro
Version: 1.0.3-10.1
Severity: serious

avogadro fails to build in unstable:

> sbuild (Debian sbuild) 0.64.1 (13 Oct 2013) on m400-c2n1.hlinux.usa.hp.com
...
> Linking CXX executable ../../bin/avogadro
> cd /«PKGBUILDDIR»/obj-aarch64-linux-gnu/avogadro/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/avogadro-app.dir/link.txt --verbose=1
> /usr/bin/c++   -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -fvisibility=hidden -fvisibility-inlines-hidden -fpermissive  -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc  -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed CMakeFiles/avogadro-app.dir/editcommands.cpp.o CMakeFiles/avogadro-app.dir/projecttreemodeldelegate.cpp.o CMakeFiles/avogadro-app.dir/enginecolorswidget.cpp.o CMakeFiles/avogadro-app.dir/pluginlistview.cpp.o CMakeFiles/avogadro-app.dir/importdialog.cpp.o CMakeFiles/avogadro-app.dir/main.cpp.o CMakeFiles/avogadro-app.dir/application.cpp.o CMakeFiles/avogadro-app.dir/projecttreeeditor.cpp.o CMakeFiles/avogadro-app.dir/projecttreeitem.cpp.o CMakeFiles/avogadro-app.dir/enginelistview.cpp.o CMakeFiles/avogadro-app.dir/glgraphicsview.cpp.o CMakeFiles/avogadro-app.dir/settingsdialog.cpp.o CMakeFiles/avogadro-app.dir/addenginedialog.cpp.o CMakeFiles/a
> vogadro-app.dir/primitiveitemmodel.cpp.o CMakeFiles/avogadro-app.dir/projecttreemodel.cpp.o CMakeFiles/avogadro-app.dir/flattabwidget.cpp.o CMakeFiles/avogadro-app.dir/detachedview.cpp.o CMakeFiles/avogadro-app.dir/engineitemdelegate.cpp.o CMakeFiles/avogadro-app.dir/engineprimitiveswidget.cpp.o CMakeFiles/avogadro-app.dir/engineviewwidget.cpp.o CMakeFiles/avogadro-app.dir/pluginsettings.cpp.o CMakeFiles/avogadro-app.dir/primitivetreeview.cpp.o CMakeFiles/avogadro-app.dir/pluginitemmodel.cpp.o CMakeFiles/avogadro-app.dir/engineitemmodel.cpp.o CMakeFiles/avogadro-app.dir/mainwindow.cpp.o CMakeFiles/avogadro-app.dir/savedialog.cpp.o CMakeFiles/avogadro-app.dir/aboutdialog.cpp.o CMakeFiles/avogadro-app.dir/projectdelegates/selectiondelegate.cpp.o CMakeFiles/avogadro-app.dir/projectdelegates/atomdelegate.cpp.o CMakeFiles/avogadro-app.dir/projectdelegates/moleculedelegate.cpp.o CMakeFiles/avogadro-app.dir/projectdelegates/bonddelegate.cpp.o CMakeFiles/avogadro-app.dir/projectdelegates/labeldelegate.cpp.o CMakeFiles/avogadro-app.dir/projectdelegates/residuedelegate.cpp.o CMakeFiles/avogadro-app.dir/qrc_avogadro.cxx.o  -o ../../bin/avogadro -rdynamic -lopenbabel -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lgl2ps ../../lib/libavogadro.so.1.0.3 -lopenbabel -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lGLU -lGL -lGLEW -lpython2.7 -lboost_python -Wl,-rpath,/«PKGBUILDDIR»/obj-aarch64-linux-gnu/lib: 
> /usr/bin/ld: CMakeFiles/avogadro-app.dir/main.cpp.o: undefined reference to symbol 'XInitThreads'
> //usr/lib/aarch64-linux-gnu/libX11.so.6: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> avogadro/src/CMakeFiles/avogadro-app.dir/build.make:1521: recipe for target 'bin/avogadro' failed
> make[3]: *** [bin/avogadro] Error 1
> make[3]: Leaving directory '/«PKGBUILDDIR»/obj-aarch64-linux-gnu'
> make[2]: *** [avogadro/src/CMakeFiles/avogadro-app.dir/all] Error 2

-- 
Martin Michlmayr
Linux for HP Helion, Hewlett-Packard



More information about the Debichem-devel mailing list