Bug 405233 - digikam: symbol lookup error: /tmp/.mount_digika5N9rGH/usr/lib/libQt5XcbQpa.so.5: undefined symbol: FT_Property_Set
Summary: digikam: symbol lookup error: /tmp/.mount_digika5N9rGH/usr/lib/libQt5XcbQpa.s...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-AppImage (show other bugs)
Version: 6.0.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-08 17:57 UTC by Simon J Mudd
Modified: 2019-03-29 21:47 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon J Mudd 2019-03-08 17:57:20 UTC
SUMMARY

Downloaded latest digikam appimage and tried to run it. It gave me an error about missing libraries.


STEPS TO REPRODUCE AND OBSERVED RESULT

$ wget https://files.kde.org/digikam/digikam-6.1.0-git-20190307T101229-x86-64.appimage
--2019-03-08 18:17:37--  https://files.kde.org/digikam/digikam-6.1.0-git-20190307T101229-x86-64.appimage
Resolving files.kde.org (files.kde.org)... 136.243.156.189, 2a01:4f8:171:1f24::3
Connecting to files.kde.org (files.kde.org)|136.243.156.189|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://mirrors.up.pt/kde-applicationdata/digikam/digikam-6.1.0-git-20190307T101229-x86-64.appimage [following]
--2019-03-08 18:17:38--  http://mirrors.up.pt/kde-applicationdata/digikam/digikam-6.1.0-git-20190307T101229-x86-64.appimage
Resolving mirrors.up.pt (mirrors.up.pt)... 193.137.29.15, 2001:690:2200:1200::15
Connecting to mirrors.up.pt (mirrors.up.pt)|193.137.29.15|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 493674216 (471M) [application/x-appimage]
Saving to: ‘digikam-6.1.0-git-20190307T101229-x86-64.appimage’

100%[=============================================================================================================================================================>] 493,674,216 2.84MB/s   in 3m 54s

2019-03-08 18:21:32 (2.01 MB/s) - ‘digikam-6.1.0-git-20190307T101229-x86-64.appimage’ saved [493674216/493674216]

$ chmod +x digikam-6.1.0-git-20190307T101229-x86-64.appimage
$ ./digikam-6.1.0-git-20190307T101229-x86-64.appimage
libfreetype.so
libudev.so
-- digiKam AppImage Bundle
-- Use 'help' as CLI argument to know all available options for digiKam application
-- Preloading shared libs:
Digikam::DXmlGuiWindow::setupIconTheme: Breeze icons resource file found
Digikam::AlbumWatch::AlbumWatch: AlbumWatch use QFileSystemWatcher
Digikam::AlbumManager::setDatabase: Database Parameters:
   Type:                     "QMYSQL"
   DB Core Name:             "digikam"
   DB Thumbs Name:           "digikam"
   DB Face Name:             "digikam"
   DB Similarity Name:      "digikam"
   Connect Options:          ""
   Host Name:                "XXXXXXXXXXXXX"
   Host port:                3306
   Internal Server:          false
   Internal Server Path:     ""
   Internal Server Serv Cmd: ""
   Internal Server Init Cmd: ""
   Username:                 "XXXXXXXXXXX"
   Password:                 "XXXXXXXXXXX"

digikam: symbol lookup error: /tmp/.mount_digika5N9rGH/usr/lib/libQt5XcbQpa.so.5: undefined symbol: FT_Property_Set
[sjmudd@mad18 Downloads]$


EXPECTED RESULT

Digikam would work.

SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: centos-release-7-6.1810.2.el7.centos.x86_64
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 caulier.gilles 2019-03-08 18:26:05 UTC
I must port the digiKAm AppImage script to LinuXdeployQt from AppImage SDK :

https://github.com/probonopd/linuxdeployqt

I will do it while this week end...

Gilles Caulier
Comment 2 MarcP 2019-03-09 18:05:41 UTC
I can confirm this bug. I tried the last appimage available (digikam-6.1.0-git-20190307T101229-x86-64.appimage) and got the exact same error on Ubuntu 18.04.
Comment 3 caulier.gilles 2019-03-09 18:18:05 UTC
Please wait, AppImage bundles are under construction from scratch...

GilleS Caulier
Comment 4 caulier.gilles 2019-03-16 14:32:40 UTC
Hi,

I progress slowly, but my work advance to propose a refactored appimage up to date.

Still tuned...

Gilles Caulier
Comment 5 caulier.gilles 2019-03-20 13:43:03 UTC
PhilV,

After 3 weeks of work, i finally completed the compilation of AppImage using Qt 5.11.3 + QWebkit 5.212.

New 6.1.0 pre-release AppImage bundle can be found here (64 bits only for the
moment) :

https://files.kde.org/digikam/

Please check if the problem remain.

Gilles Caulier
Comment 6 MarcP 2019-03-20 20:18:32 UTC
I tried the last appimage (digikam-6.1.0-git-20190320T143140-x86-64) and it seems to work properly now. Thanks.
Comment 7 caulier.gilles 2019-03-29 10:11:50 UTC
Hum, this problem is not yet fixed.

And now i found the problem. Typically, in the bundle, i compiled a new version of Freetype and fontconfig libraries and ask to Qt to use it.

This is fine, but at end when i bundle all files, the linker used to parse use to Centos 6 fontconfig and freetype to resolve deps while packaging.

To resume, there is a mix of older and newer libraries in the bundle.

Solution => I will remove fontconfig and freetype at bundle compilation and only use Centos6 based libraries. I will not bundle these fontconfig/freetype to the bundle and at runtime i will delegate the host system libraries.

Compilation from scratch is under progress...

Gilles Caulier
Comment 8 caulier.gilles 2019-03-29 21:47:54 UTC
Definitively fixed with digikam-6.1.0-git-20190329T223601-x86-64.appimage

Gilles Caulier