Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Clear system 10.6.7 with established homebrew packages:

brew install mysql
brew install libjpeg
brew install gmp
brew install mcrypt
brew install gettext
brew install icu4c
brew install libxml2

I'm trying to compile PHP 5.3.6 with this configuration

./configure --prefix=/usr/local/php

When almost ready, get this error:

Undefined symbols for architecture x86_64:
  "___gxx_personality_v0", referenced from:
      Dwarf Exception Unwind Info (__eh_frame) in msgformat_helpers.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [libs/libphp5.bundle] Error 1

What's the problem?

share|improve this question

1 Answer 1

Building intl 64-bit fails on OS X

share|improve this answer
ty, env EXTRA_LIBS="-lstdc++" is helpful – Alexey Simonenko Mar 29 '11 at 21:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.