Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 503064

Summary: dev-db/libdbi-drivers-0.9.0 on multilib picks wrong libdir
Product: Gentoo Linux Reporter: Georgi Georgiev <>
Component: [OLD] LibraryAssignee: Robin Johnson <robbat2>
Severity: normal CC: candrews
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 506276    
Attachments: libdbi-drivers-lib.patch

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(-)