Bug #48795 [Com]: Building intl 64-bit fails on OS X
| From: | harald dot lapp at gmail dot com | Date: | Fri, 01 Jul 2011 20:23:27 +0000 |
| Subject: | Bug #48795 [Com]: Building intl 64-bit fails on OS X | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-161476@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=48795&edit=1
ID: 48795
Comment by: harald dot lapp at gmail dot com
Reported by: gwynne@php.net
Summary: Building intl 64-bit fails on OS X
Status: Verified
Type: Bug
Package: Compile Failure
Operating System: Mac OS X 10.5.8, 10.6.2
PHP Version: 5.3SVN-2009-11-23 (SVN)
Block user comment: N
Private report: N
New Comment:
just setting the EXTRA_LIBS did not work for me, but stas tip made it work. (PHP
5.3.6, Mac OS X 10.6.7), thanks!
Previous Comments:
------------------------------------------------------------------------
[2010-06-17 19:43:39] henrik at bearwoods dot dk
I have tried the above "quick-fixes" and have not been able to compile it yet. Im on a
Macbook Pro i5 and 10.6.4 (Maybe the i5 makes a difference)
------------------------------------------------------------------------
[2010-05-24 21:19:51] stas@php.net
Also if you change $(CC) to $(CXX) in BUILD_* vars in Makefile it seems to help too. Looks like if
you use C++ anywhere in PHP the linker should be C++ or library should be added manually. I'll
try to see if I can maybe make configure add needed magic juice there...
------------------------------------------------------------------------
[2010-04-20 19:31:52] fsb at thefeb dot org
i confirm the fix [2010-02-10 12:05 UTC] surfchen at gmail dot com: "add -lstdc++ into
EXTRA_LIBS" worked for 5.3.2 release on osx 10.6.3.
------------------------------------------------------------------------
[2010-02-10 14:05:58] surfchen at gmail dot com
It is a linking problem, here is the simple workaround:
edit Makefile and add -lstdc++ into EXTRA_LIBS.
------------------------------------------------------------------------
[2010-01-10 11:54:55] harald dot lapp at gmail dot com
same problem here: osx 10.5.8, php5.3-latest
any ideas how to fix this issue?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=48795
--
Edit this bug report at https://bugs.php.net/bug.php?id=48795&edit=1