error: *** zlib missing
hfgj ghgj
savan.patel21 at yahoo.com
Thu Apr 19 20:48:55 EST 2007
I am very new to linux and openSSH ,, i am trying to compile openssh for jungo openrg IXP45. but while configuring i am getting following error,,
hecking for libgen.h... yes
checking for getspnam... yes
checking for library containing basename... none required
checking for deflate in -lz... no
configure: error: *** zlib missing - please install first or check config.log ***
if anybody will me then it would be realy appriciated,, i used to give path of zlib also,, but i dont know what is going wrong,,
can anybody tell me how to set -lz with libz.a
and config.log file showing like below,,
(IN CONFIG.LOG file)
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char deflate ();
| int
| main ()
| {
| return deflate ();
| ;
| return 0;
| }
configure:10140: result: no
configure:10189: /usr/local/openrg/armv5b-jungo-linux-gnu/bin/armv5b-jungo-linux-gnu-gcc -o conftest -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -std=gnu99 -I/usr/local/include -I/usr/local/openrg/openrg/pkg/zlib/ -L/usr/local/lib -L/usr/local/openrg/openrg/pkg/zlib/ conftest.c -lnsl -lz >&5
/usr/local/openrg/armv5b-jungo-linux-gnu/lib/gcc-lib/armv5b-jungo-linux-gnu/3.3.2/../../../../armv5b-jungo-linux-gnu/bin/ld: skipping incompatible /usr/local/lib/libz.a when searching for -lz
/tmp/ccysCctu.o(.text+0x4): In function `main':
/usr/local/openrg/openrg/pkg/openssh/conftest.c:83: undefined reference to `deflate'
collect2: ld returned 1 exit status
configure:10195: $? = 1
configure: failed program was:
| /* confdefs.h. */
thanks
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
More information about the openssh-unix-dev
mailing list