Take the 2-minute tour ×
Server Fault is a question and answer site for professional 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
--with-apxs2=/usr/sbin/apxs
--with-layout=GNU
--enable-calendar
--enable-ftp
--enable-bcmath
--enable-mbstring
--enable-mbregex
--with-icu-dir=/usr/local/Cellar/icu4c/4.4.1
--enable-intl
--enable-cli
--enable-sockets
--enable-soap
--with-gettext=/usr/local/Cellar/gettext/0.18.1.1
--with-bz2
--with-zlib
--enable-zip
--with-gd
--with-jpeg-dir
--with-png-dir=/usr/X11
--with-xpm-dir
--with-freetype-dir=/usr/X11
--enable-exif
--with-gmp
--with-mcrypt
--with-mysql=mysqlnd
--with-mysqli=mysqlnd
--with-pdo-mysql=mysqlnd
--with-mysql-sock=/tmp/mysql.sock
--with-curl
--with-openssl
--with-libxml-dir=/usr/local/Cellar/libxml2/2.7.7
--with-xsl=/usr
--with-xmlrpc
--enable-sqlite-utf8
--enable-shmop
--enable-pcntl
--enable-sysvmsg
--enable-sysvsem
--enable-sysvshm

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

 
discard

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.