[Digikam-users] Linker error compiling 0.9.0-rc1 (solved!)

Paul Waldo pwaldo at waldoware.com
Thu Nov 23 13:28:13 GMT 2006


On Thursday 23 November 2006 7:59 am, Arnd Baecker wrote:
> On Thu, 23 Nov 2006, Paul Waldo wrote:
> [...]
>
> > g++: /usr/lib/libexiv2.so: No such file or directory
>
> [...]
>
> > Notice that the command contains "-L/usr/local/lib" and I do have exiv2
> > there: $ ls -l /usr/local/lib/libexiv2.*
> > -rw-r--r-- 1 pwaldo pwaldo 7086898 2006-10-26 08:30
> > /usr/local/lib/libexiv2.a -rw-r--r-- 1 pwaldo pwaldo     820 2006-10-26
> > 08:30 /usr/local/lib/libexiv2.la lrwxrwxrwx 1 pwaldo pwaldo      16
> > 2006-10-26
> > 08:30 /usr/local/lib/libexiv2.so -> libexiv2-0.11.so
>
> Do you also have a libexiv2-0.11.so ?
> (just to be sure ;-)
>
> > I'm dying to try the new digikam, but I'm stuck! :-(
>
> Could you try to copy and paste the above long compile line into
> the shell, but add  -L/usr/local/lib just before -lexiv2 ?
>
> No idea if that could help ...
>
> Best, Arnd

I found the problem!  The above suggestion didn't work, but got me to 
thinking:
$ ldconfig -p|grep exiv
        libexiv2-0.7.so (libc6) => /usr/lib/libexiv2-0.7.so
$ dpkg -S /usr/lib/libexiv2-0.7.so
libexiv2c2a: /usr/lib/libexiv2-0.7.so
$ sudo apt-get remove libexiv2c2a
[...]
$ sudo ldconfig

Make was then successful!  It was user error :-).  Thanks to all for the help 
and suggestions.  Now to play with RC1!!

Paul



More information about the Digikam-users mailing list