Bug 287787

Summary: Can't build on Ubuntu x86-64.
Product: [Applications] digikam Reporter: Łukasz Spas <lukasz.spas>
Component: Portability-CompilationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 2.4.0   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 8.2.0

Description Łukasz Spas 2011-11-28 21:11:53 UTC
Version:           unspecified
OS:                Linux

The latest Ubuntu x64 support multiarch and for libraries like qt it has it's own path ("/usr/lib/x86_64-linux-gnu/"). But when you try to build kipi-plugins using cmake/make (with default settings) I noticed that it's looking for qt in "/usr/lib/" instead "/usr/lib/x86_64-linux-gnu/" and I'm unable to build kipi-plugins under my platform.

Reproducible: Always

Steps to Reproduce:
Ubuntu Oneiric x64
Instal Qt in x64 version (make sure you don't have qt i386).
Try to build kipi-plugins

Actual Results:  
Get an make error that it can't find the rules to build "/usr/lib/libQtNetwork.so" (I have installed qt4-network module).

Expected Results:  
Compile.
Comment 1 caulier.gilles 2011-11-29 07:03:01 UTC
Please post the full configure/compilation/linking trace here.

Gilles Caulier
Comment 2 Łukasz Spas 2011-12-15 16:15:04 UTC
I found that this is not a bug of kipi-plugins but Ubuntu's 11.10 x64 which supports multi-architecture and this causes the problem.