Last active
December 26, 2015 11:29
-
-
Save weerd/7144549 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew install php54 | |
==> Downloading http://www.php.net/get/php-5.4.21.tar.bz2/from/this/mirror | |
######################################################################## 100.0% | |
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.21 --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 --enable-w | |
==> make | |
_zif_dns_get_record in dns.o | |
_zif_dns_get_mx in dns.o | |
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/mxcl/homebrew/wiki/troubleshooting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Undefined symbols for architecture x86_64: | |
"_res_9_dn_expand", referenced from: | |
_php_parserr in dns.o | |
_zif_dns_get_mx in dns.o | |
"_res_9_dn_skipname", referenced from: | |
_zif_dns_get_record in dns.o | |
_zif_dns_get_mx in dns.o | |
Undefined symbols for architecture x86_64: | |
"_res_9_dn_expand", referenced from: | |
Undefined symbols for architecture x86_64: | |
"_res_9_dn_expand", referenced from: | |
_php_parserr in dns.o | |
_zif_dns_get_mx in dns.o | |
"_res_9_init", referenced from: | |
_php_parserr in dns.o | |
_zif_dns_get_mx in dns.o | |
_zif_dns_check_record in dns.o | |
_zif_dns_get_record in dns.o | |
_zif_dns_get_mx in dns.o | |
"_res_9_dn_skipname", referenced from: | |
_zif_dns_get_record in dns.o | |
_zif_dns_get_mx in dns.o | |
"_res_9_search", referenced from: | |
"_res_9_dn_skipname", referenced from: | |
_zif_dns_check_record in dns.o | |
_zif_dns_get_record in dns.o | |
_zif_dns_get_mx in dns.o | |
_zif_dns_get_record in dns.o | |
_zif_dns_get_mx in dns.o | |
"_res_9_init", referenced from: | |
_zif_dns_check_record in dns.o | |
_zif_dns_get_record in dns.o | |
_zif_dns_get_mx in dns.o | |
"_res_9_init", referenced from: | |
_zif_dns_check_record in dns.o | |
_zif_dns_get_record in dns.o | |
_zif_dns_get_mx in dns.o | |
"_res_9_search", referenced from: | |
_zif_dns_check_record in dns.o | |
_zif_dns_get_record in dns.o | |
_zif_dns_get_mx in dns.o | |
"_res_9_search", referenced from: | |
_zif_dns_check_record in dns.o | |
_zif_dns_get_record in dns.o | |
_zif_dns_get_mx in dns.o | |
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 | |
make: *** Waiting for unfinished jobs.... | |
ld: symbol(s) not found for architecture x86_64 | |
ld: symbol(s) not found for architecture x86_64 | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
make: *** [sapi/cli/php] Error 1 | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
make: *** [sapi/cgi/php-cgi] Error 1 | |
HOMEBREW_VERSION: 0.9.5 | |
HEAD: 70eb1a50e3440f534a83a36a37297f426ca16635 | |
CPU: quad-core 64-bit nehalem | |
OS X: 10.9-x86_64 | |
Xcode: 5.0.1 | |
CLT: 5.0.1.0.1.1382131676 | |
X11: 2.7.4 => /opt/X11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
...lots of code before this...gssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lxml2 -lodbc -lodbc -lxml2 -lnetsnmp -lcrypto -lxml2 -lxml2 -lxml2 -lxml2 -lxml2 -lxml2 -lxml2 -lxslt -o libs/libphp5.bundle && cp libs/libphp5.bundle libs/libphp5.so | |
brew: superenv removed: -L/usr/lib -L/usr/lib -g -O2 | |
brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -I/usr/local/opt/gettext/include -I/usr/local/opt/zlib/include -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names | |
Undefined symbols for architecture x86_64: | |
"_res_9_dn_expand", referenced from: | |
_php_parserr in dns.o | |
_zif_dns_get_mx in dns.o | |
"_res_9_dn_skipname", referenced from: | |
_zif_dns_get_record in dns.o | |
_zif_dns_get_mx in dns.o | |
"_res_9_init", referenced from: | |
_zif_dns_check_record in dns.o | |
_zif_dns_get_record in dns.o | |
_zif_dns_get_mx in dns.o | |
"_res_9_search", referenced from: | |
_zif_dns_check_record in dns.o | |
_zif_dns_get_record in dns.o | |
_zif_dns_get_mx in dns.o | |
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 | |
==> Formula | |
Tap: josegonzalez/php | |
Path: /usr/local/Library/Taps/josegonzalez-php/Formula/php54.rb | |
==> Configuration | |
HOMEBREW_VERSION: 0.9.5 | |
HEAD: 70eb1a50e3440f534a83a36a37297f426ca16635 | |
CPU: quad-core 64-bit nehalem | |
OS X: 10.9-x86_64 | |
Xcode: 5.0.1 | |
CLT: 5.0.1.0.1.1382131676 | |
X11: 2.7.4 => /opt/X11 | |
==> ENV | |
HOMEBREW_CC: clang | |
MAKEFLAGS: -j1 | |
CMAKE_PREFIX_PATH: /usr/local/opt/gettext:/usr/local/opt/zlib:/usr/local | |
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers | |
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries | |
PKG_CONFIG_PATH: /usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/zlib/lib/pkgconfig | |
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9 | |
HOMEBREW_MAKE_JOBS: 1 | |
HOMEBREW_VERBOSE: 1 | |
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal | |
OBJC: cc | |
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/libpng/bin:/usr/local/opt/freetype/bin:/usr/local/opt/gettext/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/unixodbc/bin:/usr/bin:/bin:/usr/sbin:/sbin | |
Error: php54 did not build | |
Logs: /Users/username/Library/Logs/Homebrew/php54/config.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment