Created attachment 226243 [details] graphics/inkscape: add missing dependencies inkscape is linked to libboost_filesystem.so.1.72.0 and /usr/local/lib/libreadline.so.8 which are both not declared as dependencies. The attached patch adds these.
(In reply to Philipp Ost from comment #0) Do you know which file depends on them? I ran 'readelf -d' but I couldn't find boost and readline in the output.
(In reply to Ting-Wei Lan from comment #1) It's inkscape itself: # readelf -d work/stage/usr/local/bin/inkscape | grep boost 0x0000000000000001 NEEDED Shared library: [libboost_filesystem.so.1.72.0] # readelf -d work/stage/usr/local/bin/inkscape | grep readline 0x0000000000000001 NEEDED Shared library: [libreadline.so.8]
(In reply to Philipp Ost from comment #2) Do you know where they come from? Do they come from some non-default options? Running 'readelf -d /usr/local/bin/inkscape | grep -e boost -e readline' shows nothing on my system.
(In reply to Ting-Wei Lan from comment #3) No, I currently do not know where these missing dependencies come from. poudriere testport using a 12.2-Release amd64 jail also reports libboost_filesystem.so and libreadline.so as missing dependencies. This is with the default options. I will investigate further and report back with my findings.
(In reply to Philipp Ost from comment #4) I found you are right. These dependencies are introduced in version 1.1. I was using version 1.0.2_6, which didn't depend on boost and readline.
The last version fail for me with "missing_header" if the POPPLER option is disabled.
(In reply to Alexandre C. Guimarães from comment #6) That's already fixed upstream: https://gitlab.com/inkscape/inkscape/-/blob/e8d1acbb2ba23bcbf360bcd1ad6adccd1f6b8a31/src/inkscape-version-info.cpp
(In reply to Alexandre C. Guimarães from comment #6) I created a separate bug report: Bug 257687