Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libmujoco200.so: undefined symbol: __glewBindBuffer #549

Open
guoyaq opened this issue Jul 2, 2020 · 11 comments
Open

libmujoco200.so: undefined symbol: __glewBindBuffer #549

guoyaq opened this issue Jul 2, 2020 · 11 comments

Comments

@guoyaq
Copy link

guoyaq commented Jul 2, 2020

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

@ganlinzhang
Copy link

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

@frank-xwang
Copy link

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

@Ji4chenLi
Copy link

Same problem here.

@csufangyu
Copy link

same problem +1

@csufangyu
Copy link

mybe you can try to :

sudo apt-get install libglfw3 libglew2.0

@xixinzhang
Copy link

same problem++

@sheilaschoepp
Copy link

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

@DanielTakeshi
Copy link

^ 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

@sheilaschoepp
Copy link

sheilaschoepp commented Aug 3, 2021

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

@Riften
Copy link

Riften commented Jul 23, 2022

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

@chenxi-yang
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants