openai/mujoco-py

libmujoco200.so: undefined symbol: __glewBindBuffer

guoyaq opened this issue · 11 comments

when I run
mjlib = cdll.LoadLibrary(libfile)
please help me
Traceback (most recent call last):
File "/home/gyq/anaconda2/envs/rllab3/lib/python3.5/site-packages/IPython/core/interactiveshell.py", line 2862, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
mjlib = cdll.LoadLibrary(libfile)
File "/home/gyq/anaconda2/envs/rllab3/lib/python3.5/ctypes/init.py", line 425, in LoadLibrary
return self._dlltype(name)
File "/home/gyq/anaconda2/envs/rllab3/lib/python3.5/ctypes/init.py", line 347, in init
self._handle = _dlopen(self._name, mode)
OSError: /home/gyq/ku/rllab/vendor/mujoco/libmujoco200.so: undefined symbol: __glewBindBuffer

hello,did you solve this problem? I meet the same problem.

Hi, I also met this problem, have you solved it? Thanks

Same problem here.

same problem +1

mybe you can try to :

sudo apt-get install libglfw3 libglew2.0

same problem++

to fix this: sudo apt-get install libglfw3 libglew2.1

^ I can confirm, after getting the same error, I checked my machine:

(d4rl) seita@lowland:~/d4rl (master) $ (dpkg-query -W -f='${Status}' libglfw3 2>/dev/null | grep -c "ok installed")
1
(d4rl) seita@lowland:~/d4rl (master) $ (dpkg-query -W -f='${Status}' libglew2.0 2>/dev/null | grep -c "ok installed")
0
(d4rl) seita@lowland:~/d4rl (master) $

And I did not have libglew2.0. Getting that there worked.

@sheilaschoepp I think libglew2.1 should be libglew2.0

@ DanielTakeshi
Maybe it depends on your system? For me, the libglew2.0 package was "unable to be located" on a system running Ubuntu 20.04. libglew2.1 solved the problem.

libglew2.1 should be libglew2.2 for ubuntu 22.04.

to fix this: sudo apt-get install libglfw3 libglew2.1

I tried this. But still encountered /.mujoco/mujoco210/bin/libmujoco210.so: undefined symbol: __glewBindBuffer. Any one met this before?