Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314175 - dev-util/nvidia-cuda-sdk doesn't set correct LDPATH on amd64
Summary: dev-util/nvidia-cuda-sdk doesn't set correct LDPATH on amd64
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-09 16:29 UTC by Kamil Kisiel
Modified: 2010-10-10 13:08 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 Kamil Kisiel 2010-04-09 16:29:50 UTC
/etc/env.d/99cuda has:

LDPATH=/opt/cuda/lib

Whereas on amd64 it should be:

LDPATH=/opt/cuda/lib64

Of course this causes the libraries to not be found:

$ /opt/cuda/sdk/C/bin/linux/release/deviceQuery
/opt/cuda/sdk/C/bin/linux/release/deviceQuery: error while loading shared libraries: libcudart.so.3: cannot open shared object file: No such file or directory

Reproducible: Always

Steps to Reproduce:
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2010-04-09 21:39:50 UTC
Which exact version of dev-util/nvidia-cuda-sdk please?!
Comment 2 Kamil Kisiel 2010-04-10 01:49:23 UTC
Sorry, forgot to mention. I'm using 3.0.0.
Comment 3 Michal Januszewski (RETIRED) gentoo-dev 2010-07-05 11:00:50 UTC
Actually, the env.d file is installed by nvidia-cuda-toolkit, not nvidia-cuda-sdk.  Assuming you're running nvidia-cuda-toolkit-3.0, are you still seeing this problem on your system?  I'm on amd64, and the entry definitely pooints to lib64.