php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42904 upgrading from 5.2.3 to 5.2.4 compile error
Submitted: 2007-10-09 15:24 UTC Modified: 2007-10-25 01:00 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: jskiba at gmail dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.2.4 OS: Fedora5
Private report: No CVE-ID: None
 [2007-10-09 15:24 UTC] jskiba at gmail dot com
Description:
------------
compiling php-5.2.4
./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/php5 --with-gd --with-png-dir=/usr/lib --with-jpeg-dir=/usr/lib --with-zlib-dir=/usr/lib --enable-ftp --with-mysql --enable-force-cgi-redirect --disable-cgi --with-openssl=/usr/local/ssl --enable-mbstring --with-mcrypt

/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1

compiling php-5.2.3 on the same machine doesn't produce error


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-11 13:41 UTC] jani@php.net
First of all: You're passing wrong paths to configure options.
You're not supposed to pass /lib in any of those options. Remove those from each one of them.  
 [2007-10-11 13:41 UTC] jani@php.net
And before you run configure with the proper configure line, use CLEAN sources!
 [2007-10-12 22:29 UTC] jskiba at gmail dot com
the problem is caused by --with-mcrypt without it no problems.
libmcrypt, libmcrypt-devel and php-mcrypt are installed and up to date.
What is the problem?
 [2007-10-17 13:00 UTC] jani@php.net
FYI: I tested with my Fedora5 machine and it works just fine.
Why did you install php-mcrypt? You're compiling from sources, you don't need that. Are you sure you don't have some old mcrypt version installed? e.g. from sources under /usr/local ?


 [2007-10-25 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2011-01-12 13:42 UTC] chuck dot reeves at gmail dot com
could be that you are missing libtool  make sure you install the package
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC