Bug 1196094 - FTBFS: undefined reference to symbol 'XInitThreads' when building avogadro
Summary: FTBFS: undefined reference to symbol 'XInitThreads' when building avogadro
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: avogadro
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Kofler
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-25 09:56 UTC by Dominik 'Rathann' Mierzejewski
Modified: 2015-03-29 17:41 UTC (History)
1 user (show)

Fixed In Version: avogadro-1.1.1-9.fc23
Clone Of:
Environment:
Last Closed: 2015-03-29 17:41:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
patch to fix "undefined reference to symbol XInitThreads" (2.25 KB, application/mbox)
2015-02-25 09:56 UTC, Dominik 'Rathann' Mierzejewski
no flags Details

Description Dominik 'Rathann' Mierzejewski 2015-02-25 09:56:37 UTC
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.

Comment 1 Kevin Kofler 2015-03-29 17:41:43 UTC
An equivalent patch is included in avogadro-1.1.1-9.fc23 and newer. It builds fine now.


Note You need to log in before you can comment on or make changes to this bug.