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

ale rimoldi ale.comp_06 at xox.ch
Sun Sep 23 17:42:48 UTC 2012


hi alessandro,

cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/ale/docs/bin/scribus_oif
-DWANT_DEBUG=1 -DWANT_NOOSG=1 .

the hint by anil is probably a good one...

one alternative is probably to add the -DWANT_NOOSG=1 option to your
cmake command:

cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/you/bin/scribus15
-DWANT_DEBUG=1 -DWANT_NOOSG=1 ..

one day i will check why i was having problems with OSG on debian,
promised :-)

ciao
a.l.e


> 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>
> ___ Scribus Mailing List: scribus at lists.scribus.net
> Edit your options or unsubscribe:
> http://lists.scribus.net/mailman/listinfo/scribus
> See also:
> http://wiki.scribus.net
> http://forums.scribus.net




More information about the scribus mailing list