Bug 2114970 - undefined symbol: _TIFFsetString, version LIBTIFF_4.0
Summary: undefined symbol: _TIFFsetString, version LIBTIFF_4.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tkimg
Version: 36
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2159958 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-03 15:37 UTC by beetle
Modified: 2023-01-22 01:48 UTC (History)
3 users (show)

Fixed In Version: tkimg-1.4.14-1.fc37 tkimg-1.4.14-1.fc36
Clone Of:
Environment:
Last Closed: 2023-01-22 01:41:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description beetle 2022-08-03 15:37:26 UTC
Description of problem:
Since latest update of libtiff, get undefined symbol: _TIFFsetString, version LIBTIFF_4.0 when loading Tcl package Img.

Version-Release number of selected component (if applicable):
- tkimg-1.4-36.fc36.x86_64
- libtiff-4.4.0-2.fc36.x86_64

How reproducible:


Steps to Reproduce:
1. Install tk and tkimg packages
2. wish
3. package require Img

Actual results:
Package does not load and image functionality is reduced within Tcl/Tk breaking some applications previously working.

$ wish
% package require Img
couldn't load file "/usr/lib64/tcl8.6/Img1.4/libtifftcl3.9.4.so": /usr/lib64/tcl8.6/Img1.4/libtifftcl3.9.4.so: undefined symbol: _TIFFsetString, version LIBTIFF_4.0
% 


Expected results:
On un-updated installation with:
- tkimg-1.4-35.fc35.x86_64
- libtiff-4.3.0-6.fc35.x86_64

$ wish
% package require Img
1.4
% 


Additional info:

Comment 1 beetle 2022-11-16 15:44:58 UTC
Updating per Fedora 37, tkimg still failing to load.

[nick@haswell ~]$ rpm -q tkimg
tkimg-1.4-37.fc37.x86_64

[nick@haswell ~]$ uname -a
Linux haswell.home.rainbowdreams.com 6.0.8-300.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 11 15:09:04 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

[nick@haswell ~]$ cat /etc/os-release 
NAME="Fedora Linux"
VERSION="37 (Thirty Seven)"
ID=fedora
VERSION_ID=37
VERSION_CODENAME=""
PLATFORM_ID="platform:f37"
PRETTY_NAME="Fedora Linux 37 (Thirty Seven)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:37"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f37/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=37
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=37

[nick@haswell ~]$ tclsh
% package require Img
couldn't load file "/usr/lib64/tcl8.6/Img1.4/libtifftcl3.9.4.so": /usr/lib64/tcl8.6/Img1.4/libtifftcl3.9.4.so: undefined symbol: _TIFFsetString
% [nick@haswell ~]$

Comment 2 beta.caret 2023-01-12 04:50:32 UTC
*** Bug 2159958 has been marked as a duplicate of this bug. ***

Comment 3 beta.caret 2023-01-12 05:05:30 UTC
tkImg team is actively fixing bugs. Commit r587 at https://sourceforge.net/p/tkimg/code/HEAD/tree/ compiles OK for me, as of Jan 11, 2023. The source releases are useless.
Dependencies: tcl tcl-devel tcllib svn (maybe some others for autotools?)

% svn checkout https://svn.code.sf.net/p/tkimg/code/trunk tkimg-code
...
Checked out revision 587.
% cd tkimg-code
% mkdir build ; cd build
% ../configure --libdir=/usr/lib64/tcl8.6 --datadir=/usr/lib64/tcl8.6
% make all
% sudo make install

https://docs.fedoraproject.org/en-US/packaging-guidelines/Tcl/ specifies where to put files, but it's Greek to me. The gist of it looks like "put Tcl packages in /usr/lib64/tcl8.6".

Comment 4 Fedora Update System 2023-01-12 21:03:34 UTC
FEDORA-2023-f23addf32c has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-f23addf32c

Comment 5 Fedora Update System 2023-01-12 21:03:35 UTC
FEDORA-2023-978c0f6ff8 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-978c0f6ff8

Comment 6 Fedora Update System 2023-01-13 02:37:02 UTC
FEDORA-2023-f23addf32c has been pushed to the Fedora 36 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-f23addf32c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-f23addf32c

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

Comment 7 Fedora Update System 2023-01-13 03:01:43 UTC
FEDORA-2023-978c0f6ff8 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-978c0f6ff8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-978c0f6ff8

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

Comment 8 beetle 2023-01-15 15:41:31 UTC
Confirming this fix works for me on Fedora 37.

Comment 9 Fedora Update System 2023-01-22 01:41:26 UTC
FEDORA-2023-978c0f6ff8 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2023-01-22 01:48:09 UTC
FEDORA-2023-f23addf32c has been pushed to the Fedora 36 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.