Bug 2189506 - app using libfreeimage can't start: "/lib64/libfreeimage.so.3: undefined symbol: _TIFFDataSize"
Summary: app using libfreeimage can't start: "/lib64/libfreeimage.so.3: undefined symb...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: freeimage
Version: 37
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Bruno Wolff III
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-25 13:22 UTC by Andrew
Modified: 2023-04-28 02:03 UTC (History)
6 users (show)

Fixed In Version: freeimage-3.19.0-0.17.svn1889.fc37
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-28 02:03:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Andrew 2023-04-25 13:22:50 UTC
I have following in my Fedora 37:

    $ photoqt
    photoqt: symbol lookup error: /lib64/libfreeimage.so.3: undefined symbol: _TIFFDataSize

    $ nm -D /lib64/libfreeimage.so.3 | grep _TIFFDataSize
                    U _TIFFDataSize

    $ rpm -qf /lib64/libfreeimage.so.3
    freeimage-3.19.0-0.16.svn1889.fc37.x86_64

    $ nm -D /lib64/*tiff* | grep -c _TIFFDataSize
    0

    $ rpm -qf /lib64/libtiff.so.5
    libtiff-4.4.0-4.fc37.x86_64

I'm not sure but seems like libfreeimage needs _TIFFDataSize symbol from libtiff which was removed before v4.4.0rc1.
This seem to be last commit referencing it:
https://gitlab.com/libtiff/libtiff/-/commit/11f3f279608ae9e68f014717393197f430f9be58
And these are tags including this commit:

    $ git tag --contains 11f3f279608ae9e68f014717393197f430f9be58
    v4.4.0
    v4.4.0rc1
    v4.5.0
    v4.5.0rc1
    v4.5.0rc2
    v4.5.0rc3

Replacing libtiff-4.4.0-4.fc37.x86_64 with older libtiff allows photoqt to start.


Reproducible: Always

Comment 1 Fedora Update System 2023-04-26 22:00:12 UTC
FEDORA-2023-d267adf55a has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-d267adf55a

Comment 2 Fedora Update System 2023-04-27 01:40:13 UTC
FEDORA-2023-d267adf55a has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-d267adf55a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-d267adf55a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Andrew 2023-04-27 17:49:33 UTC
This update fixes the problem, thank you!
I just added positive karma at its bodhi page

Comment 4 Fedora Update System 2023-04-28 02:03:46 UTC
FEDORA-2023-d267adf55a has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.