-
Notifications
You must be signed in to change notification settings - Fork 62
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
Can't find -lGL while building go-vncserver, symlink issue? #26
Comments
I tried stuff given here #14 and here https://techtidings.blogspot.com/2012/01/problem-with-libglso-on-64-bit-ubuntu.html For the 1st one, please can you tell me how to update to go 1.7? I tried using apt-get but it says its the latest version For the 2nd link, I can see that I have libGL.so at several places. But what about -lGL ? I'm relatively new to Linux so please could you tell what should be the name of the symbolic link and what it should point to? I have mesa folder |
Also, I tried the following based on openai/universe#42
|
Ok so after gaining some more understanding into symlinks, I finally fixed the issue. So basically there were a whole lot of libGL.so.* , all pointing to other similarly named files. But all were tiny files i.e. shortcuts. For some reason, the real file was not on my system. So I took a copy of a libGL file from another system (where default NVIDIA OpenGL was installed and untouched by mesa) but this one was .5 Mb i.e. a real file and not just a shortcut. And then created a symlink to point to this newly acquired file. Detailed steps that I did (You may need to modify accordingly):
which showed :
So finally we have libGL.so(in the x86_64-linux-gnu/ folder) pointing to libGL.so (inside x86_64-linux-gnu/mesa ) which is finally pointing to libGL.so.1.2.0 (also inside the mesa folder but actually contains the file) Build go-vncdriver as before and install it. It shouldn't give any error. Then install universe. |
Hi everyone
I'm trying to install Universe on a GTX1080 Ubuntu 14.04 Desktop. I'd like to have OpenGL rendering. However I was getting the "VNC server not built using OpenGL error", so I'm reinstalling go-vncserver.
However, I'm getting the following error:
Note: could not build with OpenGL rendering (cf https://github.com/openai/go-vncdriver). This is expected on most servers. Going to try building without OpenGL.
Building without OpenGL: GOPATH=/home/exx/go-vncdriver/.build go build -tags no_gl -buildmode=c-shared -o go_vncdriver.so github.com/openai/go-vncdriver
I'm relatively new to Linux. But from what I understand, I think there should be some sort of a shortcut/symbolic link perhaps that could resolve this. Becuase I do have openGL installed.
Also in the /usr/bin/ folder, I have an ld shortcut that links to ld.bfd
Please help. Thanks
The text was updated successfully, but these errors were encountered: