[darktable-dev] Re: compile DT with new exiv2 version
It is working now. Here is what I did: I just upgraded to exvi2 0.25 from debian testing and elimitated all packages associated with version 0.24: 39# dpkg -l | grep exiv ii exiv2 0.25-3 amd64EXIF/IPTC/XMP metadata manipulation tool ii libexiv2-14:amd64 0.25-3 amd64EXIF/IPTC/XMP metadata manipulation library ii libexiv2-dev0.25-3 amd64EXIF/IPTC/XMP metadata manipulation library - development files But that alone is not sufficient because it gives compilation errors with DT: libdarktable.so: undefined reference to `Exiv2::XmpProperties::registerNs(std::string const&, std::string const&)' libdarktable.so: undefined reference to `Exiv2::XmpParser::encode(std::string&, Exiv2::XmpData const&, unsigned short, unsigned int)' Reason is that exvi2 from testing was compiled with the newer gcc in testing. So I had to upgrade that as well: sudo apt-get install -t testing gcc g++ That was it. I hope there are no other dependencies to old libexiv2 0.24 which I destroyed with this activitiy. Matthias ___ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org
[darktable-dev] Re: compile DT with new exiv2 version
Am 03.01.2017 um 17:31 schrieb c...@0n0e.com: > On 01/03/2017 03:22 AM, Matthias Bodenbinder wrote: >> Hello, >> >> I am running Mint LMDE and can not easily install exiv2 0.25 from testing >> because it has too many dependencies. >> I compiled version 0.25 by myself and installed it in /home/software/exiv2. >> In parallel I still have the default exiv2 version 0.24. >> >> How can I tell my self compiled darktable to use the new exvi2 0.25? It is >> still grabing the old version: >> libexiv2.so.13 => /usr/lib/x86_64-linux-gnu/libexiv2.so.13 > > Does the following work? (Change filepaths and filenames as needed.) > > $ export LD_PRELOAD=/home/software/exiv2/libexiv2.so.13 > $ /opt/darktable/bin/darktable That is interesting. With this setting it does ot work either but I see a different behaviour. The lens identifier in DT is left blank and on the commandline I see the following errors during import of the CR2 files: [exiv2] /home/matthias/Bilder/Fotos/tmp/16-35/IMG_0972.CR2: Image type /home/matthias/Bilder/Fotos/tmp/16-35/IMG_0972.CR2 is not supported [exiv2] /home/matthias/Bilder/Fotos/tmp/16-35/IMG_0972.CR2: Image type /home/matthias/Bilder/Fotos/tmp/16-35/IMG_0972.CR2 is not supported [exiv2] /home/matthias/Bilder/Fotos/tmp/16-35/IMG_0983.CR2: Image type /home/matthias/Bilder/Fotos/tmp/16-35/IMG_0983.CR2 is not supported Weird. Matthias ___ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org