Skip to content

Instantly share code, notes, and snippets.

@arook
Created February 10, 2014 01:26
Show Gist options
  • Save arook/8908760 to your computer and use it in GitHub Desktop.
Save arook/8908760 to your computer and use it in GitHub Desktop.
➜ ~ brew install php54
==> Downloading http://www.php.net/get/php-5.4.25.tar.bz2/from/this/mirror
Already downloaded: /Library/Caches/Homebrew/php54-5.4.25
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.25 --localstatedir=/usr/loc
==> make
make: *** [sapi/cli/php] Error 1
make: *** Waiting for unfinished jobs....
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/homebrew-php/issues
These open issues may also help:
php54-imageick (https://github.com/Homebrew/homebrew/issues/21067)
php54-amqp (https://github.com/Homebrew/homebrew/issues/21971)
php54-intl - php54-5.4.6 fails (https://github.com/Homebrew/homebrew/issues/14632)
php54 failed to build on 10.9 (https://github.com/Homebrew/homebrew/issues/25009)
php54 failed to build on 10.6.8 (https://github.com/Homebrew/homebrew/issues/19970)
php54 failed to build on 10.8.2 (https://github.com/Homebrew/homebrew/issues/18152)
php54 failed to build on 10.7 (https://github.com/Homebrew/homebrew/issues/17093)
php54 failed to build on 10.7.5 (https://github.com/Homebrew/homebrew/issues/15621)
Hello, installing php54 (https://github.com/Homebrew/homebrew/issues/15639)
Error: Failed to import: php54-ev (https://github.com/Homebrew/homebrew/issues/18961)
php54-apc failed to build on 10.7.5 (https://github.com/Homebrew/homebrew/issues/18729)
Unable to install php54 due to a failed keg "libpng" (https://github.com/Homebrew/homebrew/issues/18993)
bug reporting: brew install php54 failed as below (https://github.com/Homebrew/homebrew/issues/16764)
php54 failed to install on mac osx 10.7.5 (https://github.com/Homebrew/homebrew/issues/16181)
The php54-midgard2 formula depends on midgard2, but midgard2 version is too old (https://github.com/Homebrew/homebrew/issues/21176)
php54 failed to build on osx 10.8.3 patch unexpectedly ends in middle of line (https://github.com/Homebrew/homebrew/issues/19244)
causing problem update version php 5.4 using the next command "brew install -V php54" (https://github.com/Homebrew/homebrew/issues/15047)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment