[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#997217: emms: FTBFS: ld: cannot find -lz



Control: reassign -1 libtag1-dev 1.13-1
Control: retitle -1 libtag1-dev: Missing dependency on zlib1g-dev
Control: affects -1 src:emms

On Sat, Oct 23, 2021 at 09:11:37PM +0200, Lucas Nussbaum wrote:
>...
> > g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o src/emms-print-metadata src/emms-print-metadata.cpp `taglib-config --cflags --libs`
> > /usr/bin/ld: cannot find -lz
> > collect2: error: ld returned 1 exit status
>...

This is a missing dependency in libtag1-dev:

$ taglib-config --cflags --libs
-I/usr/include -I/usr/include/taglib -L/usr/lib/x86_64-linux-gnu -ltag -lz
$ pkg-config --cflags --libs taglib
-I/usr/include/taglib -ltag -lz 
$ 

cu
Adrian


Reply to: