¿Cómo compilar PHP con OpenSSL en OS X 10.9?

0

Entonces, al intentar compilar PHP 5.6.10 desde la fuente, enfrenté el siguiente problema:

Undefined symbols for architecture x86_64:
  "_PKCS5_PBKDF2_HMAC", referenced from:
      _zif_openssl_pbkdf2 in openssl.o
  "_TLSv1_1_client_method", referenced from:
      _php_openssl_setup_crypto in xp_ssl.o
  "_TLSv1_1_server_method", referenced from:
      _php_openssl_setup_crypto in xp_ssl.o
  "_TLSv1_2_client_method", referenced from:
      _php_openssl_setup_crypto in xp_ssl.o
  "_TLSv1_2_server_method", referenced from:
      _php_openssl_setup_crypto in xp_ssl.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

El OpenSSL se instala a través de Brew . En PHP included like - with-openssl = / usr / local / Cellar / openssl / 1.0.2c '

P.S. Antes intenté usar solo /usr para OpenSSL pero obtuve el mismo error.

    
pregunta Markelov 24.06.2015 - 14:47

0 respuestas

Lea otras preguntas en las etiquetas