[tor-relays] This is what you get....compile problem OSX10.4

Geoff Down geoffdown at fastmail.net
Tue Jan 24 17:47:21 UTC 2012



On Tue, Jan 24, 2012, at 11:01 AM, Justin Aplin wrote:

> My bad, I wasn't thinking straight when I wrote that. I forgot the
> openssldir, at least on OSX, doesn't actually contain the libs. Try "sudo
> find / -iname libssl*.dylib" to find an appropriate lib in your setup.
> Since I replaced my system openssl with 1.0.0g, I have
> /usr/lib/libssl.1.0.0.dylib, so I use --with-openssl-dir=/usr at build
> time. If you get the same error with an appropriate explicit pointer to
> your libs, I'll be truly stumped, and you may have to resort to building
> your own.
ok, barring one in a .app directory, I have
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libssl.0.9.7.dylib
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libssl.0.9.dylib
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libssl.dylib
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libssl.0.9.7.dylib
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libssl.0.9.dylib
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libssl.dylib
/opt/local/lib/libssl.1.0.0.dylib
/opt/local/lib/libssl.dylib
/usr/lib/libssl.0.9.7.dylib
/usr/lib/libssl.0.9.dylib
/usr/lib/libssl.dylib

So if I understand correctly, I should use
$ unset LDFLAGS
$ CFLAGS="-O -g -mmacosx-version-min=10.4 -arch ppc"
$ ./configure --with-libevent-dir=/opt/local
--with-openssl-dir=/opt/local --disable-dependency-tracking CC="gcc-4.0"

GD

-- 
http://www.fastmail.fm - A no graphics, no pop-ups email service



More information about the tor-relays mailing list