install not zlib sdk but zlib libraries. and then retry.
aner with you use --with-zlib
tell him where zlib ist. -> --with-zlib=/usr/local/
as an example

-- 


mfg

-andy

--------------------------------------------------------------------------------
 andreas sartori                                        hellbrunnerstrasse 34
 Datenbankadministration & unix support                 5020 salzburg, austria
 zid - universitaet salzburg                            tel: +43 (662) 8044-6731
 http://www.sbg.ac.at/zid/people/sartori/sartori.htm    fax: +43 (662) 629842
--------------------------------------------------------------------------------

On Wed, 29 Aug 2001, FL wrote:

>
> Hi!
>
> I try to install mnogo on a new server wich runs a Mandrake 8.0.
>
> All infos on the plateform are a the end of the mail.
>
> I have, once again a zlib error and I tried all the different solutions I
> have read in the mailing-list archives.
>
> 1/ I export CFLAGS='-lz' or LIBS='lz' :
>
> Then ./configure give me
>
> checking whether the C compiler (gcc  ) works... no
> configure: error: installation or configuration problem: C compiler cannot
> create executables.
>
>
> 2/ If I put -lz after all instance of lmysqlclient in the different
> Makefile I obtain this error :
>
> /bin/sh ../libtool --mode=link gcc
> -DUDM_CONF_DIR=\"/usr/local/mnogosearch/etc\"
> -DUDM_VAR_DIR=\"/usr/local/mnogosearch/var\"  -o search.cgi -lpthread
> search.o search_tl.o libudmsearch.la -L/usr/lib/mysql -lmysqlclient -lz -lm
> gcc -DUDM_CONF_DIR=\"/usr/local/mnogosearch/etc\"
> -DUDM_VAR_DIR=\"/usr/local/mnogosearch/var\" -o search.cgi -lpthread
> search.o search_tl.o .libs/libudmsearch.a -L/usr/lib/mysql -lmysqlclient
> -lz -lm -L/usr/lib/mysql -lmysqlclient -lz -lm
> /usr/bin/ld: cannot find -lz
> collect2: ld returned 1 exit status
> make[1]: *** [search.cgi] Erreur 1
> make[1]: Quitte le r�pertoire `/root/mnogosearch-3.1.19/src'
> make: *** [all-recursive] Erreur 1
>
>
> 3/ If I try t compile PHP with --with-zlib
>
> Error is :
>
> Configuring extensions
> checking if the location of ZLIB install directory is defined... no
> checking whether to include ZLIB support... yes
> configure: error: Cannot find libz
>
>
> Please help me, I feel quite alone with my invisible zlib !
>
> Thanks
>
> Fran�ois
>
> CONFIGURATIONS and FILES :
>
>
> rpm -qa | grep My :
>
> MySQL-shared-3.23.36-2mdk
> MySQL-client-3.23.36-2mdk
> MySQL-3.23.36-2mdk
> perl-Mysql-1.22_15-5mdk
> MySQL-devel-3.23.36-2mdk
> MySQL-bench-3.23.36-2mdk
>
> rpm -qa | grep zl
>
> zlib1-1.1.3-15mdk
>
> And in /lib I have : (and a link in /usr/lib)
>
> /lib/libz.so.1.1.3*
>
>
> Mnogo version : 3.1.19
>
> gcc -v : Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux/2.96/specs
> gcc version 2.96 20000731 (Linux-Mandrake 8.0 2.96-0.48mdk)
> ___________________________________________
> If you want to unsubscribe send "unsubscribe general"
> to [EMAIL PROTECTED]
>

___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to