forked-daapd
forked-daapd copied to clipboard
Zlib
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?
Also having this problem on Ubuntu 10.04. Would appreciate some advice. Thanks.
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}
Thx. This helped!