Homebrew / legacy-homebrew

💀 The former home of Homebrew/homebrew (deprecated)
https://brew.sh
26.97k stars 11.34k forks source link

Installing node 0.4.2 requires me to `brew unlink openssl` #4725

Closed enaeseth closed 13 years ago

enaeseth commented 13 years ago

I couldn't build Node against Homebrew's openssl package. To get it to build, I had to brew unlink openssl and build against the native Mac OS X openssl library.

I'm not sure if this is how things are supposed to be, and there wasn't any explicit warning of this, but I figured it out from the brew doctor output.

ld: warning: in /usr/local/Cellar/openssl/0.9.8o/lib/libssl.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /usr/local/Cellar/openssl/0.9.8o/lib/libcrypto.dylib, file was built for i386 which is not the architecture being linked (x86_64)
Undefined symbols:
  "_ERR_load_crypto_strings", referenced from:
      node::crypto::InitCrypto(v8::Handle<v8::Object>)        in node_crypto_4.o
  "_EVP_CipherFinal", referenced from:
      node::crypto::Cipher::CipherFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Decipher::DecipherFinal(v8::Arguments const&)in node_crypto_4.o
  "_SSLv3_method", referenced from:
      node::crypto::SecureContext::Init(v8::Arguments const&)in node_crypto_4.o
  "_EVP_CIPHER_iv_length", referenced from:
      node::crypto::Cipher::CipherInitIv(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Decipher::DecipherInitIv(v8::Arguments const&)in node_crypto_4.o
  "_EVP_CipherInit", referenced from:
      node::crypto::Decipher::DecipherInit(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Cipher::CipherInitIv(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Cipher::CipherInit(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Decipher::DecipherInitIv(v8::Arguments const&)in node_crypto_4.o
  "_SSL_CTX_use_PrivateKey", referenced from:
      node::crypto::SecureContext::SetKey(v8::Arguments const&)in node_crypto_4.o
  "_BIO_test_flags", referenced from:
      node::crypto::Connection::HandleBIOError(bio_st*, char const*, int)in node_crypto_4.o
      node::crypto::Connection::HandleBIOError(bio_st*, char const*, int)in node_crypto_4.o
      node::crypto::Connection::HandleBIOError(bio_st*, char const*, int)in node_crypto_4.o
  "_SSL_shutdown", referenced from:
      node::crypto::Connection::Shutdown(v8::Arguments const&)in node_crypto_4.o
  "_EVP_CipherUpdate", referenced from:
      node::crypto::Cipher::CipherUpdate(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Cipher::CipherUpdate(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Decipher::DecipherUpdate(v8::Arguments const&)in node_crypto_4.o
  "_ERR_error_string_n", referenced from:
      node::crypto::Connection::HandleSSLError(char const*, int)in node_crypto_4.o
      node::crypto::Connection::HandleBIOError(bio_st*, char const*, int)in node_crypto_4.o
  "_EVP_sha1", referenced from:
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
  "_SSL_free", referenced from:
      node::crypto::Connection::Close(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Connection::~Connection()in node_crypto_4.o
      node::crypto::Connection::~Connection()in node_crypto_4.o
  "_BIO_ctrl", referenced from:
      node::crypto::base64(unsigned char*, int, char**, int*)in node_crypto_4.o
      node::crypto::base64(unsigned char*, int, char**, int*)in node_crypto_4.o
      node::crypto::Connection::ClearPending(v8::Arguments const&) in node_crypto_4.o
      node::crypto::Connection::EncPending(v8::Arguments const&) in node_crypto_4.o
  "_BIO_set_flags", referenced from:
      node::crypto::unbase64(unsigned char*, int, char**, int*)in node_crypto_4.o
      node::crypto::base64(unsigned char*, int, char**, int*)in node_crypto_4.o
  "_SSL_set_bio", referenced from:
      node::crypto::Connection::New(v8::Arguments const&)in node_crypto_4.o
  "_BIO_free", referenced from:
      node::crypto::LoadBIO(v8::Handle<v8::Value>)        in node_crypto_4.o
      node::crypto::SecureContext::AddRootCerts(v8::Arguments const&) in node_crypto_4.o
      node::crypto::SecureContext::AddRootCerts(v8::Arguments const&) in node_crypto_4.o
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
      node::crypto::SecureContext::SetKey(v8::Arguments const&)in node_crypto_4.o
      node::crypto::SecureContext::SetKey(v8::Arguments const&)in node_crypto_4.o
      node::crypto::SecureContext::AddCRL(v8::Arguments const&)in node_crypto_4.o
      node::crypto::SecureContext::AddCRL(v8::Arguments const&)in node_crypto_4.o
      node::crypto::SecureContext::AddCACert(v8::Arguments const&)in node_crypto_4.o
      node::crypto::SecureContext::SetCert(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Sign::SignFinal(v8::Arguments const&)in node_crypto_4.o
  "_CRYPTO_free", referenced from:
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
  "_EVP_get_digestbyname", referenced from:
      node::crypto::Verify::VerifyInit(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Sign::SignInit(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Hash::New(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Hmac::HmacInit(v8::Arguments const&)in node_crypto_4.o
  "_HMAC_Update", referenced from:
      node::crypto::Hmac::HmacUpdate(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Hmac::HmacUpdate(v8::Arguments const&)in node_crypto_4.o
  "_SSL_read", referenced from:
      node::crypto::Connection::ClearOut(v8::Arguments const&)in node_crypto_4.o
  "_ASN1_TIME_print", referenced from:
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
  "_SSL_connect", referenced from:
      node::crypto::Connection::Start(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Connection::ClearOut(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Connection::ClearIn(v8::Arguments const&)in node_crypto_4.o
  "_PEM_read_bio_X509", referenced from:
      node::crypto::SSL_CTX_use_certificate_chain(ssl_ctx_st*, bio_st*)     in node_crypto_4.o
      node::crypto::SecureContext::AddRootCerts(v8::Arguments const&) in node_crypto_4.o
      node::crypto::SecureContext::AddCACert(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
  "_BIO_read", referenced from:
      node::crypto::unbase64(unsigned char*, int, char**, int*)in node_crypto_4.o
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
      node::crypto::Connection::EncOut(v8::Arguments const&)in node_crypto_4.o
  "_BIO_push", referenced from:
      node::crypto::unbase64(unsigned char*, int, char**, int*)in node_crypto_4.o
      node::crypto::base64(unsigned char*, int, char**, int*)in node_crypto_4.o
  "_sk_pop_free", referenced from:
      node::crypto::SSL_CTX_use_certificate_chain(ssl_ctx_st*, bio_st*)     in node_crypto_4.o
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
  "_SSL_get_current_cipher", referenced from:
      node::crypto::Connection::GetCurrentCipher(v8::Arguments const&) in node_crypto_4.o
  "_ERR_print_errors_fp", referenced from:
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
  "_X509_STORE_new", referenced from:
      node::crypto::SecureContext::Init(v8::Arguments const&)in node_crypto_4.o
  "_SSL_set_connect_state", referenced from:
      node::crypto::Connection::New(v8::Arguments const&)in node_crypto_4.o
  "_SSLv23_method", referenced from:
      node::crypto::SecureContext::Init(v8::Arguments const&)in node_crypto_4.o
      node::crypto::SecureContext::Init(v8::Arguments const&)in node_crypto_4.o
  "_EVP_md5", referenced from:
      node::crypto::Decipher::DecipherInit(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Cipher::CipherInit(v8::Arguments const&)in node_crypto_4.o
  "_HMAC_Final", referenced from:
      node::crypto::Hmac::HmacDigest(v8::Arguments const&)in node_crypto_4.o
  "_BIO_new_mem_buf", referenced from:
      node::crypto::unbase64(unsigned char*, int, char**, int*)in node_crypto_4.o
  "_X509_STORE_add_crl", referenced from:
      node::crypto::SecureContext::AddCRL(v8::Arguments const&)in node_crypto_4.o
  "_X509_get_subject_name", referenced from:
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
  "_HMAC_CTX_init", referenced from:
      node::crypto::Hmac::HmacInit(v8::Arguments const&)in node_crypto_4.o
  "_X509_STORE_add_cert", referenced from:
      node::crypto::SecureContext::AddRootCerts(v8::Arguments const&) in node_crypto_4.o
      node::crypto::SecureContext::AddCACert(v8::Arguments const&)in node_crypto_4.o
  "_ERR_peek_error", referenced from:
      node::crypto::SSL_CTX_use_certificate_chain(ssl_ctx_st*, bio_st*)     in node_crypto_4.o
  "_ERR_put_error", referenced from:
      node::crypto::local_EVP_DecryptFinal_ex(evp_cipher_ctx_st*, unsigned char*, int*)in node_crypto_4.o
      node::crypto::local_EVP_DecryptFinal_ex(evp_cipher_ctx_st*, unsigned char*, int*)in node_crypto_4.o
      node::crypto::local_EVP_DecryptFinal_ex(evp_cipher_ctx_st*, unsigned char*, int*)in node_crypto_4.o
      node::crypto::SSL_CTX_use_certificate_chain(ssl_ctx_st*, bio_st*)     in node_crypto_4.o
  "_sk_num", referenced from:
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
  "_EVP_get_cipherbyname", referenced from:
      node::crypto::Decipher::DecipherInit(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Cipher::CipherInitIv(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Cipher::CipherInit(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Decipher::DecipherInitIv(v8::Arguments const&)in node_crypto_4.o
  "_X509_get_issuer_name", referenced from:
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
  "_EVP_CIPHER_CTX_block_size", referenced from:
      node::crypto::Cipher::CipherFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Cipher::CipherUpdate(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Cipher::CipherUpdate(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Decipher::DecipherFinalTolerate(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Decipher::DecipherFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Decipher::DecipherUpdate(v8::Arguments const&)in node_crypto_4.o
  "_ERR_peek_last_error", referenced from:
      node::crypto::SSL_CTX_use_certificate_chain(ssl_ctx_st*, bio_st*)     in node_crypto_4.o
  "_BIO_free_all", referenced from:
      node::crypto::unbase64(unsigned char*, int, char**, int*)in node_crypto_4.o
      node::crypto::base64(unsigned char*, int, char**, int*)in node_crypto_4.o
  "_EVP_PKEY_free", referenced from:
      node::crypto::SecureContext::SetKey(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Sign::SignFinal(v8::Arguments const&)in node_crypto_4.o
  "_PEM_read_bio_X509_AUX", referenced from:
      node::crypto::SSL_CTX_use_certificate_chain(ssl_ctx_st*, bio_st*)     in node_crypto_4.o
  "_PEM_read_bio_X509_CRL", referenced from:
      node::crypto::SecureContext::AddCRL(v8::Arguments const&)in node_crypto_4.o
  "_SSLv2_client_method", referenced from:
      node::crypto::SecureContext::Init(v8::Arguments const&)in node_crypto_4.o
  "_TLSv1_method", referenced from:
      node::crypto::SecureContext::Init(v8::Arguments const&)in node_crypto_4.o
  "_SSLv3_client_method", referenced from:
      node::crypto::SecureContext::Init(v8::Arguments const&)in node_crypto_4.o
  "_EVP_MD_CTX_init", referenced from:
      node::crypto::Verify::VerifyInit(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Sign::SignInit(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Hash::New(v8::Arguments const&)in node_crypto_4.o
  "_EVP_DigestInit_ex", referenced from:
      node::crypto::Verify::VerifyInit(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Sign::SignInit(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Hash::New(v8::Arguments const&)in node_crypto_4.o
  "_X509_verify_cert_error_string", referenced from:
      node::crypto::Connection::VerifyError(v8::Arguments const&) in node_crypto_4.o
  "_OBJ_obj2txt", referenced from:
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
  "_X509_digest", referenced from:
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
  "_SSL_get_verify_result", referenced from:
      node::crypto::Connection::VerifyError(v8::Arguments const&) in node_crypto_4.o
  "_SSL_set_accept_state", referenced from:
      node::crypto::Connection::New(v8::Arguments const&)in node_crypto_4.o
  "_TLSv1_client_method", referenced from:
      node::crypto::SecureContext::Init(v8::Arguments const&)in node_crypto_4.o
  "_EVP_VerifyFinal", referenced from:
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
  "_ERR_clear_error", referenced from:
      node::crypto::SSL_CTX_use_certificate_chain(ssl_ctx_st*, bio_st*)     in node_crypto_4.o
  "_SSL_CTX_use_certificate", referenced from:
      node::crypto::SSL_CTX_use_certificate_chain(ssl_ctx_st*, bio_st*)     in node_crypto_4.o
  "_ERR_get_error", referenced from:
      node::crypto::SecureContext::SetCert(v8::Arguments const&)in node_crypto_4.o
  "_SSL_CTX_set_cert_store", referenced from:
      node::crypto::SecureContext::Init(v8::Arguments const&)in node_crypto_4.o
  "_OpenSSL_add_all_digests", referenced from:
      node::crypto::InitCrypto(v8::Handle<v8::Object>)        in node_crypto_4.o
  "_EVP_CIPHER_CTX_cleanup", referenced from:
      node::crypto::Decipher::DecipherInit(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Cipher::CipherFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Cipher::CipherInitIv(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Cipher::CipherInit(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Decipher::DecipherFinalTolerate(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Decipher::DecipherFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Decipher::DecipherInitIv(v8::Arguments const&)in node_crypto_4.o
  "_SSL_new", referenced from:
      node::crypto::Connection::New(v8::Arguments const&)in node_crypto_4.o
  "_SSLv23_client_method", referenced from:
      node::crypto::SecureContext::Init(v8::Arguments const&)in node_crypto_4.o
  "_BIO_new", referenced from:
      node::crypto::LoadBIO(v8::Handle<v8::Value>)        in node_crypto_4.o
      node::crypto::unbase64(unsigned char*, int, char**, int*)in node_crypto_4.o
      node::crypto::base64(unsigned char*, int, char**, int*)in node_crypto_4.o
      node::crypto::base64(unsigned char*, int, char**, int*)in node_crypto_4.o
      node::crypto::SecureContext::AddRootCerts(v8::Arguments const&) in node_crypto_4.o
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
      node::crypto::Connection::New(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Connection::New(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Sign::SignFinal(v8::Arguments const&)in node_crypto_4.o
  "_SSL_CTX_ctrl", referenced from:
      node::crypto::SSL_CTX_use_certificate_chain(ssl_ctx_st*, bio_st*)     in node_crypto_4.o
      node::crypto::SecureContext::Init(v8::Arguments const&)in node_crypto_4.o
  "_X509_free", referenced from:
      node::crypto::SSL_CTX_use_certificate_chain(ssl_ctx_st*, bio_st*)     in node_crypto_4.o
      node::crypto::SSL_CTX_use_certificate_chain(ssl_ctx_st*, bio_st*)     in node_crypto_4.o
      node::crypto::SSL_CTX_use_certificate_chain(ssl_ctx_st*, bio_st*)     in node_crypto_4.o
      node::crypto::SecureContext::AddRootCerts(v8::Arguments const&) in node_crypto_4.o
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
      node::crypto::Connection::VerifyError(v8::Arguments const&) in node_crypto_4.o
      node::crypto::SecureContext::AddCACert(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
  "_SSL_CTX_free", referenced from:
      node::crypto::SecureContext::Close(v8::Arguments const&)in node_crypto_4.o
      node::crypto::SecureContext::~SecureContext()in node_crypto_4.o
      node::crypto::SecureContext::~SecureContext()in node_crypto_4.o
  "_SSL_get_peer_certificate", referenced from:
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
      node::crypto::Connection::VerifyError(v8::Arguments const&) in node_crypto_4.o
  "_HMAC_Init", referenced from:
      node::crypto::Hmac::HmacInit(v8::Arguments const&)in node_crypto_4.o
  "_X509_NAME_oneline", referenced from:
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
  "_ERR_error_string", referenced from:
      node::crypto::SecureContext::SetCert(v8::Arguments const&)in node_crypto_4.o
  "_HMAC_CTX_cleanup", referenced from:
      node::crypto::Hmac::HmacDigest(v8::Arguments const&)in node_crypto_4.o
  "_SSL_state", referenced from:
      node::crypto::Connection::IsInitFinished(v8::Arguments const&) in node_crypto_4.o
      node::crypto::Connection::Start(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Connection::ClearOut(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Connection::ClearIn(v8::Arguments const&)in node_crypto_4.o
  "_SSLv2_server_method", referenced from:
      node::crypto::SecureContext::Init(v8::Arguments const&)in node_crypto_4.o
  "_EVP_BytesToKey", referenced from:
      node::crypto::Decipher::DecipherInit(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Cipher::CipherInit(v8::Arguments const&)in node_crypto_4.o
  "_SSLv3_server_method", referenced from:
      node::crypto::SecureContext::Init(v8::Arguments const&)in node_crypto_4.o
  "_BIO_s_mem", referenced from:
      node::crypto::LoadBIO(v8::Handle<v8::Value>)        in node_crypto_4.o
      node::crypto::base64(unsigned char*, int, char**, int*)in node_crypto_4.o
      node::crypto::SecureContext::AddRootCerts(v8::Arguments const&) in node_crypto_4.o
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
      node::crypto::Connection::New(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Connection::New(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Sign::SignFinal(v8::Arguments const&)in node_crypto_4.o
  "_SSL_CIPHER_get_version", referenced from:
      node::crypto::Connection::GetCurrentCipher(v8::Arguments const&) in node_crypto_4.o
  "_X509_get_ext_d2i", referenced from:
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
  "_SSL_CTX_new", referenced from:
      node::crypto::SecureContext::Init(v8::Arguments const&)in node_crypto_4.o
  "_ASN1_OBJECT_free", referenced from:
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
  "_EVP_DigestFinal_ex", referenced from:
      node::crypto::Hash::HashDigest(v8::Arguments const&)in node_crypto_4.o
  "_EVP_MD_CTX_cleanup", referenced from:
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Sign::SignFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Hash::HashDigest(v8::Arguments const&)in node_crypto_4.o
  "_X509_STORE_set_flags", referenced from:
      node::crypto::SecureContext::AddCRL(v8::Arguments const&)in node_crypto_4.o
  "_SSL_accept", referenced from:
      node::crypto::Connection::Start(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Connection::ClearOut(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Connection::ClearIn(v8::Arguments const&)in node_crypto_4.o
  "_SSL_write", referenced from:
      node::crypto::Connection::ClearIn(v8::Arguments const&)in node_crypto_4.o
  "_TLSv1_server_method", referenced from:
      node::crypto::SecureContext::Init(v8::Arguments const&)in node_crypto_4.o
  "_SSL_get_error", referenced from:
      node::crypto::Connection::HandleSSLError(char const*, int)in node_crypto_4.o
  "_EVP_DigestUpdate", referenced from:
      node::crypto::Verify::VerifyUpdate(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyUpdate(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Sign::SignUpdate(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Sign::SignUpdate(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Hash::HashUpdate(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Hash::HashUpdate(v8::Arguments const&)in node_crypto_4.o
  "_SSL_get_shutdown", referenced from:
      node::crypto::Connection::SetShutdownFlags()     in node_crypto_4.o
      node::crypto::Connection::ReceivedShutdown(v8::Arguments const&) in node_crypto_4.o
  "_PEM_read_bio_PrivateKey", referenced from:
      node::crypto::SecureContext::SetKey(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Sign::SignFinal(v8::Arguments const&)in node_crypto_4.o
  "_SSLv2_method", referenced from:
      node::crypto::SecureContext::Init(v8::Arguments const&)in node_crypto_4.o
  "_EVP_CIPHER_CTX_set_key_length", referenced from:
      node::crypto::Decipher::DecipherInit(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Cipher::CipherInitIv(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Cipher::CipherInit(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Decipher::DecipherInitIv(v8::Arguments const&)in node_crypto_4.o
  "_SSL_CTX_set_cipher_list", referenced from:
      node::crypto::SecureContext::SetCiphers(v8::Arguments const&) in node_crypto_4.o
  "_SSL_library_init", referenced from:
      node::crypto::InitCrypto(v8::Handle<v8::Object>)        in node_crypto_4.o
  "_X509_CRL_free", referenced from:
      node::crypto::SecureContext::AddCRL(v8::Arguments const&)in node_crypto_4.o
  "_SSL_CIPHER_get_name", referenced from:
      node::crypto::Connection::GetCurrentCipher(v8::Arguments const&) in node_crypto_4.o
  "_EVP_CIPHER_CTX_init", referenced from:
      node::crypto::Decipher::DecipherInit(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Cipher::CipherInitIv(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Cipher::CipherInit(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Decipher::DecipherInitIv(v8::Arguments const&)in node_crypto_4.o
  "_SSL_set_verify", referenced from:
      node::crypto::Connection::New(v8::Arguments const&)in node_crypto_4.o
  "_SSL_load_error_strings", referenced from:
      node::crypto::InitCrypto(v8::Handle<v8::Object>)        in node_crypto_4.o
  "_BIO_f_base64", referenced from:
      node::crypto::unbase64(unsigned char*, int, char**, int*)in node_crypto_4.o
      node::crypto::base64(unsigned char*, int, char**, int*)in node_crypto_4.o
  "_BIO_write", referenced from:
      node::crypto::LoadBIO(v8::Handle<v8::Value>)        in node_crypto_4.o
      node::crypto::LoadBIO(v8::Handle<v8::Value>)        in node_crypto_4.o
      node::crypto::base64(unsigned char*, int, char**, int*)in node_crypto_4.o
      node::crypto::SecureContext::AddRootCerts(v8::Arguments const&) in node_crypto_4.o
      node::crypto::Connection::EncIn(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Sign::SignFinal(v8::Arguments const&)in node_crypto_4.o
  "_SSLv23_server_method", referenced from:
      node::crypto::SecureContext::Init(v8::Arguments const&)in node_crypto_4.o
  "_sk_value", referenced from:
      node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto_4.o
  "_OPENSSL_add_all_algorithms_noconf", referenced from:
      node::crypto::InitCrypto(v8::Handle<v8::Object>)        in node_crypto_4.o
  "_EVP_SignFinal", referenced from:
      node::crypto::Sign::SignFinal(v8::Arguments const&)in node_crypto_4.o
  "_X509_get_pubkey", referenced from:
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
      node::crypto::Verify::VerifyFinal(v8::Arguments const&)in node_crypto_4.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
* installing deps/libeio/eio.h as /usr/local/Cellar/node/0.4.2/include/node/eio.h
* installing deps/v8/include/v8-debug.h as /usr/local/Cellar/node/0.4.2/include/node/v8-debug.h
* installing deps/v8/include/v8-preparser.h as /usr/local/Cellar/node/0.4.2/include/node/v8-preparser.h
* installing deps/v8/include/v8-profiler.h as /usr/local/Cellar/node/0.4.2/include/node/v8-profiler.h
* installing deps/v8/include/v8-testing.h as /usr/local/Cellar/node/0.4.2/include/node/v8-testing.h
* installing deps/v8/include/v8.h as /usr/local/Cellar/node/0.4.2/include/node/v8.h
* installing deps/v8/include/v8stdint.h as /usr/local/Cellar/node/0.4.2/include/node/v8stdint.h
* installing deps/libev/ev.h as /usr/local/Cellar/node/0.4.2/include/node/ev.h
* installing build/default/config.h as /usr/local/Cellar/node/0.4.2/include/node/config.h
* installing src/node.h as /usr/local/Cellar/node/0.4.2/include/node/node.h
* installing src/node_object_wrap.h as /usr/local/Cellar/node/0.4.2/include/node/node_object_wrap.h
* installing src/node_buffer.h as /usr/local/Cellar/node/0.4.2/include/node/node_buffer.h
* installing src/node_events.h as /usr/local/Cellar/node/0.4.2/include/node/node_events.h
* installing src/node_version.h as /usr/local/Cellar/node/0.4.2/include/node/node_version.h
* installing doc/node.1 as /usr/local/Cellar/node/0.4.2/share/man/man1/node.1
* installing tools/node-waf as /usr/local/Cellar/node/0.4.2/bin/node-waf
* installing tools/wafadmin/__init__.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/__init__.py
* installing tools/wafadmin/ansiterm.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/ansiterm.py
* installing tools/wafadmin/Build.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Build.py
* installing tools/wafadmin/Configure.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Configure.py
* installing tools/wafadmin/Constants.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Constants.py
* installing tools/wafadmin/Environment.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Environment.py
* installing tools/wafadmin/Logs.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Logs.py
* installing tools/wafadmin/Node.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Node.py
* installing tools/wafadmin/Options.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Options.py
* installing tools/wafadmin/pproc.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/pproc.py
* installing tools/wafadmin/py3kfixes.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/py3kfixes.py
* installing tools/wafadmin/Runner.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Runner.py
* installing tools/wafadmin/Scripting.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Scripting.py
* installing tools/wafadmin/Task.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Task.py
* installing tools/wafadmin/TaskGen.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/TaskGen.py
* installing tools/wafadmin/Utils.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Utils.py
* installing tools/wafadmin/Tools/__init__.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/__init__.py
* installing tools/wafadmin/Tools/ar.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/ar.py
* installing tools/wafadmin/Tools/cc.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/cc.py
* installing tools/wafadmin/Tools/ccroot.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/ccroot.py
* installing tools/wafadmin/Tools/compiler_cc.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/compiler_cc.py
* installing tools/wafadmin/Tools/compiler_cxx.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/compiler_cxx.py
* installing tools/wafadmin/Tools/compiler_d.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/compiler_d.py
* installing tools/wafadmin/Tools/config_c.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/config_c.py
* installing tools/wafadmin/Tools/cxx.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/cxx.py
* installing tools/wafadmin/Tools/d.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/d.py
* installing tools/wafadmin/Tools/dmd.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/dmd.py
* installing tools/wafadmin/Tools/gas.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/gas.py
* installing tools/wafadmin/Tools/gcc.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/gcc.py
* installing tools/wafadmin/Tools/gdc.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/gdc.py
* installing tools/wafadmin/Tools/gnu_dirs.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/gnu_dirs.py
* installing tools/wafadmin/Tools/gob2.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/gob2.py
* installing tools/wafadmin/Tools/gxx.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/gxx.py
* installing tools/wafadmin/Tools/icc.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/icc.py
* installing tools/wafadmin/Tools/icpc.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/icpc.py
* installing tools/wafadmin/Tools/intltool.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/intltool.py
* installing tools/wafadmin/Tools/libtool.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/libtool.py
* installing tools/wafadmin/Tools/misc.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/misc.py
* installing tools/wafadmin/Tools/nasm.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/nasm.py
* installing tools/wafadmin/Tools/node_addon.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/node_addon.py
* installing tools/wafadmin/Tools/osx.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/osx.py
* installing tools/wafadmin/Tools/preproc.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/preproc.py
* installing tools/wafadmin/Tools/python.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/python.py
* installing tools/wafadmin/Tools/suncc.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/suncc.py
* installing tools/wafadmin/Tools/suncxx.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/suncxx.py
* installing tools/wafadmin/Tools/unittestw.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/unittestw.py
* installing tools/wafadmin/Tools/winres.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/winres.py
* installing tools/wafadmin/Tools/xlc.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/xlc.py
* installing tools/wafadmin/Tools/xlcxx.py as /usr/local/Cellar/node/0.4.2/lib/node/wafadmin/Tools/xlcxx.py
* installing build/default/tools/nodejs.pc as /usr/local/Cellar/node/0.4.2/lib/pkgconfig/nodejs.pc
* installing build/default/node as /usr/local/Cellar/node/0.4.2/bin/node
File '/private/tmp/homebrew-node-0.4.2-bp4i/node-v0.4.2/build/default/node' does not exist
Waf: Leaving directory `/private/tmp/homebrew-node-0.4.2-bp4i/node-v0.4.2/build'
Could not install the file '/usr/local/Cellar/node/0.4.2/bin/node'
ps/http_parser -I../deps/http_parser -Idefault/deps/v8/include -I../deps/v8/include -Idefault/deps/libev -I../deps/libev -Idefault/deps/c-ares -I../deps/c-ares -Idefault/deps/c-ares/darwin-x64 -I../deps/c-ares/darwin-x64 -I/usr/local/Cellar/openssl/0.9.8o/include -Ideps/v8/include ../src/node_events.cc -c -o default/src/node_events_4.o
/usr/bin/c++ -O3 -w -pipe -pthread -arch x86_64 -g -O3 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=0 -DPLATFORM="darwin" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -DNDEBUG -Idefault/src -I../src -Idefault/deps/libeio -I../deps/libeio -Idefault/deps/http_parser -I../deps/http_parser -Idefault/deps/v8/include -I../deps/v8/include -Idefault/deps/libev -I../deps/libev -Idefault/deps/c-ares -I../deps/c-ares -Idefault/deps/c-ares/darwin-x64 -I../deps/c-ares/darwin-x64 -I/usr/local/Cellar/openssl/0.9.8o/include -Ideps/v8/include ../src/node_file.cc -c -o default/src/node_file_4.o
/usr/bin/c++ -O3 -w -pipe -pthread -arch x86_64 -g -O3 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=0 -DPLATFORM="darwin" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -DNDEBUG -Idefault/src -I../src -Idefault/deps/libeio -I../deps/libeio -Idefault/deps/http_parser -I../deps/http_parser -Idefault/deps/v8/include -I../deps/v8/include -Idefault/deps/libev -I../deps/libev -Idefault/deps/c-ares -I../deps/c-ares -Idefault/deps/c-ares/darwin-x64 -I../deps/c-ares/darwin-x64 -I/usr/local/Cellar/openssl/0.9.8o/include -Ideps/v8/include ../src/node_signal_watcher.cc -c -o default/src/node_signal_watcher_4.o
/usr/bin/c++ -O3 -w -pipe -pthread -arch x86_64 -g -O3 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=0 -DPLATFORM="darwin" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -DNDEBUG -Idefault/src -I../src -Idefault/deps/libeio -I../deps/libeio -Idefault/deps/http_parser -I../deps/http_parser -Idefault/deps/v8/include -I../deps/v8/include -Idefault/deps/libev -I../deps/libev -Idefault/deps/c-ares -I../deps/c-ares -Idefault/deps/c-ares/darwin-x64 -I../deps/c-ares/darwin-x64 -I/usr/local/Cellar/openssl/0.9.8o/include -Ideps/v8/include ../src/node_stat_watcher.cc -c -o default/src/node_stat_watcher_4.o
/usr/bin/c++ -O3 -w -pipe -pthread -arch x86_64 -g -O3 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=0 -DPLATFORM="darwin" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -DNDEBUG -Idefault/src -I../src -Idefault/deps/libeio -I../deps/libeio -Idefault/deps/http_parser -I../deps/http_parser -Idefault/deps/v8/include -I../deps/v8/include -Idefault/deps/libev -I../deps/libev -Idefault/deps/c-ares -I../deps/c-ares -Idefault/deps/c-ares/darwin-x64 -I../deps/c-ares/darwin-x64 -I/usr/local/Cellar/openssl/0.9.8o/include -Ideps/v8/include ../src/node_timer.cc -c -o default/src/node_timer_4.o
/usr/bin/c++ -O3 -w -pipe -pthread -arch x86_64 -g -O3 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=0 -DPLATFORM="darwin" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -DNDEBUG -Idefault/src -I../src -Idefault/deps/libeio -I../deps/libeio -Idefault/deps/http_parser -I../deps/http_parser -Idefault/deps/v8/include -I../deps/v8/include -Idefault/deps/libev -I../deps/libev -Idefault/deps/c-ares -I../deps/c-ares -Idefault/deps/c-ares/darwin-x64 -I../deps/c-ares/darwin-x64 -I/usr/local/Cellar/openssl/0.9.8o/include -Ideps/v8/include ../src/node_script.cc -c -o default/src/node_script_4.o
/usr/bin/c++ -O3 -w -pipe -pthread -arch x86_64 -g -O3 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=0 -DPLATFORM="darwin" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -DNDEBUG -Idefault/src -I../src -Idefault/deps/libeio -I../deps/libeio -Idefault/deps/http_parser -I../deps/http_parser -Idefault/deps/v8/include -I../deps/v8/include -Idefault/deps/libev -I../deps/libev -Idefault/deps/c-ares -I../deps/c-ares -Idefault/deps/c-ares/darwin-x64 -I../deps/c-ares/darwin-x64 -I/usr/local/Cellar/openssl/0.9.8o/include -Ideps/v8/include ../src/node_os.cc -c -o default/src/node_os_4.o
/usr/bin/c++ -O3 -w -pipe -pthread -arch x86_64 -g -O3 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=0 -DPLATFORM="darwin" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -DNDEBUG -Idefault/src -I../src -Idefault/deps/libeio -I../deps/libeio -Idefault/deps/http_parser -I../deps/http_parser -Idefault/deps/v8/include -I../deps/v8/include -Idefault/deps/libev -I../deps/libev -Idefault/deps/c-ares -I../deps/c-ares -Idefault/deps/c-ares/darwin-x64 -I../deps/c-ares/darwin-x64 -I/usr/local/Cellar/openssl/0.9.8o/include -Ideps/v8/include ../src/node_dtrace.cc -c -o default/src/node_dtrace_4.o
/usr/bin/c++ -O3 -w -pipe -pthread -arch x86_64 -g -O3 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=0 -DPLATFORM="darwin" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -DNDEBUG -Idefault/src -I../src -Idefault/deps/libeio -I../deps/libeio -Idefault/deps/http_parser -I../deps/http_parser -Idefault/deps/v8/include -I../deps/v8/include -Idefault/deps/libev -I../deps/libev -Idefault/deps/c-ares -I../deps/c-ares -Idefault/deps/c-ares/darwin-x64 -I../deps/c-ares/darwin-x64 -I/usr/local/Cellar/openssl/0.9.8o/include -Ideps/v8/include ../src/node_stdio.cc -c -o default/src/node_stdio_4.o
/usr/bin/c++ -O3 -w -pipe -pthread -arch x86_64 -g -O3 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=0 -DPLATFORM="darwin" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -DNDEBUG -Idefault/src -I../src -Idefault/deps/libeio -I../deps/libeio -Idefault/deps/http_parser -I../deps/http_parser -Idefault/deps/v8/include -I../deps/v8/include -Idefault/deps/libev -I../deps/libev -Idefault/deps/c-ares -I../deps/c-ares -Idefault/deps/c-ares/darwin-x64 -I../deps/c-ares/darwin-x64 -I/usr/local/Cellar/openssl/0.9.8o/include -Ideps/v8/include ../src/node_child_process.cc -c -o default/src/node_child_process_4.o
/usr/bin/c++ -O3 -w -pipe -pthread -arch x86_64 -g -O3 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=0 -DPLATFORM="darwin" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -DNDEBUG -Idefault/src -I../src -Idefault/deps/libeio -I../deps/libeio -Idefault/deps/http_parser -I../deps/http_parser -Idefault/deps/v8/include -I../deps/v8/include -Idefault/deps/libev -I../deps/libev -Idefault/deps/c-ares -I../deps/c-ares -Idefault/deps/c-ares/darwin-x64 -I../deps/c-ares/darwin-x64 -I/usr/local/Cellar/openssl/0.9.8o/include -Ideps/v8/include ../src/platform_darwin.cc -c -o default/src/platform_darwin_4.o
/usr/bin/c++ -O3 -w -pipe -pthread -arch x86_64 -g -O3 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=0 -DPLATFORM="darwin" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -DNDEBUG -Idefault/src -I../src -Idefault/deps/libeio -I../deps/libeio -Idefault/deps/http_parser -I../deps/http_parser -Idefault/deps/v8/include -I../deps/v8/include -Idefault/deps/libev -I../deps/libev -Idefault/deps/c-ares -I../deps/c-ares -Idefault/deps/c-ares/darwin-x64 -I../deps/c-ares/darwin-x64 -I/usr/local/Cellar/openssl/0.9.8o/include -Ideps/v8/include ../src/node_crypto.cc -c -o default/src/node_crypto_4.o
/usr/bin/c++ default/src/node_main_4.o default/src/node_4.o default/src/node_buffer_4.o default/src/node_javascript_4.o default/src/node_extensions_4.o default/src/node_http_parser_4.o default/src/node_net_4.o default/src/node_io_watcher_4.o default/src/node_constants_4.o default/src/node_cares_4.o default/src/node_events_4.o default/src/node_file_4.o default/src/node_signal_watcher_4.o default/src/node_stat_watcher_4.o default/src/node_timer_4.o default/src/node_script_4.o default/src/node_os_4.o default/src/node_dtrace_4.o default/src/node_stdio_4.o default/src/node_child_process_4.o default/src/platform_darwin_4.o default/src/node_crypto_4.o default/deps/libeio/eio_1.o default/deps/http_parser/http_parser_2.o default/deps/libev/ev_1.o default/deps/c-ares/ares_strcasecmp_1.o default/deps/c-ares/ares_free_string_1.o default/deps/c-ares/ares_options_1.o default/deps/c-ares/ares_send_1.o default/deps/c-ares/ares_parse_txt_reply_1.o default/deps/c-ares/ares_parse_ptr_reply_1.o default/deps/c-ares/ares_nowarn_1.o default/deps/c-ares/ares_search_1.o default/deps/c-ares/ares_gethostbyname_1.o default/deps/c-ares/ares_getsock_1.o default/deps/c-ares/ares__timeval_1.o default/deps/c-ares/inet_ntop_1.o default/deps/c-ares/ares_parse_a_reply_1.o default/deps/c-ares/ares_getopt_1.o default/deps/c-ares/ares__close_sockets_1.o default/deps/c-ares/ares_expand_string_1.o default/deps/c-ares/ares_destroy_1.o default/deps/c-ares/ares_cancel_1.o default/deps/c-ares/ares_parse_aaaa_reply_1.o default/deps/c-ares/ares_parse_ns_reply_1.o default/deps/c-ares/ares_version_1.o default/deps/c-ares/ares__get_hostent_1.o default/deps/c-ares/ares_writev_1.o default/deps/c-ares/ares_expand_name_1.o default/deps/c-ares/ares_free_hostent_1.o default/deps/c-ares/ares_parse_mx_reply_1.o default/deps/c-ares/ares_gethostbyaddr_1.o default/deps/c-ares/ares_query_1.o default/deps/c-ares/ares_data_1.o default/deps/c-ares/ares_init_1.o default/deps/c-ares/ares_fds_1.o default/deps/c-ares/inet_net_pton_1.o default/deps/c-ares/ares_strerror_1.o default/deps/c-ares/bitncmp_1.o default/deps/c-ares/ares_getnameinfo_1.o default/deps/c-ares/ares_library_init_1.o default/deps/c-ares/ares_mkquery_1.o default/deps/c-ares/ares_process_1.o default/deps/c-ares/windows_port_1.o default/deps/c-ares/ares_parse_srv_reply_1.o default/deps/c-ares/ares_llist_1.o default/deps/c-ares/ares_timeout_1.o default/deps/c-ares/ares__read_line_1.o default/deps/c-ares/ares_strdup_1.o -o /private/tmp/homebrew-node-0.4.2-bp4i/node-v0.4.2/build/default/node -pthread -framework Carbon -arch x86_64 -rdynamic /private/tmp/homebrew-node-0.4.2-bp4i/node-v0.4.2/build/default/libv8.a -L/usr/local/Cellar/openssl/0.9.8o/lib -L/usr/lib -L/usr/local/lib -lssl -lcrypto -ldl -lutil
make: *** [install] Error 1
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/node.rb#L28
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: 5bbf3009e2a5e0ad8d1f0c5f03a96058db8df7f1
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: quad-core 64-bit arrandale
OS X: 10.6.6
Kernel Architecture: i386
Ruby: 1.8.7-174
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 3.2.3
GCC-4.0: build 5494 
GCC-4.2: build 5664 
LLVM: build 2326 
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/cc => /usr/bin/gcc-4.2
CXX: /usr/bin/c++ => /usr/bin/c++-4.2
LD: /usr/bin/cc => /usr/bin/gcc-4.2
CFLAGS: -O3 -w -pipe
CXXFLAGS: -O3 -w -pipe
MAKEFLAGS: -j4
ghost commented 13 years ago

Did you mean brew unlink openssl?

Seems like the OpenSSL library are being built for the wrong architecture. Did you build with the --universal option enabled?

enaeseth commented 13 years ago

Did you mean brew unlink openssl?

Derp. Yes, I did. Edited.

Seems like the OpenSSL library are being built for the wrong architecture. Did you build with the --universal option enabled?

That does seem to be the problem, but I don't recall specifying --universal on anything. Should I really be getting an ia32 OpenSSL, but an x64 node.js?

enaeseth commented 13 years ago

Ugh. Didn't mean to close this issue, but I'm not sure how to reopen it.

giladbu commented 13 years ago

@enaeseth how did you resolve the issue, I'm having the same problem.