Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938483 - media-gfx/inkscape-1.3.2-r2 wrong libdir for pkg-config
Summary: media-gfx/inkscape-1.3.2-r2 wrong libdir for pkg-config
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks: pkg-config_mismatched-libdir
  Show dependency tree
 
Reported: 2024-08-25 06:46 UTC by Ulrich Müller
Modified: 2025-02-16 15:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2024-08-25 06:46:26 UTC
pkg-config announces lib2geom in /usr/lib:

   $ pkg-config --libs 2geom
   -L/usr/lib -l2geom

... but installs it in /usr/lib64 (as it should, this is a 64 bit system):

   $ qlist -e inkscape | grep lib2geom
   /usr/lib64/lib2geom.so
   /usr/lib64/lib2geom.so.1.3.0

AFAICS this is because src/3rdparty/2geom/2geom.pc.in hard-codes "lib" for libdir.

Presumably it should use @CMAKE_INSTALL_LIBDIR@ (and @CMAKE_INSTALL_INCLUDEDIR@ for includedir) instead.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2025-02-16 15:23:31 UTC
(In reply to Ulrich Müller from comment #0)
> pkg-config announces lib2geom in /usr/lib:
> 
>    $ pkg-config --libs 2geom
>    -L/usr/lib -l2geom
> 
> ... but installs it in /usr/lib64 (as it should, this is a 64 bit system):
> 
>    $ qlist -e inkscape | grep lib2geom
>    /usr/lib64/lib2geom.so
>    /usr/lib64/lib2geom.so.1.3.0
> 
> AFAICS this is because src/3rdparty/2geom/2geom.pc.in hard-codes "lib" for
> libdir.
> 
> Presumably it should use @CMAKE_INSTALL_LIBDIR@ (and
> @CMAKE_INSTALL_INCLUDEDIR@ for includedir) instead.

Could you please file a bug for lib2geom, see here?
https://gitlab.com/inkscape/lib2geom