seeing-things / zwo

ZWO SDK and custom software for debugging and using it.
23 stars 4 forks source link

deb missing on apt.fury.io repo for armv7 arch #49

Closed VigibotDev closed 3 years ago

VigibotDev commented 4 years ago

root@raspberrypi:~/zwo/capture/bin# ./capture ./capture: error while loading shared libraries: libASICamera2.so.1.14.1119: cannot open shared object file: No such file or directory

root@raspberrypi:~/zwo/capture/bin# sudo bash -c 'echo "deb [trusted=yes] https://apt.fury.io/jgottula/ /" > /etc/apt/sources.list.d/jgottula.list'

root@raspberrypi:~/zwo/capture/bin# apt update Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:2 http://archive.raspberrypi.org/debian buster InRelease Ign:3 https://apt.fury.io/jgottula InRelease Ign:4 https://apt.fury.io/jgottula Release Ign:5 https://apt.fury.io/jgottula Packages Ign:6 https://apt.fury.io/jgottula Translation-en Ign:7 https://apt.fury.io/jgottula Translation-en_GB Get:5 https://apt.fury.io/jgottula Packages [1,949 B] Ign:6 https://apt.fury.io/jgottula Translation-en Ign:7 https://apt.fury.io/jgottula Translation-en_GB Ign:6 https://apt.fury.io/jgottula Translation-en Ign:7 https://apt.fury.io/jgottula Translation-en_GB Ign:6 https://apt.fury.io/jgottula Translation-en Ign:7 https://apt.fury.io/jgottula Translation-en_GB Ign:6 https://apt.fury.io/jgottula Translation-en Ign:7 https://apt.fury.io/jgottula Translation-en_GB Ign:6 https://apt.fury.io/jgottula Translation-en Ign:7 https://apt.fury.io/jgottula Translation-en_GB Ign:6 https://apt.fury.io/jgottula Translation-en Ign:7 https://apt.fury.io/jgottula Translation-en_GB Fetched 1,949 B in 4s (467 B/s) Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. root@raspberrypi:~/zwo/capture/bin# apt install libasicamera2 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: libasicamera2 : Depends: libc6:amd64 but it is not installable Depends: libc6:i386 but it is not installable Depends: libgcc1:amd64 but it is not installable Depends: libgcc1:i386 but it is not installable Depends: libstdc++6:amd64 but it is not installable Depends: libstdc++6:i386 but it is not installable Depends: libudev1:amd64 but it is not installable Depends: libudev1:i386 but it is not installable Depends: libusb-1.0-0:amd64 but it is not installable Depends: libusb-1.0-0:i386 but it is not installable E: Unable to correct problems, you have held broken packages.

root@raspberrypi:~/zwo/capture/bin# rm /etc/apt/sources.list.d/jgottula.list

VigibotDev commented 4 years ago

What this package do ? To workaround I just copied the official "libASICamera2.so.1.15.0617" on my /usr/local/lib/, I created a Symlink for the versionless file. I launched ldconfig and done...

root@raspberrypi:/usr/local/lib# ls -lha total 1.5M drwxr-xr-x 4 root root 4.0K Jul 4 20:59 . drwxr-xr-x 11 root root 4.0K Jun 6 21:25 .. lrwxrwxrwx 1 root root 26 Jul 4 20:59 libASICamera2.so -> libASICamera2.so.1.15.0617 -rwxr-xr-x 1 root root 1.5M Jul 4 20:59 libASICamera2.so.1.15.0617

bgottula commented 4 years ago

Yeah so you of course can just use the official library for your platform. We found a bug in the official binary on Linux that was preventing it from recovering quickly after a USB stall, resulting in more dropped frames than we were seeing on Windows with the same camera configuration. We were seeing this under the most demanding settings (60 FPS at full resolution for the ASI178MM or MC). If it isn't a problem for you then there's no reason not to just use the official libraries. If you want to try our patched version check out #51 where @jgottula added support for ARMv7. If you do please let us know if it works for you or not since we don't have a PI 4 to try it on.

VigibotDev commented 4 years ago

Your patched version is interesting for me ! Thank you