Bug #14394 Updated: Problem with line 1457 "archive_cmds"

From: Date: Wed, 12 Dec 2001 03:02:11 +0000
Subject: Bug #14394 Updated: Problem with line 1457 "archive_cmds"
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-73207@lists.php.net to get a copy of this message
ID: 14394 User updated by: paul@sickdimension.com Reported By: paul@sickdimension.com Status: Open Bug Type: Compile Failure Operating System: Mac OSX 10.1 Old PHP Version: 4.0.6 PHP Version: 4.1.0 New Comment: Problem also exists in 4.1 Previous Comments: ------------------------------------------------------------------------ [2001-12-09 11:33:47] paul@sickdimension.com When compiling PHP on MacOSX 10.1 you must update line 1457 of the ltconfig file. Trying to compile the source code from php.net as is results in this error: /usr/bin/ld: -undefined error must be used when - twolevel_namespace is in effect make[1]: *** [libphp4.la] Error 1 make: *** [all-recursive] Error 1 Original source line# 1457 of ltconfig downloaded from php.net: archive_cmds='$CC -bundle -undefined suppress -o $lib $libobjs $deplibs $linkopts' What must be used on line 1457 of ltconfig to successfully compile: archive_cmds='$CC -force_flat_namespace -bundle -undefined suppress -o $lib $libobjs $deplibs $linkopts' It took me a long time to find the answer for this problem. There is an article on the Apple developer pages that gave me the change, but they have the wrong line number listed [maybe the source has been updated] Article that told me how to fix it: http://developer.apple.com/internet/macosx/php.html ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14394&edit=1

« previous php.dev (#73207) next »