×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Dependency problem on RPI2 with atikccd

  • Posts: 9
  • Thank you received: 2
First of all I would like to thank the whole community for a superb job done on all the INDI development.

I have installed INDI V1.2.0 on RPI2 running Ubuntu Mate for RPI2. I took it from the PPA repository thru an installation of kstars-bleeding. The installation does not install ATIK drivers and I have attempted to install the atikccd-0.41-armhf.deb 3rd-party package. Installed all the dependencies. However, I still having trouble with "Error: Dependency is not satisfiable: libcfitsio3".
What can I do?
Many thanks in advance for any suggestions.
BR
Andy
Last edit: 8 years 3 months ago by Andreas Scholz.
8 years 3 months ago #6577

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

  • Posts: 712
  • Thank you received: 174
Hi Andy,

there is never version of the driver here: www.cloudmakers.eu/atikdrivers . To install libcfitsio3 try

$ sudo apt-get install cfitsio

I'm not quite sure, but I believe it is available on Ubuntu Mate distribution. Peter
8 years 3 months ago #6578

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

  • Posts: 9
  • Thank you received: 2
Hey Peter,
thanks for your quick answer!

Unfortunately the same problem with the newer library version 0.45.
The suggested command does not work (package cannot be found)
libcfitsio3 does not seem to exist. There is a libcfitsio3-dev which is already up top date on my RPI2.
Andy
8 years 3 months ago #6579

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

  • Posts: 712
  • Thank you received: 174
Hm, this is strange... Unfortunately, this is not a driver bug, it really needs libcfitsio3.

But if libcfitsio3-dev is already installed, try to install it ignoring dependencies with --ignore-depends switch for dpkg.

(I never tried it, just found it here: cuiborails.wordpress.com/2014/03/21/dpkg...-ignore-dependencies)

Peter
Last edit: 8 years 3 months ago by Peter Polakovic.
8 years 3 months ago #6580

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

  • Posts: 9
  • Thank you received: 2
Hey Peter,
thanks for this hint. The good news #1 is: The package can be installed in this way. The good news #2 is: I can start indi_atik_ccd and it talks to my camera. The bad news is: This confuses the package manager and apt-get becomes virtually useless. So, this is only a solution for a short time.

Will make more tests tomorrow night or so. Maybe I will terminate my Ubuntu adventure and go back to Raspian and build everything from scratch.
Best Regards
Andy
8 years 3 months ago #6582

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

Peter, Debian in all their collective wisdom, decided to rename the library to libcfitsio2, it's still cfitsio v3 but the SO name is 2 now, don't ask me why.
8 years 3 months ago #6583

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

  • Posts: 712
  • Thank you received: 174
Great, it seems, that I'll remove this dependency from the driver and will rely on that it is installed anyway on machine with INDI :) Peter
Last edit: 8 years 3 months ago by Peter Polakovic.
8 years 3 months ago #6585

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

  • Posts: 193
  • Thank you received: 46
can you make the dependacy 2 or 3 ? I've never taken a close look at how debian specifies dependancies, but the systems I have worked with give the option to make it depend on one or the other, and installation will drag along whichever is available.
8 years 3 months ago #6601

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

  • Posts: 712
  • Thank you received: 174
To be honest I don't know. But dependency on the package name is not an issue, some cfitsio is definitely present on the system if INDI is installed. What can be a problem is if .so library has a different name. Peter
8 years 3 months ago #6604

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

  • Posts: 9
  • Thank you received: 2
I just wanted to let the community know the latest status on this:
(1) The wrong library name is an official debian bug - no idea when they will fix it.
(2) I removed the dependency from the package
(3) Created a symbolic link for libcfitsio3 for dynamic linking
-> Picture taking works fine now.
Let's see what happens when the bug is corrected...
Thanks to everyone for their answers.
The following user(s) said Thank You: Peter Polakovic, Radek Kaczorek
8 years 3 months ago #6702

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

  • Posts: 983
  • Thank you received: 375
I confirm this issue.
Ubuntu 15.10 is distributed with libcfitsio2, which contains libcfitsio.so.2 and not libcfitsio.so.3
Quick fix is to run # ln -s /usr/lib/arm-linux-gnueabihf/libcfitsio.so.2 /usr/lib/arm-linux-gnueabihf/libcfitsio.so.3
This however does not fix apt-get inconsistency. Which is pain for any update.

Peter, I believe that removing this dependency from the driver is the best idea. The driver itself should require libindi1 only. All the other dependencies are indirect and are applicable to libindi1, not atik_ccd.
8 years 2 months ago #6827

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

  • Posts: 712
  • Thank you received: 174
Yes, I'll do it in next version. Peter
The following user(s) said Thank You: Radek Kaczorek
8 years 2 months ago #6831

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

Time to create page: 3.062 seconds