From: ionut dot dumitru at webland dot ro Operating system: CentOS release 5.2 (32bit) PHP version: 5.2.6 PHP Bug Type: *Compile Issues Bug description: make failure when using configure with --with-mcrypt
Description: ------------ i encountered a problem when building php 5.2.6 from source. i think this issue is related to a check that is not being made regarding libtool. here is my configure command: ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache --with-libdir=lib --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --disable-debug --with-pic --disable-rpath --without-pear --with-bz2 --with-curl --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --without-gdbm --with-gettext --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-png --with-pspell --with-expat-dir=/usr --with-pcre-regex=/usr --with-zlib --with-layout=GNU --enable-exif --enable-ftp --enable-magic-quotes --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --with-kerberos --enable-ucd-snmp-hack --with-unixODBC=shared,/usr --enable-memory-limit --enable-shmop --enable-calendar --enable-dbx --enable-dio --with-mime-magic=/usr/share/file/magic.mime --without-sqlite --with-libxml-dir=/usr --with-xml --with-system-tzdata --with-apxs2=/usr/sbin/apxs --with-mysql --without-gd --without-odbc --disable-dom --disable-dba --without-unixODBC --disable-pdo --disable-xmlreader --disable-xmlwriter --enable-mbstring --with-mcrypt --with-mysqli i basically copied the configure command from a php 5.1.6 installation from yum and added a few arguments that i needed, like the --with-mcrypt one. that's why configure reports at the end that it didn't understand some parameters, but that's not the issue. after installing all the packages for which configure has complained, it finished correctly and i was able to run make. but make always ends up with the following error when using --with-mcrypt : /usr/bin/ld: cannot find -lltdl collect2: ld returned 1 exit status after some struggle i managed to do yum install libtool-ltdl-devel and it worked. it may just work with yum install-ltdl probably, but i installed the whole devel package just to be sure. so this looks to me like a problem in the configure script and thought of mentionning it to you if it's of any help. Ionut -- Edit bug report at http://bugs.php.net/?id=46632&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46632&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46632&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46632&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46632&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46632&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=46632&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46632&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46632&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46632&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46632&r=support Expected behavior: http://bugs.php.net/fix.php?id=46632&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46632&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46632&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46632&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46632&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46632&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46632&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46632&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46632&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46632&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46632&r=mysqlcfg
