-
Notifications
You must be signed in to change notification settings - Fork 204
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
ldconfig returns "is truncated" for latest sbig libs #24
Comments
I have also seen this issue on 64-bit Intel Mint 19 |
So while the version is 4.9.9, sbig internal name is still libsbigudrv.so.1 So I used patchelf (latest version) to change the soname to libsbig.so.4. This was done on 18.04 and it appears to be working on Ubuntu. SBIG can be extremely slow in responding to changes so I went ahead with the patchelf. But it would great if they can release a fixed version. Another issue I found is that their armhf version was compiled under buster and requires glibc 2.28 which is not available on most LTS distros now. I again asked them to update it and awaiting their response. Any suggestions welcome. |
I have also seen this issue on raspberry PI 3 Raspbian Buster |
I too encountered this issue last night on Debian Buster. This is related to https://sourceware.org/bugzilla/show_bug.cgi?id=23964 and https://sourceware.org/bugzilla/show_bug.cgi?id=25087. The libsbig version in the latest INDI had its soname set to libsbig.so.4 using patchelf, as Jasem mentioned in a prior post. After a bit of digging, I located this thread: https://forum.diffractionlimited.com/threads/linux-drivers-for-arm-v8-64bit.6290/ Downloads of this package are restricted to Diffraction Limited forum members; don't ask why. I created an account and downloaded and installed the package: # dpkg -l libsbigudrv1 Crucially, ldconfig is happy with this /usr/lib/libsbigudrv.so; it does not consider it truncated: The last step was to recompile indi-sbig (out of the indi-3rdparty git repo) linking against libsbigudrv. This required editing indi-3rdparty/cmake_modules/FindSBIG.cmake, replacing "find_library(SBIG_LIBRARIES NAMES sbig" with "find_library(SBIG_LIBRARIES NAMES sbigudrv". I still do not know where SBIG/Diffraction Limited's official repository resides. ftp://sbig.com/pub/ looked promising and contains some useful information, but not the Linux driver I was looking for. If anyone could point me in the right direction, I'd appreciate it. |
Closing as this must be fixed by upstream SBIG. |
ldconfig: file /usr/lib/arm-linux-gnueabihf/libsbig.so.4 is truncated
ldconfig: file /usr/lib/arm-linux-gnueabihf/libsbig.so is truncated
ldconfig: file /usr/lib/arm-linux-gnueabihf/libsbig.so.4.9.9 is truncated
The text was updated successfully, but these errors were encountered: