Created attachment 560756 [details] /var/log/portage/media-libs:gexiv2-0.10.10:20190112-104602.log FAILED: gexiv2/libgexiv2.so.2.0.0 x86_64-pc-linux-gnu-g++-7.4.0 -o gexiv2/libgexiv2.so.2.0.0 'gexiv2/1a6c516@@gexiv2@sha/meson-generated_.._gexiv2-enums.cpp.o' 'gexiv2/1a6c516@@gexiv2@sha/gexiv2-metadata.cpp.o' 'gexiv2/1a6c516@@gexiv2@sha/gexiv2-metadata-exif.cpp.o' 'gexiv2/1a6c516@@gexiv2@sha/gexiv2-metadata-gps.cpp.o' 'gexiv2/1a6c516@@gexiv2@sha/gexiv2-metadata-iptc.cpp.o' 'gexiv2/1a6c516@@gexiv2@sha/gexiv2-metadata-xmp.cpp.o' 'gexiv2/1a6c516@@gexiv2@sha/gexiv2-stream-io.cpp.o' 'gexiv2/1a6c516@@gexiv2@sha/gexiv2-preview-properties.cpp.o' 'gexiv2/1a6c516@@gexiv2@sha/gexiv2-preview-image.cpp.o' 'gexiv2/1a6c516@@gexiv2@sha/gexiv2-log.cpp.o' 'gexiv2/1a6c516@@gexiv2@sha/gexiv2-startup.cpp.o' -Wl,--no-undefined -Wl,--as-needed -shared -fPIC -Wl,--start-group -Wl,-soname,libgexiv2.so.2 -march=x86-64 -mtune=k8 -mcx16 -msahf -msse3 --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -O2 -pipe -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--version-script,/tmp/portage/media-libs/gexiv2-0.10.10/work/gexiv2-0.10.10/gexiv2/gexiv2.map /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so /usr/lib/libexiv2.so -Wl,--end-group /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libexiv2.so: error adding symbols: file in wrong format collect2: error: ld returned 1 exit status Looks like something smart tries to hardcode absolute path to libexiv2, and fails hard at guessing the right libdir.
Oh, it's actually a bug in exiv2 which is as unmaintained as gexiv2.
(In reply to Michał Górny from comment #1) > Oh, it's actually a bug in exiv2 which is as unmaintained as gexiv2. Both seem quite active to me.