osx - Tor + Homebrew & Mavericks OpenSSL -


i'm trying install command-line version of tor. have done using homebrew, gives me following notice:

[notice] openssl version seems 0.9.8y. recommend 1.0.0 or later. 

so updated openssl. openssl version yields in 1.0.1f.

when run which openssl in terminal, returns /usr/local/bin/openssl. when run which tor in terminal, returns /usr/local/bin/tor.

so why isn't tor seeing updated version of openssl?

so why isn't tor seeing updated version of openssl?

mac os x as can load 0.9.8 in /usr/lib:

$ find /usr/ -iname libssl* /usr//lib/libssl.0.9.7.dylib /usr//lib/libssl.0.9.8.dylib /usr//lib/libssl.dylib 

ld_preload not honored on mac os x (iirc). try using dyld_library_path. sure tor linked against 1.0.1, , not 0.9.8. otherwise, you'll catch obscure errors make no sense.


when run tor in terminal, returns /usr/local/bin/tor

did build tor yourself? if built yourself, here's few notes field respect apple's linkers. (1) silently ignore rpath's. (2) silently ignore requests -bstatic. (3) more generally, link shared object if available (even on ios thing suppose use archive). (4) ld_preload not honored.

you have persistent link openssl in /usr/local/ssl/. best way have found remove -l, remove -lssl , remove -lcrypto makefiles; , add full path names of static archive @ /usr/local/ssl/lib/libssl.a , /usr/local/ssl/lib/libcrypto.a.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -