./configure problems when using --with-mysqli

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello there,

I stumbled upon a problem that I cannot get pass:

when trying to configure the PHP installation from sources I get this error:

Undefined symbols for architecture x86_64:
  "_dns_free", referenced from:
      _zif_dns_check_record in dns.o
      _zif_dns_get_record in dns.o
      _zif_dns_get_mx in dns.o
  "_dns_open", referenced from:
      _zif_dns_check_record in dns.o
      _zif_dns_get_record in dns.o
      _zif_dns_get_mx in dns.o
  "_dns_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_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
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

my configure looks like this:

sudo ./configure --prefix=/usr/local/php\
--with-apxs2=/usr/local/apache2/bin/apxs\
--disable-ipv6\
--enable-dtrace\
--with-zlib --with-curl=/usr/local/cURL\
--enable-mbstring\
--with-mcrypt=/usr/local/libmcrypt\
--with-mysqli=/usr/local/mysql/bin/mysql_config\
--enable-opcache=no

I only get this error when I try to enable mysqli support.

./configure passes with no problems, but at make it screams about the libphp5.bundle ...

Any ideas how to get pass this?

I'm running Mac OSX 10.9 with Apache 2.4.10.

Please help!

Best regards,

N.V.

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux