-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Conversation
Punting this off the CI queue for a few minutes whilst I bump the timeout. |
Back in the queue. |
thanks! |
@alex: What version of Mac OS X are you running? I tried out similar changes on 10.11.1 'El Capitan' and I get an error: note: Undefined symbols for architecture x86_64: "_EVP_aes_256_ctr", referenced from: _libssh2_crypt_method_aes256_ctr in liblibssh2_sys-3d2e39bd460070f9.rlib(crypt.c.o) (maybe you meant: __libssh2_EVP_aes_256_ctr) "_EVP_aes_192_ctr", referenced from: _libssh2_crypt_method_aes192_ctr in liblibssh2_sys-3d2e39bd460070f9.rlib(crypt.c.o) (maybe you meant: __libssh2_EVP_aes_192_ctr) "_EVP_aes_128_ctr", referenced from: _libssh2_crypt_method_aes128_ctr in liblibssh2_sys-3d2e39bd460070f9.rlib(crypt.c.o) (maybe you meant: __libssh2_EVP_aes_128_ctr) ld: symbol(s) not found for architecture x86_64 |
@dtrebbien Not sure what would cause that, it looks green on CI |
Hmmm. I tried your patch exactly and I still get the same errors. |
The only thing I can think of here is that @dtrebbien is building outside |
I am running the Homebrew is installed to |
@dtrebbien Can you generate a |
In my case, the Rust libssh2-sys library is building its own copy of libssh2 using CMake. The libssh2 CMake build script checks for the existence of the EVP_aes_128_ctr() function in OpenSSL's libcrypto. If found, then libssh2 will use that function; otherwise, libssh2 provides an implementation. CMake is checking the Homebrew version of OpenSSL ( Can others check their nm -a /usr/lib/libcrypto.dylib I have not modified this file on my system, so I am not sure why the A fix for my system is to add a dependency on libssh2 to the formula. This causes the Rust libssh2-sys library not to build its own copy of libssh2:
|
This seems OK 👍 |
You don't have the CLT installed, is the obvious detail. All the CIs ship both Xcode and CLT, so it would pass there if that was the case. |
Hi @alex, did you want to push an amended commit with the extra |
I'm not sure I understand why rust needs to depend on |
Adding a dependency on libssh2 to the formula just makes sure that the Homebrew OpenSSL libs are used. |
Ahhh, ok, it's cargo itself. I'll add |
Would you mind squashing this and rebasing it against the master? Several of us have tried to pull it locally but we're getting git error messages 😢. |
@DomT4 done |
No description provided.