Library is missing when the user starts inkscape: $ inkscape inkscape: error while loading shared libraries: lib2geom.so.1.1.0: cannot open shared object file: No such file or directory Confirmed with ldd: ldd /usr/bin/inkscape | grep found lib2geom.so.1.1.0 => not found Reproducible: Always
[2021-12-26T21:03:29+0000] <@jstein> Hi, I am a bit confused: inkscape-9999 compiled and installed fine, but lddtree /usr/bin/inkscape responds: [2021-12-26T21:03:29+0000] <@jstein> lib2geom.so.1.1.0 => not found [2021-12-26T21:03:29+0000] <@jstein> How could this not fail? According to portfilelist it should be shipped by media-gfx/inkscape [2021-12-26T21:04:36+0000] <@ionen> maybe it uses rpath and lddtree is not picking that up? [2021-12-26T21:06:05+0000] <@jstein> ionen: well in fact inkscape fails to start, so I would not blame lddtree per se: [2021-12-26T21:06:05+0000] <@jstein> inkscape: error while loading shared libraries: lib2geom.so.1.1.0: cannot open shared object file: No such file or directory [2021-12-26T21:06:06+0000] <@sam_> or no rpath st all when it should be [2021-12-26T21:06:18+0000] <@sam_> does your inkscape install that at all? [2021-12-26T21:07:58+0000] <@jstein> equery f media-gfx/inkscape | grep lib2geom # has no match [2021-12-26T21:08:46+0000] <@sam_> ok so let's start there [2021-12-26T21:10:04+0000] <@sam_> do you have USE=static-libs? [2021-12-26T21:10:05+0000] <@sam_> -DBUILD_SHARED_LIBS=$(usex !static-libs) [2021-12-26T21:18:44+0000] <scardracs> jstein: fedora provides it as separate library [2021-12-26T21:19:15+0000] <@sam_> yeah looking at it, i think that might be a better way forward [2021-12-26T21:19:26+0000] <scardracs> Uh, not fedora but ALT Linux [2021-12-26T21:19:27+0000] <@sam_> it's using a bundled copy as fallback right no [2021-12-26T21:19:27+0000] <@sam_> w
yes, I had USE=static-libs
Does something actually need static-libs for this? Feels like we should just strip it.
(In reply to Sam James from comment #3) > Does something actually need static-libs for this? Feels like we should just > strip it. I see absolutely no reason for that flag to exist.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e58c99a40fbd7dac1049684104c46e3e76951dc0 commit e58c99a40fbd7dac1049684104c46e3e76951dc0 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2022-01-22 19:18:45 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2022-01-22 19:18:45 +0000 media-gfx/inkscape: Remove useflag static-libs (now always off) Closes: https://bugs.gentoo.org/830972 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> media-gfx/inkscape/Manifest | 2 +- media-gfx/inkscape/inkscape-1.1.1.ebuild | 6 +++--- media-gfx/inkscape/inkscape-9999.ebuild | 7 +++---- 3 files changed, 7 insertions(+), 8 deletions(-)