VirtualGL / virtualgl

Main VirtualGL repository
https://VirtualGL.org
Other
701 stars 106 forks source link

Incorrect path for MacOS libGL.1.dylib #119

Closed dgriffiths3 closed 4 years ago

dgriffiths3 commented 4 years ago

I am trying to run version 2.6.3 with MacOS Catalina (10.15.4) as a client. The installation goes fine, however, when I try to run:

/opt/VirtualGL/bin/vglconnect <username>@<server_ip>

I get the error:

dyld: Library not loaded: /usr/X11/lib/libGL.1.dylib
  Referenced from: /opt/VirtualGL/bin/vglclient
  Reason: image not found
  [VGL] ERROR: vglclient failed to execute.

The file libGL.1.dylib is stored in /opt/X11/lib and not /usr/X11/lib. I have tried to make a symlink but MacOS already has a X11 link in /usr for something else and I can not change this.

dgriffiths3 commented 4 years ago

Solved this. You can just symlink if you disable Catalina system file restrictions. Works once you add the symlink.

dcommander commented 4 years ago

Should be fixed now. Refer to commit log for explanation.