Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888309 - dev-util/nvidia-cuda-toolkit-11.8.0-r3 - ldconfig: file /opt/cuda/lib64/lib{cusolver,cusolverMg,nppif}.so is truncated
Summary: dev-util/nvidia-cuda-toolkit-11.8.0-r3 - ldconfig: file /opt/cuda/lib64/lib{c...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-25 10:38 UTC by Bernd
Modified: 2022-12-25 10:39 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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