Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 888309

Summary: dev-util/nvidia-cuda-toolkit-11.8.0-r3 - ldconfig: file /opt/cuda/lib64/lib{cusolver,cusolverMg,nppif}.so is truncated
Product: Gentoo Linux Reporter: Bernd <waebbl-gentoo>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bernd 2022-12-25 10:38:50 UTC
Several libraries installed into the /opt/cuda/lib64 path seem to be broken.

/etc # env-update 
>>> Regenerating /etc/ld.so.cache...
/sbin/ldconfig: file /opt/cuda/lib64/libnppif.so.11.8.0.86 is truncated

/sbin/ldconfig: file /opt/cuda/lib64/libcusolver.so is truncated

/sbin/ldconfig: file /opt/cuda/lib64/libcusolver.so.11 is truncated

/sbin/ldconfig: file /opt/cuda/lib64/libnppif.so is truncated

/sbin/ldconfig: file /opt/cuda/lib64/libcusolverMg.so.11.4.1.48 is truncated

/sbin/ldconfig: file /opt/cuda/lib64/libcusolver.so.11.4.1.48 is truncated

/sbin/ldconfig: file /opt/cuda/lib64/libcusolverMg.so is truncated

/sbin/ldconfig: file /opt/cuda/lib64/libcusolverMg.so.11 is truncated

/sbin/ldconfig: file /opt/cuda/lib64/libnppif.so.11 is truncated


Running `file` on one of the libraries says, that sections headers are missing:

/etc # file /opt/cuda/lib64/libcusolver.so.11.4.1.48 
/opt/cuda/lib64/libcusolver.so.11.4.1.48: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, missing section headers at 302702160

Trying to run `ldd` on one of the libraries gives an error:

/etc # ldd /opt/cuda/lib64/libcusolver.so.11.4.1.48 
ldd: exited with unknown exit code (135)

Reproducible: Always