Re: problems at install: zlib error
| From: | Chris Hewitt | Date: | Fri, 26 Mar 2004 20:53:21 +0000 |
| Subject: | Re: problems at install: zlib error | ||
| References: | 1 2 3 4 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-13085@lists.php.net to get a copy of this message | ||
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:Chris./configure --enable-ltdl-install make make installAfter that configuring PHP with ./configure --with-apache=... --with-mysql=... --with-mcrypt=... worked. hurra Thanks a lot for your support Klaus "Chris Hewitt" <g0pae@manordat.demon.co.uk> schrieb im Newsbeitrag news:4063F57D.4020300@manordat.demon.co.uk...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@ibmiller.de> schrieb im Newsbeitrag news:0B241138B8B09F4792DA46CA0785A46503EDC6@ANNA.ibmiller.lan... klaus wrote: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).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@ibmiller.de