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

DAKF dakf.list at gmail.com
Sun Sep 23 15:37:09 UTC 2012


It seems  OpenThreads library is missing.

You may add a line as follows in
     ${OPENTHREADS_LIBRARY}
in scribus/CMakeList.txt  under
HAVE_OSG checking loop

- Anil

On 23 September 2012 20:43, Alessandro Levati <8av10s at tiscali.it> wrote:

> 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<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
>
>
> ___
> Scribus Mailing List: scribus at lists.scribus.net
> Edit your options or unsubscribe:
> http://lists.scribus.net/**mailman/listinfo/scribus<http://lists.scribus.net/mailman/listinfo/scribus>
> See also:
> http://wiki.scribus.net
> http://forums.scribus.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20120923/268e4a79/attachment.html>


More information about the scribus mailing list