forked-daapd icon indicating copy to clipboard operation
forked-daapd copied to clipboard

Zlib

Open arenstar opened this issue 13 years ago • 3 comments

For some strange reason.. i have installed zlib-devel (x64/i386) from YUM

however a ./configure

results in...

checking for ZLIB... no configure: error: Package requirements ( zlib ) were not met:

No package 'zlib' found

Any suggestions? How would i use the environmental variables?

arenstar avatar Mar 25 '11 02:03 arenstar

Also having this problem on Ubuntu 10.04. Would appreciate some advice. Thanks.

leighman avatar Aug 06 '11 12:08 leighman

I had this problem too. I found out configure expects to find /usr/lib/pkgconfig/zlib.pc, which however is absent in some distributions. When it's there, zlib.pc contains something like this:

prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib sharedlibdir=${libdir} includedir=${prefix}/include

Name: zlib Description: zlib compression library Version: 1.2.5

Requires: Libs: -L${libdir} -L${sharedlibdir} -lz Cflags: -I${includedir}

ejurgensen avatar Oct 27 '11 21:10 ejurgensen

Thx. This helped!

sf666 avatar Oct 28 '11 08:10 sf666