mujoco-py icon indicating copy to clipboard operation
mujoco-py copied to clipboard

symbol lookup error: ~/.mujoco/mujoco200/bin/libglew.so: undefined symbol: glXGetProcAddressARB

Open Jude-zzc opened this issue 3 years ago • 3 comments

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

Jude-zzc avatar Mar 16 '22 07:03 Jude-zzc

same problem and same setup

Charles-YUAN-MA avatar Mar 21 '22 17:03 Charles-YUAN-MA

Same problem here

dlxo2568 avatar May 13 '22 08:05 dlxo2568

What fixed it for me: https://github.com/google-deepmind/dm_control/issues/3#issuecomment-355153027

  1. run ldd $(which glxinfo) | grep libGL.so
  2. Use that path in LD_PRELOAD nano ~/.bashrc LD_PRELOAD=<whatever came out in step 1>/libGL.so source ~/.bashrc

BurgerAndreas avatar Jan 16 '24 13:01 BurgerAndreas