LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   kate not launching after upgrade - error while loading shared libraries: libimobiledevice-glue-1.0.so.0 (https://www.linuxquestions.org/questions/slackware-arm-108/kate-not-launching-after-upgrade-error-while-loading-shared-libraries-libimobiledevice-glue-1-0-so-0-a-4175708112/)

TheTKS 02-15-2022 10:10 PM

kate not launching after upgrade - error while loading shared libraries: libimobiledevice-glue-1.0.so.0
 
Tonight I upgraded SlackwareARM -current on my RPi4.

After the upgrade, kate wouldn't launch from the application menu, so I tried from the command line:

Code:

bash-5.1$ kate
kate: error while loading shared libraries: libimobiledevice-glue-1.0.so.0: cannot open shared object file: No such file or directory

I checked for the library. There it was - gone!

Code:

bash-5.1$ cd /usr/lib
bash-5.1$ ls -l *imobile*
lrwxrwxrwx 1 root root    29 Feb 15 18:25 libimobiledevice-1.0.so -> libimobiledevice-1.0.so.6.0.0
lrwxrwxrwx 1 root root    29 Feb 15 18:25 libimobiledevice-1.0.so.6 -> libimobiledevice-1.0.so.6.0.0
-rwxr-xr-x 1 root root 121112 Jan 24 05:18 libimobiledevice-1.0.so.6.0.0

I checked
https://slackware.uk/slackwarearm/sl...urce/FILE_LIST
which included l/libimobiledevice-glue-20211125_3cb687b-arm-2.txz. The -current changelog doesn't mention an update, although the stable changelog does on Jan 24.

I ran
Code:

# slackpkg install libimobiledevice-glue-20211125_3cb687b-arm-2
which installed and there it is:

Code:

bash-5.1$ ls -l *libimobile*
...

lrwxrwxrwx 1 root root    34 Feb 15 22:32 libimobiledevice-glue-1.0.so -> libimobiledevice-glue-1.0.so.0.0.0
lrwxrwxrwx 1 root root    34 Feb 15 22:32 libimobiledevice-glue-1.0.so.0 -> libimobiledevice-glue-1.0.so.0.0.0
-rwxr-xr-x 1 root root  26252 Jan 24 05:22 libimobiledevice-glue-1.0.so.0.0.0

kate now runs.

Reporting in case there is something wrong with how the upgrade is run rather than just a one time error during my upgrading tonight. I didn't see error messages while upgrading, but then I haven't gone and looked for any.

TKS

xor_ebx_ebx 02-18-2022 06:01 PM

If I'm not mistaken, slackpkg checks the changelog for new packages when you run install-new. Since libimobiledevice-glue was added recently and the changelog for -current was reset after the release of 15.0 I'm guessing you hadn't run slackpkg install-new recently and it missed the addition

Pitfalls of running -current. Easy to fix at least

TheTKS 02-20-2022 08:04 AM

Quote:

Originally Posted by xor_ebx_ebx (Post 6331095)
If I'm not mistaken, slackpkg checks the changelog for new packages when you run install-new. Since libimobiledevice-glue was added recently and the changelog for -current was reset after the release of 15.0 I'm guessing you hadn't run slackpkg install-new recently

xor_ebx_ebx, thanks, that's exactly it. I last updated in December, before libimobiledevice-glue was added. I ran this update after the -current changelog was reset.

Edit: also verified that nothing else was added (that I needed) or removed (only in extra, which I hadn't installed) during that time.

TKS


All times are GMT -5. The time now is 02:34 AM.