[scribus] Build error: undefined reference to symbol '_ZN11OpenThreads6AtomicmmEv'

Alessandro Levati 8av10s at tiscali.it
Sun Sep 23 15:13:57 UTC 2012


Hello,

I am trying to build Scribus 1.5.0 on Fedora 17, as explained in 
http://wiki.scribus.net/canvas/Building_SVN_versions_with_CMake.
I installed all the required dependencies (or so I hope), cmake ran 
successfully, but make exited with an error. Here are the last lines of 
its output:

[ 79%] Building C object 
scribus/CMakeFiles/scribus-1.5.0.svn.dir/hnjalloc.c.o
[ 79%] Building C object scribus/CMakeFiles/scribus-1.5.0.svn.dir/hyphen.c.o
[ 79%] Building CXX object 
scribus/CMakeFiles/scribus-1.5.0.svn.dir/main.cpp.o
Linking CXX executable scribus-1.5.0.svn
/usr/bin/ld: 
CMakeFiles/scribus-1.5.0.svn.dir/ui/moc_AdapterWidget.cxx.o: undefined 
reference to symbol '_ZN11OpenThreads6AtomicmmEv'
/usr/bin/ld: note: '_ZN11OpenThreads6AtomicmmEv' is defined in DSO 
/lib/libOpenThreads.so.12 so try adding it to the linker command line
/lib/libOpenThreads.so.12: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [scribus/scribus-1.5.0.svn] Errore 1
make[1]: *** [scribus/CMakeFiles/scribus-1.5.0.svn.dir/all] Errore 2
make: *** [all] Errore 2


libOpenThreads.so.12 is part of the OpenThreads package, which is 
installed on my system. I'm not a programmer and I an unable to 
understand this error.

Any help would be appreciated.

Thank you
Alessandro




More information about the scribus mailing list