[scribus] Linking error

Morten Langlo mlanglo at mail.dk
Mon Sep 22 14:52:09 UTC 2014


Mon, Sep 22, 2014 at 03:50:28PM +0200, skrev JLuc:
> Hello,
> 
> nothing new on my side.
> anything on your side ?
> 
> JL
> 
> Le 18/09/2014 23:00, Stefan Husmann a écrit :
> >Hello,
> >
> >under Arch Linux after an update of qt5 to version 5.3.2 I get
> >
> >Linking CXX executable scribus
> >/usr/bin/ld: CMakeFiles/scribus.dir/ui/helpbrowser.cpp.o: undefined reference to symbol '_ZN12QPrintDialogC1EP8QPrinterP7QWidget'
> >/usr/lib/libQt5PrintSupport.so.5: error adding symbols: DSO missing from command line
> >clang: error: linker command failed with exit code 1 (use -v to see invocation)
> >scribus/CMakeFiles/scribus.dir/build.make:20872: recipe for target 'scribus/scribus' failed
> >make[2]: *** [scribus/scribus] Error 1
> >CMakeFiles/Makefile2:146: recipe for target 'scribus/CMakeFiles/scribus.dir/all' failed
> >make[1]: *** [scribus/CMakeFiles/scribus.dir/all] Error 2
> >Makefile:137: recipe for target 'all' failed
> >make: *** [all] Error 2
> >
> >How can this be fixed?

I think It tells You, that this symbol is found 
in libQt5PrintSupport.so.5 and wants You to link to it.

try adding

   -DCMAKE_EXE_LINKER_FLAGS=-lQt5PrintSupport

to your cmake command, and see if it helps!

Enjoy

-- 
Morten Langlo
Denmark




More information about the scribus mailing list