Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503064 - dev-db/libdbi-drivers-0.9.0 on multilib picks wrong libdir
Summary: dev-db/libdbi-drivers-0.9.0 on multilib picks wrong libdir
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Robin Johnson
Keywords: PATCH
Depends on:
Blocks: no-symlink-lib
  Show dependency tree
Reported: 2014-02-28 16:38 UTC by Georgi Georgiev
Modified: 2018-01-28 17:38 UTC (History)
1 user (show)

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

libdbi-drivers-lib.patch (libdbi-drivers-lib64.patch,294 bytes, patch)
2014-02-28 16:38 UTC, Georgi Georgiev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Georgi Georgiev 2014-02-28 16:38:32 UTC
Created attachment 371438 [details, diff]

On a system with a profile where /usr/lib does not contain native libraries, building libdbi-drivers fails as it cannot find libdbi (it seems to only look in /usr/lib).

A fix is to add the following line to the econf line:

--with-dbi-libdir=/usr/$(get_libdir) \

Also attaching a patch for easy application (to version 0.9.0).
Comment 1 Bob Johnson 2018-01-16 04:11:37 UTC
Ran into this on my 17.1 profile stable amd64 test system. The patch fixes the issue.
Comment 2 Larry the Git Cow gentoo-dev 2018-01-28 17:38:17 UTC
The bug has been closed via the following commit(s):

commit baf686a780fa602bc4affee7168c76310f6fbb32
Author:     Georgi Georgiev <>
AuthorDate: 2018-01-28 17:29:35 +0000
Commit:     Zac Medico <>
CommitDate: 2018-01-28 17:38:10 +0000

    dev-db/libdbi-drivers: fix configure for 17.1 profiles (bug 503064)
    Package-Manager: Portage-2.3.20, Repoman-2.3.6

 dev-db/libdbi-drivers/libdbi-drivers-0.9.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)