joyent/node — Issue #2111: GYP/OSX doesn't link correctly to OpenSSL
Author: ry
Created: 2011-11-15 03:35:32+00:00
State: open

```
CXX(target) /Users/ryan/projects/node/out/Release/obj.target/node/src/node_signal_watcher.o
CXX(target) /Users/ryan/projects/node/out/Release/obj.target/node/src/node_stat_watcher.o
CXX(target) /Users/ryan/projects/node/out/Release/obj.target/node/src/node_io_watcher.o
CXX(target) /Users/ryan/projects/node/out/Release/obj.target/node/src/platform_darwin.o
In file included from ../src/platform_darwin.cc:60:
../src/platform_darwin_proctitle.cc: In static member function ‘static void node::Platform::SetProcessTitle(char*)’:
../src/platform_darwin_proctitle.cc:134: warning: unused variable ‘err’
LINK(target) /Users/ryan/projects/node/out/Release/node
ld: warning: in /opt/local/lib/libz.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libssl.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libcrypto.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
Undefined symbols:
"_ERR_load_crypto_strings", referenced from:
node::crypto::InitCrypto(v8::Handle) in node_crypto.o
"_EVP_CipherFinal", referenced from:
node::crypto::Cipher::CipherFinal(unsigned char**, int*)in node_crypto.o
node::crypto::Decipher::DecipherFinal(unsigned char**, int*, bool)in node_crypto.o
"_SSLv3_method", referenced from:
node::crypto::SecureContext::Init(v8::Arguments const&)in node_crypto.o
"_EVP_CIPHER_iv_length", referenced from:
node::crypto::Decipher::DecipherInitIv(char*, char*, int, char*, int)in node_crypto.o
node::crypto::Cipher::CipherInitIv(char*, char*, int, char*, int)in node_crypto.o
"_EVP_CipherInit", referenced from:
node::crypto::Decipher::DecipherInitIv(char*, char*, int, char*, int)in node_crypto.o
node::crypto::Cipher::CipherInitIv(char*, char*, int, char*, int)in node_crypto.o
node::crypto::Decipher::DecipherInit(char*, char*, int)in node_crypto.o
node::crypto::Cipher::CipherInit(char*, char*, int)in node_crypto.o
"_SSL_CTX_use_PrivateKey", referenced from:
node::crypto::SecureContext::SetKey(v8::Arguments const&)in node_crypto.o
"_BIO_test_flags", referenced from:
node::crypto::Connection::HandleBIOError(bio_st*, char const*, int)in node_crypto.o
node::crypto::Connection::HandleBIOError(bio_st*, char const*, int)in node_crypto.o
node::crypto::Connection::HandleBIOError(bio_st*, char const*, int)in node_crypto.o
"_SSL_shutdown", referenced from:
node::crypto::Connection::Shutdown(v8::Arguments const&)in node_crypto.o
"_EVP_CipherUpdate", referenced from:
node::crypto::Decipher::DecipherUpdate(char*, int, unsigned char**, int*)in node_crypto.o
node::crypto::Cipher::CipherUpdate(char*, int, unsigned char**, int*)in node_crypto.o
"_ERR_error_string_n", referenced from:
node::crypto::RandomBytesCheck(node::crypto::RandomBytesRequest*, v8::Handle*)in node_crypto.o
node::crypto::Connection::HandleBIOError(bio_st*, char const*, int)in node_crypto.o
node::crypto::SecureContext::SetCert(v8::Arguments const&)in node_crypto.o
"_SSL_ctrl", referenced from:
node::crypto::Connection::New(v8::Arguments const&)in node_crypto.o
node::crypto::Connection::IsSessionReused(v8::Arguments const&) in node_crypto.o
"_DH_generate_parameters_ex", referenced from:
node::crypto::DiffieHellman::Init(int) in node_crypto.o
"_EVP_sha1", referenced from:
node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto.o
"_SSL_free", referenced from:
node::crypto::Connection::Close(v8::Arguments const&)in node_crypto.o
node::crypto::Connection::~Connection()in node_crypto.o
node::crypto::Connection::~Connection()in node_crypto.o
"_X509_get_ext", referenced from:
node::crypto::Connection::GetPeerCertificate(v8::Arguments const&) in node_crypto.o
```