Edit report at http://bugs.php.net/bug.php?id=48795&edit=1

 ID:               48795
 Updated by:       s...@php.net
 Reported by:      gwy...@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)

 New Comment:

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...


Previous Comments:
------------------------------------------------------------------------
[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?

------------------------------------------------------------------------
[2009-11-24 11:46:48] j...@php.net

well, build system does handle C++ quite fine for me. OSX is "special"..

------------------------------------------------------------------------
[2009-11-24 01:23:26] gwy...@php.net

No, upgrading the bundled libtool didn't fix it. The buildsystem isn't
set up to deal with C++ files automatically.

------------------------------------------------------------------------


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

    http://bugs.php.net/bug.php?id=48795


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=48795&edit=1

Reply via email to