Bug#819990: [libnvidia-ml1] can not dlopen(libnvidia-ml.so) from app

Christian Beer christian at os-tools.net
Mon Apr 4 20:19:02 UTC 2016


Am 04.04.2016 um 18:59 schrieb Luca Boccassi:
> On 4 April 2016 at 17:33, Christian Beer <christian at os-tools.net> wrote:
>> Package: libnvidia-ml1
>> Version: 352.79-5
>> Severity: normal
>> Tags: patch
>>
>> --- Please enter the report below this line. ---
>>
>> I don't know if this is suitable for this packet or if there is another
>> solution.
>>
>> I debugged an issue with the boinc-client package where it couldn't get
>> the cuda driver version using libnvidia-ml.so. It turns out I had to do
>> 'ln -s /usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-ml.so
>> /usr/lib/libnvidia-ml.so' in order to get the driver version because
>> dlopen() couldn't find the so file.
>>
>> Now whereis libnvidia-ml.so also works.
> 
> Hello Christian,
> 
> boinc-client should dlopen libnvidia-ml.so.1, which is in the main
> /usr/lib/*/ path.
> 
> is the version package by Debian doing this? Or a custom application?
> 

I was testing with the upstream version but this also happens with the
Debian package. I'll revert my symlink and test with both. I'll probably
build in a fallback upstream to first try libnvidia-ml.so.1 and then
libnvidia-ml.so

Regards
Christian



More information about the pkg-nvidia-devel mailing list