mujoco-py
mujoco-py copied to clipboard
symbol lookup error: ~/.mujoco/mujoco200/bin/libglew.so: undefined symbol: glXGetProcAddressARB
Describe the bug I'm using mujoco to build training env but I met this error. But I'm even not clear how to locate this error, I've searched tons of information but nothing works. Most people suggest to install libglew2.1or something like this but it doesn't work for me.
Error Messages /home/jude/relSuite_venv/bin/python3: symbol lookup error: /home/jude/.mujoco/mujoco200/bin/libglew.so: undefined symbol: glXGetProcAddressARB
Desktop (please complete the following information):
- OS: Ubuntu 20.04
- Python Version 3.8.10
- Mujoco Version 200
- mujoco-py version 2.0.2.13
same problem and same setup
Same problem here
What fixed it for me: https://github.com/google-deepmind/dm_control/issues/3#issuecomment-355153027
- run
ldd $(which glxinfo) | grep libGL.so - Use that path in
LD_PRELOADnano ~/.bashrcLD_PRELOAD=<whatever came out in step 1>/libGL.sosource ~/.bashrc