I'm trying to connect with a Hamamatsu camera (ORCA-Spark) in Linux (Ubuntu 23.04) and I'm getting the following error when I try to get the list of cameras.
(venv) julio@img-mifobio:~/PycharmProjects/microscope$ python microscope/cameras/hamamatsu.py list-devices
python: symbol lookup error: /usr/local/hamamatsu_dcam/api/modules/libdcamdig.so: undefined symbol: _Z12get_filepathPciS_
same error calling _list_devices directly or trying to initialize a camera with some id (0, "0", 1, "1").
I traced the error to line 230 (_DCAM_API.init)
status = dcam.api_init(ctypes.byref(_DCAM_API._api))
I checked with Hamamatsu's own tool and it reports properly a camera connected:
julio@img-mifobio:~/Apps/DCAM-API_for_Linux_v4.0.6644/tools/x86_64$ ./dcamcfgc
dcamcfgc: DCAM Configurator ver 23.6.6644
Initializing DCAM-API...
Found a camera
1: C11440-36U (S/N: 000424)
[Parameter List]
--- C11440-36U (S/N: 000424) Ver:1.12.C ---
None
hit the Enter key to finish!
Any idea of can be wrong?
I'm trying to connect with a Hamamatsu camera (ORCA-Spark) in Linux (Ubuntu 23.04) and I'm getting the following error when I try to get the list of cameras.
(venv) julio@img-mifobio:~/PycharmProjects/microscope$ python microscope/cameras/hamamatsu.py list-devices python: symbol lookup error: /usr/local/hamamatsu_dcam/api/modules/libdcamdig.so: undefined symbol: _Z12get_filepathPciS_same error calling _list_devices directly or trying to initialize a camera with some id (0, "0", 1, "1").
I traced the error to line 230 (_DCAM_API.init)
I checked with Hamamatsu's own tool and it reports properly a camera connected:
Any idea of can be wrong?