Bug 2189506

Summary: app using libfreeimage can't start: "/lib64/libfreeimage.so.3: undefined symbol: _TIFFDataSize"
Product: [Fedora] Fedora Reporter: Andrew <travneff>
Component: freeimageAssignee: Bruno Wolff III <bruno>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 37CC: bruno, epel-packagers-sig, hobbes1069, i, manisandro, travneff
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: freeimage-3.19.0-0.17.svn1889.fc37 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-28 02:03:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.