|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-07-01 16:22 UTC] johannes@php.net
-Status: Open
+Status: Feedback
[2011-07-01 16:22 UTC] johannes@php.net
[2011-07-01 18:12 UTC] s21122012 at yahoo dot com
-Status: Feedback
+Status: Open
[2011-07-01 18:12 UTC] s21122012 at yahoo dot com
[2011-08-29 23:10 UTC] aaronh at bind dot com
[2011-09-01 22:30 UTC] matt dot fellows at onegeek dot com dot au
[2011-11-07 20:09 UTC] rpickard at gmail dot com
[2013-10-01 12:34 UTC] mike@php.net
-Status: Open
+Status: Not a bug
[2013-10-01 12:34 UTC] mike@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 21:00:01 2025 UTC |
Description: ------------ I'm trying to compile PHP 5.4 alpha 1 with MySQL support using the configuration commands in "Version 1". It produces the error below. If I use "Version 2" (that is, no MySQL), it works. MySQL is 5.5.13 x86_64. Test script: --------------- Version 1 ---------- ./configure --prefix=/alt --with-apxs2=/alt/apache/bin/apxs --with-openssl=/alt --with-zlib=/alt --with-curl=/alt --with-gmp=/alt --with-libxml-dir=/alt --enable-ftp --disable-cgi --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config Version 2 ---------- ./configure --prefix=/alt --with-apxs2=/alt/apache/bin/apxs --with-openssl=/alt --with-zlib=/alt --with-curl=/alt --with-gmp=/alt --with-libxml-dir=/alt --enable-ftp --disable-cgi Expected result: ---------------- Build complete Actual result: -------------- Undefined symbols for architecture x86_64: "_res_9_init", referenced from: _zif_dns_get_mx in dns.o _zif_dns_get_record in dns.o _zif_dns_check_record in dns.o "_res_9_search", referenced from: _zif_dns_get_mx in dns.o _zif_dns_get_record in dns.o _zif_dns_check_record in dns.o "_res_9_dn_skipname", referenced from: _zif_dns_get_mx in dns.o _zif_dns_get_record in dns.o "_res_9_dn_expand", referenced from: _zif_dns_get_mx in dns.o _php_parserr in dns.o ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make: *** [libs/libphp5.bundle] Error 1