Justtechjobs.com Find a programming school near you






Online Campus Both


php-install | 2004032

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

klaus wrote:

>Hi Chris,
>
>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
>
>
>
>"Chris Hewitt" <g0pae <email protected>> schrieb im Newsbeitrag
>news:4063F57D.4020300 <email protected>
>
>>Bottom posting...
>>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?
>>>
>>>Greetings
>>>Klaus
>>>
>>>
>>>"Mike Beck" <Mike.Beck <email protected>> schrieb im Newsbeitrag
>>>news:0B241138B8B09F4792DA46CA0785A46503EDC6 <email protected>
>>>klaus wrote:
>>>
>>>>Dear all,
>>>>
>>>>I am to set up a LAMPS system
>>>>(Red Hat 7.3, Apache 1.3.29, MySQL 4.0.18, PHP 4.3.4).
>>>>
>>>>When trying to configure PHP with the follwing command:
>>>>
>>>> ./configure --with-apache=/usr/local/apache/apache_1.3.29
>>>>
>>>> --with-mysql=/usr/local/mysql
>>>>
>>>> --with-mcrypt=/usr/local/mcrypt_2_5_7/libmcrypt-2.5.7
>>>>
>>>>
>>>>... I get this:
>>>>
>>>>****
>>>>configure: error: Try adding --with-zlib-dir=<DIR>. Please
>>>>check config.log for more information.
>>>>****
>>>>
>>>Did you try that? (Adding --with-zlib-dir=<DIR>)?
>>>
>>>--
>>>Mike Beck
>>>mike.beck <email protected>
>>>
>>How does it fail? My PHP 4.0.6 on RH 7.2 does not have a zlib path, have
>>you tried just "--with-zlib"?
>>HTH
>>Chris
>>
Glad you got it working and thanks for sending the solution to the list
(so it goes into the archives).

Chris