Justtechjobs.com Find a programming school near you






Online Campus Both


php-install | 2004032

Re: [PHP-INSTALL] problems at install: zlib error From: klaus (klaus.schoki <email protected>)
Date: 03/26/04

Hi Mike,

I started to study the config.log file more in deep.
The kick-out error was:

****
conftest.c -lmysqlclient -lmcrypt -lltdl -lresolv -lm -ldl -lnsl 1>&5
/usr/bin/ld: cannot find -lltdl
****

Then I visited
http://mcrypt.hellug.gr/mcrypt/index.html
an learned that I have to install not only libmcrypt but also
mcrypt and libmhash.
Afte installing libmcrypt it was essential to move into the "./libltdl"
folder
and type the following shell commands:
> ./configure --enable-ltdl-install
> make
> make install

After that configuring PHP with
./configure --with-apache=... --with-mysql=... --with-mcrypt=...
worked.

hurra

Thanks a lot for your support
Klaus

"Mike Beck" <Mike.Beck <email protected>> schrieb im Newsbeitrag
news:0B241138B8B09F4792DA46CA0785A46503EDDC <email protected>
klaus wrote:
> Hi Mike,
>
> thanks for your response.
>
> Initially I just took:
> ./configure --with-apache=... --with-mysql=... --with-mcrypt=...
>
> The trials including
> --with-zlib-dir=...
> or
> --with-zlib=...
>
> also failed.
>
> Do you or anyone else have an idea?
>

What do you mean they failed? You gave --with-zlib-dir= with a correct
path? Was zlib found during ./configure or did you get errormessages? Do
you have the zlib-dev packages (however they are called in whatever
distribution you are using) installed?

--
Mike Beck
mike.beck <email protected>