Skip to content

Instantly share code, notes, and snippets.

@markstory
Created May 8, 2014 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markstory/f7d8b7bdcc1d6b630199 to your computer and use it in GitHub Desktop.
Save markstory/f7d8b7bdcc1d6b630199 to your computer and use it in GitHub Desktop.
$ brew install php54
==> Downloading http://www.php.net/get/php-5.4.27.tar.bz2/from/this/mirror
Already downloaded: /Library/Caches/Homebrew/php54-5.4.27
Warning: Backing up all known pear.conf and .pearrc files
Warning: If you have a pre-existing pear install outside
of homebrew-php, or you are using a non-standard
pear.conf location, installation may fail.
==> ./configure --prefix=/usr/local/Cellar/php54/5.4.27 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.4 --with-config-file-path=/usr/local/etc/php/5.4 --with-config-file-scan-dir=/usr/local/etc/php/5.4/conf.d --with-iconv-dir=/usr --enable-dba --with-ndbm=/usr --enable-exif --enable-soap --enab
==> make
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [sapi/cli/php] Error 1
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [libs/libphp5.bundle] Error 1
READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/josegonzalez-php/homebrew-Formula/issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment