[Libwebsockets] could not find zlib -- cmake

allan George gorge.alan.sw at gmail.com
Wed May 15 17:49:00 CEST 2013


Hi,

I am getting following error at cmake time. Do i have to install zlib
library ?
*cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr*

-- Looking for vfork.h
-- Looking for vfork.h - not found
-- Looking for zlib.h
-- Looking for zlib.h - found
-- Looking for 4 include files stdlib.h, ..., float.h
-- Looking for 4 include files stdlib.h, ..., float.h - found
CMake Error at
/var/local/rpi/rfs_raspbian/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97
(message):
  Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.2.7")
Call Stack (most recent call first):

/var/local/rpi/rfs_raspbian/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:291
(_FPHSA_FAILURE_MESSAGE)
  /var/local/rpi/rfs_raspbian/usr/share/cmake-2.8/Modules/FindZLIB.cmake:85
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:400 (find_package)


-- Configuring incomplete, errors occurred!


===========================================

ignite at ignite:~/rpi_package_sb2/libwebsockets/build$  whereis zlib
zlib: /usr/include/zlib.h /usr/share/man/man3/zlib.3.gz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libwebsockets.org/pipermail/libwebsockets/attachments/20130515/807858d3/attachment.html>


More information about the Libwebsockets mailing list