Problem compiling PHP 4.0.4 on FreeBSD 2.2.7 [ld: -lmcrypt :no ma tch]

From: Date: Fri, 29 Dec 2000 12:18:47 +0000
Subject: Problem compiling PHP 4.0.4 on FreeBSD 2.2.7 [ld: -lmcrypt :no ma tch]
Groups: php.general 
Request: Send a blank email to php-general+get-32192@lists.php.net to get a copy of this message
Folks: Having a weird problem compiling PHP 4.0.4 on FreeBSD 2.2.7. I have two variants of it, one when I try to include the mcrypt (2.2.7) library and one when I don't. My ./configure command for the attempt without mcrypt is: ./configure \ --with-gd=no \ --with-mysql=/usr/local \ --with-config-file-path=/usr/home/iainad/phpini \ --enable-debug=no \ --enable-track-vars=yes \ --enable-force-cgi-redirect=yes This works OK, then when I do 'nice make', I get the following output: Making all in Zend Making all in main Making all in ext Making all in mysql Making all in pcre Making all in pcrelib Making all in posix Making all in session Making all in standard Making all in xml Making all in expat Making all in xmltok Making all in xmlparse Making all in sapi Making all in cgi Making all in TSRM Making all in regex Making all in . /bin/sh /usr/home/iainad/src/php-4.0.4/libtool --silent --mode=link gcc -I. -I/usr/home/iainad/src/php-4.0.4/ -I/usr/home/iainad/src/php-4.0.4/main -I/usr/home/iainad/src/php-4.0.4 -I/usr/home/iainad/src/php-4.0.4/Zend -I/usr/local/include/mysql -I/usr/home/iainad/src/php-4.0.4/ext/xml/expat/xmltok -I/usr/home/iainad/src/php-4.0.4/ext/xml/expat/xmlparse -I/usr/home/iainad/src/php-4.0.4/TSRM -DXML_BYTE_ORDER=12 -g -O2 -o php -export-dynamic stub.lo libphp4.la ld: -lmcrypt: no match *** Error code 1 Stop. When I try to include 'mcrypt' with the following./configure: ./configure \ --with-gd=no \ --with-mysql=/usr/local \ --with-mcrypt=/usr/home/iainad/src/libmcrypt-227-files \ --with-config-file-path=/usr/home/iainad/phpini \ --enable-debug=no \ --enable-track-vars=yes \ --enable-force-cgi-redirect=yes \ --disable-posix-threads Here I get much the same, except that there is an additional line 'Making all in mcrypt' and then the failure is: ld: -lttf: no match I've tried adding '--with-ttf=no' to the configure, but it makes no difference. I've also tried explicity '--with-mcrypt=no' on the first attempt. Any ideas ? Thanks in advance ..Iain -- Iain Donaldson iain@seatofthepants.net

« previous php.general (#32192) next »