Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 714058 - dev-libs/check-0.14.0-r1[abi_x86_64,abi_x86_32]: wrong libdir in /usr/lib64/pkgconfig/check.pc
Summary: dev-libs/check-0.14.0-r1[abi_x86_64,abi_x86_32]: wrong libdir in /usr/lib64/p...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Joonas Niilola
: 714114 (view as bug list)
Depends on:
Reported: 2020-03-23 12:46 UTC by Marco Genasci
Modified: 2021-03-09 22:37 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Marco Genasci 2020-03-23 12:46:59 UTC
This check version return wrong pkgconfig --libs, I'm in amd64 arch and problem is present only if check is compiled for 32 and 64 bit support

$ pkg-config --libs check
-L/usr/lib -lcheck

That cause /usr/lib/ error adding symbols: file in wrong format for example compiling net-libs/libaccounts-glib-1.24-r1

The problem seems in the /usr/lib64/pkgconfig/check.pc file that have libdir=${exec_prefix}/lib instead of libdir=${exec_prefix}/lib64

The 0.14.0 version is not affected by this problem.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2020-03-23 13:14:37 UTC
The bug has been closed via the following commit(s):

commit 06d2b112fde3faca9767a93835c07009ada5b177
Author:     Joonas Niilola <>
AuthorDate: 2020-03-23 13:12:07 +0000
Commit:     Joonas Niilola <>
CommitDate: 2020-03-23 13:13:50 +0000

    dev-libs/check: update subunit logic, fix pkgconfig file
     - subunit & doc handling patches from #711390
     - .pc libdir issue when using multilib #714058
    Signed-off-by: Joonas Niilola <>

 dev-libs/check/check-0.14.0-r2.ebuild              | 58 ++++++++++++++++++++++
 .../check-0.14.0-r2-disable-automagic-dep.patch    | 23 +++++++++
 2 files changed, 81 insertions(+)
Comment 2 Andreas Sturmlechner gentoo-dev 2020-03-24 11:29:05 UTC
*** Bug 714114 has been marked as a duplicate of this bug. ***