Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SBIG STF-402 camera not supported by downlevel armhf libsbigudrv2 package #204

Closed
garlick opened this issue Aug 22, 2020 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@garlick
Copy link

garlick commented Aug 22, 2020

Apparently the SBIG STF-402 camera requires universal driver version 4.99, as documented in garlick/sbig-util#45.

I think the armhf library that is currently in the repo is 4.84 while the other architectures moved forward to 4.99. As I understand it, the reason for this was a build problem alluded to in #24, this comment.

I think there may be a working armhf build posted here:
https://forum.diffractionlimited.com/threads/linux-drivers-for-arm-v8-64bit.6290/

Edit: I should say that we tested the armhf binary extracted from the posted deb on raspbian buster and it didn't have any dependency problems. Perhaps it is broken on ubuntu 32 bit?

Since astroberry is shipping the INDI libsbigudrv2 package for armhf, this camera won't work with astroberry. Sadness occurs. Same problem with sbig-util, a set of command line utilities for these cameras that I maintain, when run on raspbian 32 bit.

I realize having these libraries built on request using opaque processes and posted privately is not an optimal arrangment! Your efforts to put these in a "normal" package are really appreciated. Especially when they work :-) Thanks in advance.

@garlick garlick added the bug Something isn't working label Aug 22, 2020
@garlick
Copy link
Author

garlick commented Aug 22, 2020

Verified this is still a problem on current master:

$ for i in libsbig_*.bin; do  echo $i; strings $i|grep LINUX; done
libsbig_arm64.bin
libsbigudrv Ver 4.99-LINUX
libsbig_armhf.bin
libsbigudrv Ver 4.84-LINUX
libsbig_x64.bin
libsbigudrv Ver 4.99-LINUX

@rkaczorek
Copy link
Contributor

@knro it looks like commit a1686d6 included older version of sbig libs than intended.
See forum post for details.

@knro knro closed this as completed in 4fe56da Aug 26, 2020
@knro
Copy link
Collaborator

knro commented Aug 26, 2020

So actually, the armhf was not updated due to dependency on GLIBC 2.28 which was not widespread at that time. I think it's acceptable now to have it in the repo but it will no longer work on older distributions.

@garlick
Copy link
Author

garlick commented Aug 26, 2020

Thanks! Confirmed problem solved on current master.

$  for i in libsbig_*.bin; do  echo $i; strings $i|grep LINUX; done
libsbig_arm64.bin
libsbigudrv Ver 4.99-LINUX
libsbig_armhf.bin
libsbigudrv Ver 4.99-LINUX
libsbig_x64.bin
libsbigudrv Ver 4.99-LINUX

lboclboc pushed a commit to lboclboc/indi-3rdparty that referenced this issue Sep 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants