Hi, > In OpenBSD library is libZ? > > I have in /usr/lib > > root@haproxy01 $ ls -l /usr/lib/libz* > -r--r--r-- 1 root bin 296850 Jul 30 2013 /usr/lib/libz.a > -r--r--r-- 1 root bin 201378 Jul 30 2013 /usr/lib/libz.so.4.1 > -r--r--r-- 1 root bin 305920 Jul 30 2013 /usr/lib/libz_p.a
Ok, the lib is there. Please: - use current code, get dev22 from http://haproxy.1wt.eu/ - use the generic makefile, not the BSD one, try: make TARGET=openbsd CPU=native USE_ZLIB=1 - try to force the path, which is probably (otherwise lookup the header files, your already found .a file): make TARGET=openbsd CPU=native USE_ZLIB=1 ZLIB_INC=/usr/include ZLIB_LIB=/usr/lib - if it still doesn't work, post the full make process somewhere Regards, Lukas

