make install fails

Michael Thaler michael.thaler at physik.tu-muenchen.de
Sun Feb 7 21:27:32 CET 2010


Hi,

On Sunday 07 February 2010, Cyrille Berger wrote:
> Hi,
> 
> You can try to see if by commenting the last two lines of
> krita/formats/ora/CMakeLists.txt helps.

Now I get:

set(DESTDIR_VALUE "$ENV{DESTDIR}")
if (NOT DESTDIR_VALUE)
  # under Windows relative paths are used, that's why it runs from 
CMAKE_INSTALL_PREFIX
  execute_process(COMMAND /usr/bin/update-mime-database /share/mime
                  WORKING_DIRECTORY )
endif (NOT DESTDIR_VALUE)

Commenting out these lines too fixed the problem.

When I start Krita, I get:

krita: error while loading shared libraries: libexiv2.so.5: cannot open shared 
object file: No such file or directory

$ ldd /usr/local/bin/krita|grep libexiv
        libexiv2.so.5 => not found

$ ls /usr/lib/libexiv2.*
/usr/lib/libexiv2.a   /usr/lib/libexiv2.so    /usr/lib/libexiv2.so.6.0.0
/usr/lib/libexiv2.la  /usr/lib/libexiv2.so.6

Creating a symlink solves it, but why does krita need libexiv.so.5 instead of 
just linking to libexiv.so?

Greetings,
Michael


More information about the kimageshop mailing list