Bug 465680 - Fails to start due to missing library in openSUSE
Summary: Fails to start due to missing library in openSUSE
Status: VERIFIED DOWNSTREAM
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Runtime (show other bugs)
Version: 7.9.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-13 18:22 UTC by heikkivalisuo
Modified: 2023-02-23 07:26 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.10.0
Sentry Crash Report:


Attachments
attachment-1730620-0.html (1.46 KB, text/html)
2023-02-13 20:16 UTC, heikkivalisuo
Details
attachment-1761614-0.html (1.43 KB, text/html)
2023-02-14 05:27 UTC, heikkivalisuo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description heikkivalisuo 2023-02-13 18:22:09 UTC
SUMMARY
***
digikam: error while loading shared libraries: libopenblas.so.0: cannot open shared object file: No such file or directory

***

STEPS TO REPRODUCE
Click gui icon to start. Nothing happens

try to start from command line: The above error

SOFTWARE/OS VERSIONS



Linux/KDE Plasma: 
Opensuse Tumbleweed 20230212
KDE Plasma Version: 5.26.5
KDE Frameworks Version:  5.102.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
openblas at
/lib64/openblas-pthreads/libopenblas.so.0
Comment 1 Maik Qualmann 2023-02-13 20:13:10 UTC
Are we actually talking about AppImage or about the openSUSE packages?
If AppImage, why don't you use the openSUSE packages?

Maik
Comment 2 heikkivalisuo 2023-02-13 20:16:52 UTC
Created attachment 156207 [details]
attachment-1730620-0.html

Actually I use openSuse packages but appimage was the nearest choice I
fojnd in the bug reporting tool.

ma 13. helmik. 2023 klo 22.13 Maik Qualmann <bugzilla_noreply@kde.org>
kirjoitti:

> https://bugs.kde.org/show_bug.cgi?id=465680
>
> Maik Qualmann <metzpinguin@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |metzpinguin@gmail.com
>
> --- Comment #1 from Maik Qualmann <metzpinguin@gmail.com> ---
> Are we actually talking about AppImage or about the openSUSE packages?
> If AppImage, why don't you use the openSUSE packages?
>
> Maik
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 Maik Qualmann 2023-02-13 20:19:12 UTC
Then it's a package problem, report it to openSUSE. I use Tumbleweed myself and will test it again later. A common mistake is to mix different repositories, which then leads to these bugs in programs.

Maik
Comment 4 Maik Qualmann 2023-02-13 21:20:37 UTC
Yes, it's a package problem. The package libopenblas-pthreads0 should contain the file according to the package list, but it actually doesn't.

Maik
Comment 5 heikkivalisuo 2023-02-14 05:27:34 UTC
Created attachment 156217 [details]
attachment-1761614-0.html

Thanks!

ma 13. helmik. 2023 klo 23.20 Maik Qualmann <bugzilla_noreply@kde.org>
kirjoitti:

> https://bugs.kde.org/show_bug.cgi?id=465680
>
> Maik Qualmann <metzpinguin@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|REPORTED                    |RESOLVED
>    Version Fixed In|                            |7.10.0
>          Resolution|---                         |DOWNSTREAM
>
> --- Comment #4 from Maik Qualmann <metzpinguin@gmail.com> ---
> Yes, it's a package problem. The package libopenblas-pthreads0 should
> contain
> the file according to the package list, but it actually doesn't.
>
> Maik
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 6 Thomas Rother 2023-02-14 21:30:44 UTC
Confirmend for update to 7.9 on openSUSE Tumbleweed, VERSION="20230213" using the standard repos
Comment 7 Maik Qualmann 2023-02-14 21:42:07 UTC
Even with today's update, the error has not yet been eliminated. Since the problem also affects my developer version and I could no longer link digiKam because openCV no longer finds the libopenblas, I carried out a workaround. OpenSUSE has started moving libopenblas to subdirectories. It helps to copy or link the libopenblas.so.0:

cp /usr/lib64/openblas-pthreads/libopenblas.so.0 /usr/lib64/

Maik
Comment 8 Thomas Rother 2023-02-14 21:50:32 UTC
I reopened this bug, I would not consider it as "resolved" until there is no working build available - even when it will be fixed in a future version ;-)
Comment 9 Maik Qualmann 2023-02-14 21:53:17 UTC
This is not a digiKam bug, we cannot fix anything. This is an openSUSE package issue, this needs to be reported to openSUSE. We are not the creators of the packages.

Maik
Comment 10 Thomas Rother 2023-02-14 21:57:42 UTC
ok, you are right, this should be moved to https://bugzilla.suse.com/ as it is a build issue, not a source code issue
Comment 11 Maik Qualmann 2023-02-15 07:09:07 UTC
The problem seems to have been found:

https://bugzilla.suse.com/show_bug.cgi?id=1208248

Maik
Comment 12 Maik Qualmann 2023-02-16 17:48:02 UTC
*** Bug 465857 has been marked as a duplicate of this bug. ***
Comment 13 caulier.gilles 2023-02-20 11:46:44 UTC
*** Bug 466132 has been marked as a duplicate of this bug. ***
Comment 14 Rafael Linux User 2023-02-20 20:00:43 UTC
(In reply to Maik Qualmann from comment #11)
> The problem seems to have been found:
> 
> https://bugzilla.suse.com/show_bug.cgi?id=1208248
> 
> Maik

Thank you. I did a rollback to Plasma 5.26 while openSUSE fix issue.
Comment 15 Maik Qualmann 2023-02-22 20:17:23 UTC
With today's openSUSE Tumbleweed update the problem with libopenblas is fixed.

Maik
Comment 16 Rafael Linux User 2023-02-22 23:02:38 UTC
(In reply to Maik Qualmann from comment #15)
> With today's openSUSE Tumbleweed update the problem with libopenblas is
> fixed.
> 
> Maik

Thank you!!!!!!! I just upgraded again to 5.27 and Digikam again works!!!
Comment 17 Thomas Rother 2023-02-23 07:26:52 UTC
confirmed, this version update fixes the dependency issue with libopenblas (version info from /etc/os-release)

NAME="openSUSE Tumbleweed"
# VERSION="20230221"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20230221"