carla: error while loading shared libraries: libomp.so.5
CARLA version: 0.9.12 Platform/OS: ubuntu-18.04.1 Problem you have experienced: when i run in docker, i get the error. What you expected to happen: /home/carla/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping: error while loading shared libraries: libomp.so.5: cannot open shared object file: No such file or directory Steps to reproduce: Other information (documentation you consulted, workarounds you tried):
docker pull carlasim/carla:0.9.12
sudo docker run --privileged --gpus all --net=host -v /tmp/.X11-unix:/tmp/.X11-unix:rw carlasim/carla:0.9.12 /bin/bash ./CarlaUE4.sh -RenderOffScreen
then i get the error:
/home/carla/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping: error while loading shared libraries: libomp.so.5: cannot open shared object file: No such file or directory
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 14
- Comments: 16 (6 by maintainers)
Hi,
when I installed libomp5 it worked for me:
apt-get install libomp5
br mawi
Solved my issue by executing the following two lines:
sudo apt-get update sudo apt-get install libomp5
Why not static link
libomp.so.5
? Would help the binary run on distros that lack this particular library in their repo without containers.@bernatx It is fixed in the docker images, but not in the 0.9.12 and 0.9.13 release builds people fetch from Github. Could you fix those as well?
Hi, The problem with the libomp5 library has been fixed, and also the configuration in the docker if you want to use CARLA headless (offscreen). The last changes has been updated in the docker images:
carlasim/carla:0.9.12 carlasim/carla:latest
Thanks for all the reports
Thank you, the “-RenderOffscreen” option fixed my problem (I didn’t notice the change)