Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266637 - sci-misc/boinc: init script doesn't respect location of amd64 cuda files
Summary: sci-misc/boinc: init script doesn't respect location of amd64 cuda files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Tomáš Chvátal (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-04-18 10:07 UTC by Bernhard Hartleb
Modified: 2009-04-23 16:00 UTC (History)
1 user (show)

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


Attachments
boinc-respect-amd64-cuda-libdir.patch (boinc-respect-amd64-cuda-libdir.patch,1.38 KB, patch)
2009-04-19 16:06 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Hartleb 2009-04-18 10:07:12 UTC
After a fresh install of dev-util/nvidia-cuda-toolkit-2.1 and sci-misc/boinc-6.4.5-r1 yesterday, I noticed this message in my BOINC logs:
"Can't load library libcudart"

This is because the BOINC init script is supposed to symlink /opt/cuda/lib/libcudart.so into a BOINC specifiy directory. But there is no /opt/cuda/lib directory/symlink, at least on amd64.

Manually creating the symlink to lib64 solves the problem.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-19 16:01:21 UTC
This is rather a bug in boinc's init script and not in nvidia-cuda-toolkit package.
I try to hack up a patch...
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-19 16:06:00 UTC
Created attachment 188889 [details, diff]
boinc-respect-amd64-cuda-libdir.patch

Voila. Please someone test this on a x86 (32bit) machine as I have no access to one currently.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2009-04-22 15:58:51 UTC
Whoops ;]
Well on my defense i dont poses any nvidia so i never really tested the cuda :]
As a sidenote dosed is being deprecated. But dont worry i will get to this on saturday and commit properly :]
Currently too busy elsewhere :]
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2009-04-23 16:00:39 UTC
fertig
thanks :]
Just rebuild it if you want it, for new guys it will work and the issue is not worth bumping :]