Bug 351327

Summary: linking of kdenlive 0.9.10 fails
Product: [Applications] kdenlive Reporter: Robert Riemann <robert>
Component: Setup & InstallationAssignee: Vincent PINON <vpinon>
Status: RESOLVED FIXED    
Severity: normal CC: mail
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: cmake cache

Description Robert Riemann 2015-08-15 13:10:48 UTC
I tried to compile kdenlive branch v0.9.10 on my opensuse tumbleweed with

kde4-config --version
Qt: 4.8.7
KDE Development Platform: 4.14.10
kde4-config: 1.0

and in parallel:

Qt: 5.4.2
KDE Frameworks: 5.12.0
KDebugDialog: 1.0


My build fails with:

/usr/lib64/libkio.so.5.14.10: undefined reference to `Strigi::AnalysisResult::AnalysisResult(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, long, Strigi::IndexWriter&, Strigi::StreamAnalyzer&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
src/CMakeFiles/kdenlive.dir/build.make:4272: recipe for target 'src/kdenlive' failed
make[2]: *** [src/kdenlive] Error 1
CMakeFiles/Makefile2:455: recipe for target 'src/CMakeFiles/kdenlive.dir/all' failed
make[1]: *** [src/CMakeFiles/kdenlive.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2

I guess that is because the library kio is already from kf5, but I'm not sure and I don't know how to fix this.


Reproducible: Always

Steps to Reproduce:
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr/local
make -j4

Actual Results:  
linking fails

Expected Results:  
linking passes
Comment 1 Robert Riemann 2015-08-15 13:11:29 UTC
Created attachment 94041 [details]
cmake cache
Comment 2 Vincent PINON 2015-09-04 12:37:07 UTC
Hello,
I also don't have many ideas about this problem, and I don't run OpenSuse systems, sorry.
Do you have /usr/lib64/libkio.so.4* files ?
If not, maybe try to install the relevant package.
If yes, then we will have to look at KDE cmake modules (and for that we will go asking #kde-devel).
Thanks for your feedback!
Comment 3 Julian Steinmann 2018-09-24 15:51:31 UTC
This appears to be a Qt 4/5 transition problem, which is long since completed. Closing, thanks for reporting your issue.