LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-16-2024, 09:56 AM   #1
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,217

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
digikam not launching on current - this is weird.


As the title says, digikam fails to launch on one of my current systems.

On my desktop, digikam fails with

Code:
digikam
digikam: error while loading shared libraries: libunibreak.so.5: cannot open shared object file: No such file or directory
Well, of course, libunibreak is now at

Code:
libunibreak-6.1-x86_64-1
Here is the weird part. It works fine on my latop, with libunibreak at 6.1.

On both systems digikam has package

Code:
digikam-8.3.0-x86_64-1.txz
installed. After launching digikam on my laptop. the splash screen show version 8.4.0, and so does the about screen.

Any one else have issues with digikam?

I did reinstall digikam on the failing system, it still fails.
 
Old 03-16-2024, 10:01 AM   #2
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,972

Rep: Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551
No issues here. Try reinstalling libunibreak.

EDit: Add.
Code:
$ digikam --version
digikam 8.4.0
Code:
[ Status    ] [ Repository  ] [ Package                   ]
  installed     slackware64     libunibreak-6.1-x86_64-1 

[ Status    ] [ Repository  ] [ Package                 ]
  installed     slackware64     digikam-8.3.0-x86_64-1

Last edited by chrisretusn; 03-16-2024 at 10:04 AM.
 
Old 03-16-2024, 10:04 AM   #3
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,217

Original Poster
Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
After a reinstall of libunibreak;

Quote:
digikam
digikam: error while loading shared libraries: libunibreak.so.5: cannot open shared object file: No such file or directory
 
Old 03-16-2024, 10:33 AM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,217

Original Poster
Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
I re-installed libunibreak to version 5.1, and digikam works on my desktop. I does report digikam as 8.4.0.
 
Old 03-16-2024, 10:35 AM   #5
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,788

Rep: Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468
Is this up to date: libass-0.17.1-x86_64-2
 
1 members found this post helpful.
Old 03-16-2024, 11:10 AM   #6
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,217

Original Poster
Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
No, i'm seeing:

Quote:
ls -l /var/lib/pkgtools/packages | grep libass
-rw-r--r-- 1 root root 900 Feb 15 13:55 libass-0.17.1-x86_64-1
I will update it, put libunibreak back on 6.1 and report back.
 
Old 03-16-2024, 01:06 PM   #7
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,217

Original Poster
Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
I updated libass to:
Quote:
ls -l /var/lib/pkgtools/packages | grep libass
-rw-r--r-- 1 root root 902 Mar 16 13:57 libass-0.17.1-x86_64-2
and updated libunibreak to
Quote:
ls -l /var/lib/pkgtools/packages | grep libunibreak
-rw-r--r-- 1 root root 1074 Mar 16 13:58 libunibreak-6.1-x86_64-1
and digikam is now working normally.

I'm at a loss to explain why libass was not updated. I update my current systems daily ( when there are updated ) and for unknown reasons libass was not updated with everything else.

Thank-you for those who helped.

FWIW, Digikam is still reported as 8.4.0.
 
Old 03-16-2024, 04:41 PM   #8
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,788

Rep: Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468
Quote:
Originally Posted by camorri View Post
Code:
digikam: error while loading shared libraries: libunibreak.so.5: cannot open shared object file: No such file or directory
The reason for this kind of error is not always obvious. Digikam does not link directly to libunibreak. Instead, digikam links, for example, to libdigikamgui and libdigikamcore which link to libavfilter which links to libass which links to libunibreak.

Looking for 'not found' in the output of 'ldd /usr/bin/digikam' does not help, as it prints all direct library dependencies mixed with dependencies of dependencies, and so on.

The script below, 'lddtree', lists the direct library dependencies and their dependencies separately. In case of 'lddtree /usr/bin/digikam', looking for 'not found' would have pointed to libass.

Code:
#!/bin/sh
# lddtree
# List direct library dependencies and their dependencies and so on.
# Something like ldd, but ldd does not separate direct dependencies.
# pk 2024-03-16

function check {
  echo NEEDED by "$1":
  objdump -p "$1"|grep NEEDED|sed 's/ *NEEDED *//;s/$/ /;s/\./\\\./g' > $NEEDED
  ldd "$1"|grep -f $NEEDED|sed 's/ (.*//'
  echo
}

[ $# -ne 1 ] && echo 'Give a binary or a library.' && exit 1
objdump -p "$1" > /dev/null || exit 1
NEEDED=$(mktemp)
trap 'rm $NEEDED' EXIT
check "$1"
ldd "$1"|grep -v -e linux-vdso.so.1 -e statically -e 'not found' |\
sed 's/.*=> //;s/ (.*//' |\
while read line; do
  check $line
done

Last edited by Petri Kaukasoina; 03-17-2024 at 01:32 AM. Reason: Edited the first sed command to make grepping stricter
 
4 members found this post helpful.
Old 03-16-2024, 04:49 PM   #9
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,217

Original Poster
Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Thank-you for the explanation! and the script to check this type of error.
 
  


Reply

Tags
digikam, libunibreak



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
-current: Launching X or Wayland on the current console. Can this be changed? Lufbery Slackware 6 11-05-2020 03:08 PM
LXer: digiKam Recipes 5.0.1 Released and digiKam AppImage Package Coming LXer Syndicated Linux News 0 10-26-2016 04:30 PM
LXer: digiKam Quick Tip: Transfer Photos from digiKam Directly to a Mobile Device LXer Syndicated Linux News 0 01-23-2015 09:30 AM
[SOLVED] digikam not starting after installing kde4.10.5 - unable to compile digikam now. camorri Slackware 19 07-25-2013 04:43 PM
HP Photosmart weird weird weird.... Vlad_M Linux - General 5 02-20-2005 05:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration