note 23869 added to install.macosx

From: Date: Tue, 30 Jul 2002 16:46:15 +0000
Subject: note 23869 added to install.macosx
Groups: php.notes 
Request: Send a blank email to php-notes+get-33998@lists.php.net to get a copy of this message
Had some fun problems compiling PHP 4.2.2 statically into Apache 1.3.26. This may also work for DSO as well. The error /usr/bin/ld: warning -L: directory name (../modules/php4) does not exist /usr/bin/ld: warning -L: directory name (../../modules/php4) does not exist /usr/bin/ld: table of contents for archive: modules/php4/libmodphp4.a is out of date; rerun ranlib(1) (can't load from it) make: *** [dummy] Error 1 I kept hunting down solutions for the does not exist problem, when all I needed to do was run 'ranlib' on the src/modules/php4/libmodphp4.a file. It compiled like a dream after that. Hope this helps. BTW, I also found that using the configure option --with-layout made custom installations much easier. See --configure help for more info. -- http://www.php.net/manual/en/install.macosx.php http://master.php.net/manage/user-notes.php?action=edit+23869 http://master.php.net/manage/user-notes.php?action=delete+23869 http://master.php.net/manage/user-notes.php?action=reject+23869

« previous php.notes (#33998) next »