I'm trying to install PHP 4.1.1 on Mac OS X 10.1. I just finished
compiling and installing fresh versions of MySQL 3.23.47 and apache
1.3.22.
Ultimately, I want to use:
./configure \
--with-gnu-ld \
--with-mysql=/usr/local \
--with-apxs=/usr/local/sbin/apxs \
--enable-track-vars \
--enable-magic-quotes \
--enable-discard-path \
--disable-pear \
--with-xml \
--with-openssl \
--enable-trans-sid
but that won't compile yet, so I'm starting small and working up.
./configure
make
/usr/local/src/php-4.1.1/.libs/libphp4.lax/libZend.a
/usr/local/src/php-4.1.1/.libs/libphp4.lax/libsapi.a
/usr/local/src/php-4.1.1/.libs/libphp4.lax/libmain.a
/usr/local/src/php-4.1.1/.libs/libphp4.lax/libregex.a
/usr/local/src/php-4.1.1/.libs/libphp4.lax/libmysql.a
/usr/local/src/php-4.1.1/.libs/libphp4.lax/libpcre.a
/usr/local/src/php-4.1.1/.libs/libphp4.lax/libposix.a
/usr/local/src/php-4.1.1/.libs/libphp4.lax/libsession.a
/usr/local/src/php-4.1.1/.libs/libphp4.lax/libstandard.a
/usr/local/src/php-4.1.1/.libs/libphp4.lax/libxml.a
/usr/local/src/php-4.1.1/.libs/libphp4.lax/libtsrm.a
/usr/local/src/php-4.1.1/.libs
/bin/sh /usr/local/src/php-4.1.1/libtool --silent --mode=link cc
-I. -I/usr/local/src/php-4.1.1/ -I/usr/local/src/php-4.1.1/main
-I/usr/local/src/php-4.1.1 -I/usr/local/src/php-4.1.1/Zend
-I/usr/local/src/php-4.1.1/ext/mysql/libmysql
-I/usr/local/src/php-4.1.1/ext/xml/expat -traditional-cpp
-I/usr/local/src/php-4.1.1/TSRM -g -O2 -o php -export-dynamic
stub.lo libphp4.la
/usr/bin/ld: can't locate file for: -ldl
make[1]: *** [php] Error 1
make: *** [all-recursive] Error 1
[rocky:local/src/php-4.1.1] root# which ld
/usr/bin/ld
[rocky:local/src/php-4.1.1] root# ls /usr/bin/l*
/usr/bin/lam /usr/bin/lessecho /usr/bin/lock /usr/bin/lpc
/usr/bin/last /usr/bin/lesskey /usr/bin/lockfile /usr/bin/lpq
/usr/bin/lastcomm /usr/bin/lex /usr/bin/logger /usr/bin/lpr
/usr/bin/latency /usr/bin/lex++ /usr/bin/login /usr/bin/lprm
/usr/bin/ld /usr/bin/libtool /usr/bin/logname /usr/bin/lsbom
/usr/bin/leaks /usr/bin/lipo /usr/bin/look
/usr/bin/leave /usr/bin/lkbib /usr/bin/lookbib
/usr/bin/less /usr/bin/locate /usr/bin/lorder
./configure \
--with-gnu-ld
produces exactly the same error.
Suggestions?
Ryan
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php