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

Bug 265722

Summary: dev-util/nvidia-cuda-toolkit-2.1 installs files to lib64
Product: Gentoo Linux Reporter: Georgi Georgiev <chutz+bugs.gentoo.org>
Component: Current packagesAssignee: Michal Januszewski (RETIRED) <spock>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: nvidia-toolkit-amd64.patch

Description Georgi Georgiev 2009-04-11 02:10:19 UTC
I assume this only happens with paludis. Installing nvidia-cuda-toolkit-2.1 with paludis will install libraries and binaries in a lib64 directory instead of the intended lib.

A simple fix that worked at least in paludis is to add the following line

export CONF_LIBDIR_OVERRIDE="lib"

in place of the current

# don't use lib32 or lib64 directories
unset ABI

According to the PMS this is indeed the proper way of overriding the library directory.
http://dev.gentoo.org/~gentoofan23/pms/eapi-2-approved/pms.html#x1-123001r4
Comment 1 Georgi Georgiev 2009-04-11 02:12:07 UTC
Created attachment 187940 [details, diff]
nvidia-toolkit-amd64.patch

This one works for me.

Brings the ebuild in line with the PMS.
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2009-04-13 19:19:23 UTC
Fixed in CVS, thanks for the patch :)