×

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

Bi-monthly release with minor bug fixes and improvements

indi_qhy_ccd crashing

  • Posts: 239
  • Thank you received: 38

Replied by Sonny Cavazos on topic indi_qhy_ccd crashing

IF you install the QHYSDK from the QHYCCD.com website, the files get put in different locations.

I have seen this when I installed the latest QHYSDK from the QHY website. If you have installed the SDK, uninstall it and re-install the INDI QHY driver.
1 year 7 months ago #86244

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

  • Posts: 26
  • Thank you received: 1
Interestingly enough I figured out the latest SDK provided for Linux by QHY (at least the last one I found) ships a
.so.22.8.17.17
version of the lib, but the symlink is
.so.20
...
That's probably a bug and you should rename that link to
.so.22
, which is exactly the shared object file your system is missing.
All libs should be installed in /usr/local/lib which is a quite common location for manually installed software and most systems should look in this folders for files. So I would assume that simply renaming the file will fix the problem.
(Assuming you installed the library from the QHY SDK here)
The following user(s) said Thank You: Dan Holler
1 year 7 months ago #86245

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

  • Posts: 124
  • Thank you received: 28

Replied by Michael on topic indi_qhy_ccd crashing

Hi Alex,
I recognize the same problem with actual SDK from QHY. Doing the right links in /usr/local/lib still gives me the message:

ldd /usr/bin/indi_qhy_ccd |grep libqhy*
libqhyccd.so.22 => not found

Any ideas about this.
Setup is ubuntu 22.04 with actual 3.6.1 KStars and EKOS and latest QHY SDK

@ Sonny: How do you uninstall SDK and re-install the INDI QHY driver?
1 year 6 months ago #86804

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

  • Posts: 239
  • Thank you received: 38

Replied by Sonny Cavazos on topic indi_qhy_ccd crashing

If you download the SDK and unpack it you will see two shell commands:

uninstall.sh
distclean.sh

run both of those ./uninstall.sh and ./distclean.sh

To re-install, you just re-install the INDI driver package.
Last edit: 1 year 6 months ago by Sonny Cavazos.
1 year 6 months ago #86807

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

  • Posts: 124
  • Thank you received: 28

Replied by Michael on topic indi_qhy_ccd crashing

Hi Sonny,
did this:

sudo bash uninstall.sh
sudo bash distclean.sh
sudo apt-get install indi-full kstars-bleeding --reinstall

still:
ldd /usr/bin/indi_qhy_ccd |grep libqhy*

shows:
libqhyccd.so.22 => not found


see the QHY600 in /dev as symlink.
I had the sdk always in the past installed and running. Since upgrade to ubuntu 22.04 (from 20.04) I have this problem.

Any further thoughts about what I'm doing wrong ?
Many thanks
Michel
1 year 6 months ago #86809

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

  • Posts: 26
  • Thank you received: 1
Did you run ldconfig after renaming the symlink from /usr/local/lib/libqhyccd.so.20 to /usr/local/lib/libqhyccd.so.22?
1 year 6 months ago #86816

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

  • Posts: 124
  • Thank you received: 28

Replied by Michael on topic indi_qhy_ccd crashing

No did not, but after uninstall and mistclean and reinstall Indi-full there is no lib in /usr/local/lib.
The SDK install the libs there, but indi does not. Any thoughts ?
Michel
1 year 6 months ago #86844

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

  • Posts: 124
  • Thank you received: 28

Replied by Michael on topic indi_qhy_ccd crashing

Add:
I installed the SDK again, but also made the lib renamed and run ldconfig, but the message libqhyccd.so.22 not found persists. Does EKOS search at another place for this lib? I now /usr/local/lib should be the right one, but...
Michel
1 year 6 months ago #86860

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

  • Posts: 124
  • Thank you received: 28

Replied by Michael on topic indi_qhy_ccd crashing

Add:

found out that the library has to be present in /lib/x86_64-linux-gnu, which makes no sense for me for and user installed lib.
So renaming it there (also with SDK) makes INDI find the lib now....
Still I do not know why -> somebody could explain this? Many thanks.

Michel
1 year 6 months ago #86861

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

  • Posts: 239
  • Thank you received: 38

Replied by Sonny Cavazos on topic indi_qhy_ccd crashing

I do recall seeing the QHY driver libraries were changed in the GITHUB version.

Why don't you try installing from the GitHub version:

github.com/indilib/indi-3rdparty

You may need to update the indi base as well:

github.com/indilib/indi

I use those without any issue.
1 year 6 months ago #86912

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

  • Posts: 239
  • Thank you received: 38
1 year 6 months ago #86913

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

  • Posts: 124
  • Thank you received: 28

Replied by Michael on topic indi_qhy_ccd crashing

Hi,

thanks to all, I managed to do it. Finally I used the SDK version (as with it I'm able to test camera function without EKOS as well) and made a link from
in /lib/x86_64-linux-gnu/libqhyccd.so.22 to /usr/local/lib/libqhy.so.22.8.17.17 and run ldconfig afterwards.

Many thanks

Michel
1 year 6 months ago #86915

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

Time to create page: 0.548 seconds