sdss / flicamera

A library and actor to control Finger Lakes Instrumentation cameras
https://sdss-flicamera.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
12 stars 4 forks source link

Compiled libfli fails with error "undefined symbol: libusb_list" #5

Closed albireox closed 3 years ago

albireox commented 3 years ago

When installing the package from source or wheel, and running a command such as flicamera status, it fails with

OSError: /home/albireo/Code/flicamera/flicamera/libfli.cpython-38-x86_64-linux-gnu.so: undefined symbol: libusb_list

It seems the cause is that when I replaced the code for what directories and libraries to compile with when in GH or RTD environment, I messed up and now it's not compiling with libusb at all.

albireox commented 3 years ago

Fixed in #6