Bug#725649: nvcc fatal : Path to libdevice library not specified

Tomasz Rybak tomasz.rybak at post.pl
Tue Oct 15 18:39:54 UTC 2013

Dnia 2013-10-10, czw o godzinie 23:30 +0200, Andreas Beckmann pisze:
> On 2013-10-08 19:11, Tomasz Rybak wrote:
> > It seems error lies with nvidia-cuda-toolkit.
> > I've downloaded and tried to compile NVIDIA examples and got:
> > $ make
> > make[1]: Wejście do katalogu
> to get English output use
>   LC_ALL=C make
> in the future, no need to rerun it this time
> > so PyCUDA is just victim of this error. PyOpenCL works without
> > problems so it seems that fault lies with nvcc, not with
> > libraries responsible for compilation of kernels.
> There is probably some setting missing in /etc/nvcc.* (has the upstream
> config file some new entries in 5.5 that I forgot to add to the Debian
> customized one?)

You were right.
There is new entry
NVVMIR_LIBRARY_DIR = $(TOP)/nvvm/libdevice

after adding line
NVVMIR_LIBRARY_DIR = /usr/lib/nvidia-cuda-toolkit/libdevice
to nvcc.profile PyCUDA works without any problems.

> How can I easily reproduce the problem?
> > BTW - please add Conflicts: libcuinj64-5.0 to libcuinj64-5.5,
> > as both provide the same file 
> which file? probably the .so link, so needs to have Breaks+Replaces

Selecting previously unselected package libcuinj64-5.0:amd64.
(Reading database ... 720002 files and directories currently installed.)
Unpacking libcuinj64-5.0:amd64
(from .../libcuinj64-5.0_5.0.35-7_amd64.deb) ...
dpkg: error
processing /var/cache/apt/archives/libcuinj64-5.0_5.0.35-7_amd64.deb
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libcuinj64.so', which is
also in package libcuinj64-5.5:amd64 5.5.22-1


Tomasz Rybak  GPG/PGP key ID: 2AD5 9860
Fingerprint A481 824E 7DD3 9C0E C40A  488E C654 FB33 2AD5 9860

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20131015/244283db/attachment.sig>

More information about the pkg-nvidia-devel mailing list