Hmm. I wish I knew more about the whole configure/make process. One thing: it doesn't look like it can't find /usr/bin/ld, but rather /usr/bin/ld can't find one of its arguments.
My only other guess would be to copy /usr/libexec/config.guess and /usr/libexec/config.sub into your build directory before running configure. -Steve On Thursday, February 7, 2002, at 12:17 AM, Ryan Walker wrote: > Thank you for the suggestion. Unfortunately, it didn't help. I get the > same error. > > Any more ideas out there? > > Ryan > > At 9:45 PM -0600 2/6/02, Steven Cayford wrote: >> I don't know if the configure script for 4.1.1 deals with the two >> level namespace on OSX, but for 4.0.6 I had to manually edit the >> libtool after running configure. Find the line beginning with >> "archive_cmds='$CC ...'", and add ' -flat_namespace ' after the 'CC'. >> Then run make. >> >> -Steve >> >> >> On 2002.02.06 20:44:57 -0600 Ryan Walker wrote: >>> 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 >>> > > > -- PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php