https://bugs.kde.org/show_bug.cgi?id=447150

--- Comment #7 from Nicofo <nic...@tuxfamily.org> ---
Hello Gilles,
I made some tests in AppRun file.

In "preload_shared_library" function, I see you prioritize the libraries from
the bundles instead of those of the system. I suppose there is good reason for
that, but for the sake of the test I change that (e.g. change
https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/appimage/data/AppRun#L14
:
if   [ -f "$DIR/usr/slib64/$FILE" ] ; then           --->        if   [ -f
"$DIR/usrxxx/slib64/$FILE" ] ; then
so that the libraries from the bundle are discarded)
As a result, I got the same kind of error, but related to uname function !
(uname called at line L19) (see <======== below).


$ ./AppRun 
-- digiKam Linux AppImage Bundle
-- Use 'help' as CLI argument to know all available options for digiKam
application.
-- Notes: to integrate this bundle to your desktop, use AppImageLauncher.
--        to enable all debug messages on the console, use 'export
QT_LOGGING_RULES="digikam*=true"'.
libudev.so.0 
libxcb-dri3.so.0 
libssl.so.1.1 
libcrypto.so.1.1 
uname: /home/nicolas/Downloaded/squashfs-root/usr/lib/libcrypto.so.1.1: version
`OPENSSL_1_1_1' not found (required by /usr/lib64/libssl.so.1.1)             
<================= error with uname called by "preload_shared_library
libcrypto.so.1.1" !!
-- Preloading shared libs:
:/usr/lib64/libxcb-dri3.so.0:/usr/lib64/libssl.so.1.1:/home/nicolas/Downloaded/squashfs-root/usr/lib/libcrypto.so.1.1
digikam: /home/nicolas/Downloaded/squashfs-root/usr/lib/libcrypto.so.1.1:
version `OPENSSL_1_1_1' not found (required by /usr/lib64/libssl.so.1.1)
digikam: /home/nicolas/Downloaded/squashfs-root/usr/lib/libcrypto.so.1.1:
version `OPENSSL_1_1_1b' not found (required by /lib64/libk5crypto.so.3)



If now I swap the 2 lines
https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/appimage/data/AppRun#L119
:
preload_shared_library libssl.so.1.1
preload_shared_library libcrypto.so.1.1
-->
preload_shared_library libcrypto.so.1.1
preload_shared_library libssl.so.1.1

then digikam starts correctly (no more error with uname neither).
Very strange behaviour (but I'm not familiar at all with ssl...).
So there seem to be some incompatibilities with openssl of the bundle and the
system.


Note: in the bundle, there is a broken link: squashfs-root/usr/lib/libssl.so ->
libssl.so.1.0.0 : should be libssl.so.1.1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to