Current code:
libName = "/usr/lib/x86_64-linux-gnu/lib" + libName + ".so.1"
Results in this:
OSError: /usr/lib/x86_64-linux-gnu/libze_loader.so.1:
cannot open shared object file
Replacing the hardcoded path with something like:
from ctypes.util import find_library
libName = find_library("ze_loader")
fixes the issue.
Current code:
libName = "/usr/lib/x86_64-linux-gnu/lib" + libName + ".so.1"Results in this:
Replacing the hardcoded path with something like:
fixes the issue.