I have a problem under Debian sid:
because the "native" libexiv2 in sid is version 0.25 an this version is
a little bit old it doesn't know my "new" lens(es). So I installed the
latest version (0.26) under /opt/exiv2, which works fine.
I set (export) these Environment-variables:
PKG_CONFIG_PATH=/opt/exiv2/lib/pkgconfig:/usr/local/lib/x86_64-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
CMAKE_INCLUDE_PATH=/opt/exiv2/include/exiv2
CMAKE_LIBRARY_PATH=/opt/exiv2/lib
LD_LIBRARY_PATH=/opt/exiv2/lib
and run ./buid.sh under /tmp/darktable-2.4.2.

First it looks fine:

...
-- Found JsonGlib
-- Found EXIV2: /opt/exiv2/lib/libexiv2.so
-- Found FLICKCURL: /usr/lib/x86_64-linux-gnu/libflickcurl.so
...

but later on I get this:

...
[ 51%] Linking C shared module libtethering.so
libdarktable.so: undefined reference to `Exiv2::XmpParser::decode(Exiv2::XmpData&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' libdarktable.so: undefined reference to `Exiv2::ExifKey::ExifKey(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' libdarktable.so: undefined reference to `Exiv2::ExifData::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' libdarktable.so: undefined reference to `Exiv2::XmpProperties::registerNs(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' libdarktable.so: undefined reference to `Exiv2::readFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' libdarktable.so: undefined reference to `Exiv2::XmpParser::encode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, Exiv2::XmpData const&, unsigned short, unsigned int)' libdarktable.so: undefined reference to `Exiv2::XmpKey::XmpKey(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' libdarktable.so: undefined reference to `Exiv2::Xmpdatum::operator=(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' libdarktable.so: undefined reference to `Exiv2::XmpTextValue::XmpTextValue(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' libdarktable.so: undefined reference to `Exiv2::XmpData::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' libdarktable.so: undefined reference to `Exiv2::Metadatum::print[abi:cxx11](Exiv2::ExifData const*) const' libdarktable.so: undefined reference to `Exiv2::ImageFactory::open(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' libdarktable.so: undefined reference to `Exiv2::XmpTextValue::read(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' libdarktable.so: undefined reference to `Exiv2::IptcKey::IptcKey(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' libdarktable.so: undefined reference to `Exiv2::Exifdatum::operator=(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' libdarktable.so: undefined reference to `Exiv2::Value::toString[abi:cxx11]() const' libdarktable.so: undefined reference to `Exiv2::PreviewImage::mimeType[abi:cxx11]() const'
collect2: error: ld returned 1 exit status
src/CMakeFiles/darktable.dir/build.make:181: recipe for target 'src/darktable' failed
make[2]: *** [src/darktable] Error 1
CMakeFiles/Makefile2:1145: recipe for target 'src/CMakeFiles/darktable.dir/all' failed
make[1]: *** [src/CMakeFiles/darktable.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 51%] Built target print
[ 51%] Built target slideshow
[ 51%] Linking C shared module libmap.so
[ 51%] Linking C shared module libknight.so
[ 51%] Built target tethering
[ 51%] Built target knight
[ 51%] Built target map
[ 51%] Linking C shared module libdarkroom.so
[ 51%] Built target darkroom
[ 51%] Linking C shared module liblighttable.so
[ 51%] Built target lighttable
Makefile:151: recipe for target 'all' failed

The cmake_link_script (CMakeFiles/darktable.dir/link.txt) is this:
/usr/bin/cc -fPIC -Wall -fno-strict-aliasing -Wformat -Wformat-security -Wshadow -Wtype-limits -Wvla -Wold-style-declaration -Wno-error=varargs -Wno-format-truncation -Wframe-larger-than=32768 -Wstack-usage=32768 -Wlarger-than=524288 -std=c99 -fopenmp -march=native -msse2 -g -mfpmath=sse -O2 -g -DNDEBUG -O2 -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed -shared -o libtethering.so CMakeFiles/tethering.dir/tethering.c.o -Wl,-rpath,"\$ORIGIN/../lib/darktable" ../libdarktable.so ../external/LuaAutoC/liblautoc.a -lpthread -lm -lglib-2.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lgphoto2 -lgphoto2_port -lIlmImf -lImath -lIex -lIlmThread -lwebp -llensfun -lgthread-2.0 -lgmodule-2.0 -lpangocairo-1.0 -lrsvg-2 -lsqlite3 -lcurl -lpng -lz -ljpeg -ltiff -llcms2 -ljson-glib-1.0 /opt/exiv2/lib/libexiv2.so -lflickcurl -lopenjp2 -lsecret-1 -lGraphicsMagick -llua5.3 -lpugixml -losmgpsmap-1.0 -lgtk-3 -lgdk-3 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lcolord -lcolordprivate -lcolord-gtk -lglib-2.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lgphoto2 -lgphoto2_port -lIlmImf -lImath -lIex -lIlmThread -lwebp -llensfun -lgthread-2.0 -lgmodule-2.0 -lpangocairo-1.0 -lrsvg-2 -lsqlite3 -lcurl -lpng -lz -ljpeg -ltiff -llcms2 -ljson-glib-1.0 /opt/exiv2/lib/libexiv2.so -lflickcurl -lopenjp2 -lsecret-1 -lGraphicsMagick -llua5.3 -lpugixml -losmgpsmap-1.0 -lgtk-3 -lgdk-3 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lcolord -lcolordprivate -lcolord-gtk -lcups


Can anyone tell me what I have done wrong?


With regards
Dieter

____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]

Reply via email to