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" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[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" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[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
[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

Reply via email to