Skip to content

Hamamatsu camera symbol lookup error #291

Description

@juliomateoslangerak

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions