Undefined symbol prevents Darktable and Emacs from running

After a recent update I get the following error when trying to start Darktable or Emacs:

/usr/bin/emacs: symbol lookup error: /lib64/libtiff.so.6: undefined symbol: jpeg12_write_raw_data, version LIBJPEG_8.0

Installed versions are:

Emacs: 29.1-7.1
Darktable: 4.7.0~git108.35726824-11116.1 (from the graphics:darktable:master repository)

libtiff: 4.6.0-209.3 (from the graphics repository)
libjpeg: 8.2.2-76.2 (from the main repository

Not sure what I need to do to fix the problem.

libtiff in graphics repository is built against libjpeg from the same repository which is version 8.3.

I got this the other day. Even pdf applications and printing will not work.
Use the libtiff from the main repository.

Hi,
I got this error with RawTherapee. I followed your hint, but was no libtiff in the main repository. I went to libjpeg and changed its source from the main repository to the graphics repository. It helped.
Maybe this will help others.

Hmmm.

# zypper if  libtiff*
Loading repository data...
Reading installed packages...

[ ... ]
Information for package libtiff6:
---------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : libtiff6
Version        : 4.6.0-4.2
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 580.1 KiB
Installed      : Yes (automatically)
Status         : up-to-date
Source package : tiff-4.6.0-4.2.src
Upstream URL   : https://libtiff.gitlab.io/libtiff/
Summary        : The Tiff Library (with JPEG and compression support)
Description    : 
    This package includes the tiff libraries. To link a program with
    libtiff, you will have to add -ljpeg and -lz to include the necessary
    libjpeg and libz in the linking process.
#

I forgot to mention:

sudo cat /etc/os-release
[sudo] password for root:
NAME=“openSUSE Leap”
VERSION=“15.5”
ID=“opensuse-leap”
ID_LIKE=“suse opensuse”
VERSION_ID=“15.5”
PRETTY_NAME=“openSUSE Leap 15.5”
ANSI_COLOR=“0;32”
CPE_NAME=“cpe:/o:opensuse:leap:15.5”
BUG_REPORT_URL=“https://bugs.opensuse.org
HOME_URL=“https://www.opensuse.org/
DOCUMENTATION_URL=“Portal:Leap - openSUSE Wiki
LOGO=“distributor-logo-Leap”

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.