Created attachment 995076 [details] patch to fix "undefined reference to symbol XInitThreads" Description of problem: Avogadro fails to build due to undefined reference to XInitThreads when linking. Version-Release number of selected component (if applicable): 1.1.1-7.fc23 How reproducible: Always. Steps to Reproduce: 1. Try building current git master Actual results: [...] /bin/ld: CMakeFiles/avogadro-app.dir/main.cpp.o: undefined reference to symbol 'XInitThreads' /usr/lib64/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:1556: recipe for target 'bin/avogadro' failed make[2]: *** [bin/avogadro] Error 1 Expected results: Should link successfully. Additional info: Patch attached.
An equivalent patch is included in avogadro-1.1.1-9.fc23 and newer. It builds fine now.