libcublas.so is missing on runtime docker image
JWaynee opened this issue · comments
JWaynee commented
Preliminary Checks
- This issue is not a duplicate. Before opening a new issue, please search existing issues.
- This issue is not a question, feature request, or anything other than a bug report directly related to this project.
Description
When I try to run the object detection with zed ros2 wrapper in the docker 4.0-runtime-cuda11.8-ubuntu20.04 image I get the error that libcublas.so is missing. In the devel image the library is available. What is the best way to fix this issue?
I know that I can add it via -v /usr/local/cuda-11.8/targets/x86_64-linux/lib/:/usr/local/cuda-11.8/targets/x86_64-linux/lib/. But in this case the lib depends on the cuda version on my host which is not nice.
Thanks Jeremy
Steps to Reproduce
- run zed ros2 wrapper in 4.0-runtime-cuda11.8-ubuntu20.04 docker image
Expected Result
object detection runs smoothly
Actual Result
libcublas is missing and application crashes
ZED Camera model
ZED2i
Environment
Ubuntu 20.04
ros2 foxy
Anything else?
No response