[Digikam-users] Development environment

Mikolaj Machowski mikmach at wp.pl
Mon Jul 6 07:39:16 BST 2009


On Sunday 05 July 2009 12:11:43 Leonardo Giordani wrote:
> Hi all,
>
> I'm trying to get digiKam SVN compiled and (locally) installed while
> keeping "official" digiKam installed in my system (currently Kubuntu 9.04).
> While compiling I get the following error
>
> /usr/bin/ld: warning: libkdcraw.so.8, needed by
> ../../lib/libdigikamcore.so.1.0.0, may conflict with libkdcraw.so.7
> /usr/bin/ld: warning: libkexiv2.so.8, needed by
> ../../lib/libdigikamcore.so.1.0.0, may conflict with libkexiv.so.7
>
> which I think is responsible of the following linking error
>
> Linking CXX shared module ../../../lib/digikamimageplugin_border.so
> CMakeFiles/digikamimageplugin_border.dir/border.o: In function
> `Digikam::DRawDecoding::~DRawDecoding()':
>
> border.cpp:(.text._ZN7Digikam12DRawDecodingD0Ev[Digikam::DRawDecoding::~DRa
>wDecoding()]+0x81): undefined reference to
> `KDcrawIface::RawDecodingSettings::~RawDecodingSettings()'
>
> border.cpp:(.text._ZN7Digikam12DRawDecodingD0Ev[Digikam::DRawDecoding::~DRa
>wDecoding()]+0xa9): undefined reference to
> `KDcrawIface::RawDecodingSettings::~RawDecodingSettings()'
> [...]
>
> I would ask you if someone has some advices about setting up a clean
> development environment: I cannot uninstall conflicting libraries, they can
> be used by other programs; is it possible to completely ovverride those
> libraries?

Sorry but with digiKam this will fail. To compile development version of 
digiKam you need the newest as possible (svn version preferred) of exiv2 AND 
kexiv2 (from kdegraphics module). Unfortunately it is impossible to get 
properly working digiKam with two versions of exiv2 in system.

Note: if you set up all paths - especially those for libraries - all other 
programs will find local versions of (k)exiv2 and should work without 
problems. Exiv2 you can uninstall by force in package manager - ugly, 
unadvised but effective.
 
Bigger problem is with kexiv2 - I don't know I you can compile and install 
this part solo, without support from svn version of whole kdegraphics, kdelibs 
etc.

m.



More information about the Digikam-users mailing list