×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Shared libraries problem with ATIK drivers on Raspbian

  • Posts: 94
  • Thank you received: 8
Hi,

I just created a new Raspbian Stretch install and installed all the INDI lib packages. When I tried to start the server with my devices, the ATIK filter wheel and CCD drivers complained of missing shared libraries:
2018-07-21T03:20:56: startup: indiserver indi_atik_wheel 
2018-07-21T03:20:56: Driver indi_atik_wheel: indi_atik_wheel: error while loading shared libraries: libcfitsio.so.2: cannot open shared object file: No such file or directory
and
2018-07-21T03:19:04: startup: indiserver indi_atik_ccd 
2018-07-21T03:19:04: Driver indi_atik_ccd: indi_atik_ccd: error while loading shared libraries: libnova-0.14.so.0: cannot open shared object file: No such file or directory
Child process 467 died
Both messages are repeated multiple times.

Having hacked shared libs before, I created symlinks from the existing libs to the versions the drivers wanted:
root@indi-pi:/usr/lib/arm-linux-gnueabihf# ls -l libnova.*
-rw-r--r-- 1 root root 3689218 Oct 27  2016 libnova.a
lrwxrwxrwx 1 root root      21 Oct 27  2016 libnova.so -> libnova-0.16.so.0.0.0
root@indi-pi:/usr/lib/arm-linux-gnueabihf# ln -s libnova.so libnova-0.14.so.0
 
root@indi-pi:/usr/lib/arm-linux-gnueabihf# ls -l libcfitsio.*
-rw-r--r-- 1 root root 1639148 Dec 20  2016 libcfitsio.a
lrwxrwxrwx 1 root root      15 Dec 20  2016 libcfitsio.so -> libcfitsio.so.5
lrwxrwxrwx 1 root root      20 Dec 20  2016 libcfitsio.so.5 -> libcfitsio.so.5.3.41
-rw-r--r-- 1 root root 1250116 Dec 20  2016 libcfitsio.so.5.3.41
root@indi-pi:/usr/lib/arm-linux-gnueabihf# ln -s libcfitsio.so libcfitsio.so.2 

This seems to satisfy the loader, but I haven't tried this out with the actual equipment yet, so, no idea if it works.

Any advice? Certainly I'll try out the equipment with this hack in place, but is there any way we can get these drivers updated to the recommended lib versions?

For completeness, I should say I ran "sudo apt-get updates; sudo apt-get upgrade" after the initial setup of Stretch, so I don't know if there were originally earlier versions of these libs present...

Thanks,

Charles
Ubuntu 18.04 and Raspbian Jessie; INDI 1.7.4
Mounts: CEM-60 chiefly; iEQ45
Cameras: Atik 383L+, QHY5-II-M
Focuser: Moonlite
The following user(s) said Thank You: Basil Rowe
5 years 8 months ago #27657

Please Log in or Create an account to join the conversation.

  • Posts: 712
  • Thank you received: 174
Hi Charles, I recommend to use INDIGO Atik driver instead. It is INDI compatible but doesn't use libcfitsio at all. Peter

indigo-astronomy.org/downloads.html
github.com/indigo-astronomy/indigo/blob/...s/ccd_atik/README.md
5 years 8 months ago #27661

Please Log in or Create an account to join the conversation.

I don't think the correct solution to this is to install a different (if compatible) framework. Why can't use use the ATIK blob just like all other blobs from SBIG/QHY/ZWO?

EDIT: Actually, the blobs are all available already here --> github.com/indigo-astronomy/indigo/tree/...ls/libatik/lib/Linux
So what's the problem with releasing the INDI driver?
Last edit: 5 years 8 months ago by Jasem Mutlaq.
5 years 8 months ago #27663

Please Log in or Create an account to join the conversation.

  • Posts: 94
  • Thank you received: 8
Lucky for me, the path of least resistance (symlinks) seems to work. So far, no issues with the filter wheel or camera.
Ubuntu 18.04 and Raspbian Jessie; INDI 1.7.4
Mounts: CEM-60 chiefly; iEQ45
Cameras: Atik 383L+, QHY5-II-M
Focuser: Moonlite
Last edit: 5 years 8 months ago by Charles Wright.
5 years 8 months ago #27668

Please Log in or Create an account to join the conversation.

Time to create page: 0.518 seconds