From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Wed Sep 15 2010 - 13:09:28 CDT

2010/9/15 Knut Jørgen Bjuland <knutjorgen_at_gmail.com>:
>  I have tried to compile the cvs version of vmd to get python working.
> Though I am having some trouble in compiling the cuda part.  I get this
> error message when compiling vmd.
>
> Linking  vmd_LINUXAMD64 ...
> /usr/bin/ld: cannot find -lcudart
> collect2: ld returned 1 exit status
> make: *** [vmd_LINUXAMD64] Error 1
>
> Then I try to see if I the system can see the installed cuda-3.2.
>
> ldconfig -v |grep cuda
> /usr/local/cuda/lib64:
>    libcudart.so.3 -> libcudart.so.3.2.9
>    libcudartemu.so.3 -> libcudartemu.so.3.0.14
> /usr/local/cuda/lib:
>    libcudart.so.3 -> libcudart.so.3.2.9
>    libcudartemu.so.3 -> libcudartemu.so.3.0.14
>    libcuda.so.1 -> libcuda.so.256.53
>    libcuda.so.1 -> libcuda.so.256.53
>    libicudata.so.42 -> libicudata.so.42.1
>    libicudata.so.42 -> libicudata.so.42.1
>
> Then it seems to be in order. Do I have wrong version of cuda, or do I have

nope. that is not in order. the linker will only look
for either libcudart.so or libcudart.a which are
missing. libcudart.so would typically be a symbolic
link to libcudart.so.3

cheers,
    axel.

> set one option recarding cuda wrongly. I have a rpmfusion package version of
> nvidia driver.

>
>
>

-- 
Dr. Axel Kohlmeyer    akohlmey_at_gmail.com
http://sites.google.com/site/akohlmey/
Institute for Computational Molecular Science
Temple University, Philadelphia PA, USA.