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

libmujoco200.so: undefined symbol: __glewBindBuffer

Open guoyaq opened this issue 6 years ago • 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

guoyaq avatar Jul 02 '20 11:07 guoyaq

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

ganlinzhang avatar Sep 07 '20 12:09 ganlinzhang

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

frank-xwang avatar Oct 25 '20 07:10 frank-xwang

Same problem here.

Ji4chenLi avatar Oct 30 '20 09:10 Ji4chenLi

same problem +1

csufangyu avatar Nov 14 '20 11:11 csufangyu

mybe you can try to :

sudo apt-get install libglfw3 libglew2.0

csufangyu avatar Nov 15 '20 01:11 csufangyu

same problem++

xixinzhang avatar Jan 10 '21 14:01 xixinzhang

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

sheilaschoepp avatar Jul 08 '21 18:07 sheilaschoepp

^ 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 avatar Aug 03 '21 01:08 DanielTakeshi

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

sheilaschoepp avatar Aug 03 '21 01:08 sheilaschoepp

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

Riften avatar Jul 23 '22 06:07 Riften

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?

chenxi-yang avatar Jul 27 '22 07:07 chenxi-yang