stereolabs / zed-docker

Docker images for the ZED SDK
https://hub.docker.com/r/stereolabs/zed/
MIT License
52 stars 19 forks source link

libcublas.so is missing on runtime docker image #53

Open JWaynee opened 9 months ago

JWaynee commented 9 months ago

Preliminary Checks

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

  1. 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