First, please forgive me if this post seems to be outside the bounds of the MakeHuman software. I have MH working perfectly on my Linux Mint 20.1 system. I am trying to get it to work within a chroot container on this same system. The reason I think you may be able to help is because the problem seems to do with python3 not finding the ctype: GL within the container despite the fact that all libraries, drivers, busses, sockets, apps, etc, are simply remounted from the main system into the container system. The only thing left out from the main OS is the user home directories. The container has a new assigned user. Blender and some opengl test programs such as glxgears are running fine within the container. They output to the main system's desktop display with no problem.
The error message occurs right after succesfully loading numpy;
- Code: Select all
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/OpenGL/platform/glx.py", line 14, in GL
return ctypesloader.loadLibrary(
File "/usr/lib/python3/dist-packages/OpenGL/platform/ctypesloader.py", line 45, in loadLibrary
return dllType( name, mode )
File "/usr/lib/python3.8/ctypes/__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: ('GL: cannot open shared object file: No such file or directory', 'GL', None)
I've used NVidia's 390 drivers on my geforce 1080 for a long time and it has worked perfectly when some of their later drivers were flaky. I reinstalled it tonight since opengl support comes from NVidia's installed software. No change.
I know almost nothing about python is the reason I'm asking if anyone can clarify what python is looking for. It seems to want an opengl.so library which does not exist at all in Linux Mint 20.1 (including the repositories). Yet, MH runs perfectly from the main system without this library.
TIA for any clarification of the python ctype:GL.
Best regards,
Bob G.