Closed chensley42 closed 2 years ago
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days
@chensley42 , did you find a solution to this issue?
I am running sdk in a container. But I have the same issue. Any idea please?
Preliminary Checks
Description
I've just made a clean install of the latest version of the ZED api on my x86 system running Ubuntu 20.04 with Cuda 11.7. I downloaded the runfile for the appropriate release of the latest api version and installed it without issue, including the python API. Normally, I have no problem importing and using the python api. However, I have some scripts using the camera which require to be run with sudo in order to access some other modules. With the prior version of the python api (for cuda 11.4) this was no problem, but the new version throws an importation error for an undefined symbol when running the python script as root. Note that the issue only appears when running as superuser, the api works just fine without the superuser priviliges. The issue is as follows:
Since this functionality had worked fine in the past, and it seemed like an issue with the cpython links directly, I figured I should file a report and also ask if there was a workaround for now.
Steps to Reproduce
Expected Result
module imports successfully
Actual Result
ImportError: /usr/local/lib/python3.8/dist-packages/pyzed/sl.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN2sl14InitParametersC1ENS_10RESOLUTIONEibNS_10DEPTH_MODE_4UNITENS_17COORDINATE_SYSTEMbiffbibNS_6StringEiP8CUctx_stNS_9InputTypeES5_bb
ZED Camera model
ZED2i
Environment