Package: libtag1-dev
Version: 1.13.1-1+b2
Severity: normal
Dear Maintainer,
I am trying to compile strawberry media player on testing. I get the
following error when running cmake:
CMake Error at /usr/local/lib/cmake/taglib/taglib-targets.cmake:61
(set_target_properties):
----------------------------------------------------------
The link interface of target "TagLib::tag" contains:
ZLIB::ZLIB
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
/usr/local/lib/cmake/taglib/taglib-config.cmake:27 (include)
CMakeLists.txt:202 (find_package)
----------------------------------------------------------
If I change /usr/local/lib/cmake/taglib/taglib-targets.cmake line 61 to:
----------------------------------------------------------
set_target_properties(TagLib::tag PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES
"${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include/taglib"
# INTERFACE_LINK_LIBRARIES "ZLIB::ZLIB" <---- Commented out this line
)
----------------------------------------------------------
cmake runs fine, but then I get the error running make:
----------------------------------------------------------
[ 97%] Linking CXX executable strawberry
/usr/bin/ld: /usr/local/lib/libtag.a(tzlib.cpp.o): undefined reference to
symbol 'inflateEnd'
/usr/bin/ld: /usr/local/lib/libz.so.1: error adding symbols: DSO missing
from
command line
collect2: error: ld returned 1 exit status
----------------------------------------------------------
If I compile it on Bookworm, it compiles and runs fine.
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.11.5-amd64 (SMP w/6 CPU threads; PREEMPT)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8),
LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libtag1-dev depends on:
ii dpkg-dev 1.22.11
ii libtag1v5 1.13.1-1+b2
ii zlib1g-dev 1:1.3.dfsg+really1.3.1-1+b1
libtag1-dev recommends no packages.
libtag1-dev suggests no packages.
-- no debconf information