./tor --version Tor version 0.2.3.11-alpha-dev (git-5d763b3d0bf8898e).
Tor compiled on Mac OS X 10.7 (Lion), but running on 10.6.8 (Snow Leopard):
./tor dyld: lazy symbol binding failed: Symbol not found: _memmem Referenced from: /Applications/TorBrowser.app/Contents/MacOS/./tor Expected in: /usr/lib/libSystem.B.dylib dyld: Symbol not found: _memmem Referenced from: /Applications/TorBrowser.app/Contents/MacOS/./tor Expected in: /usr/lib/libSystem.B.dylib
Tor compiled on Mac OS X 10.7 (Lion) [from tor-obfsproxy-browser-bundle-2.3.10]:
otool -I -v tor | grep memmem 0x000000010019557a 17226 _memmem 0x000000010023b3a0 17226 _memmem
Tor ./configure
on Mac OS X 10.6.8 (Snow Leopard):
checking for memmem... no
Tor compiled on Mac OS X 10.6.8 (Snow Leopard):
otool -I -v tor | grep memmem
Add the comfort to make releases compatible with lower Mac OS X versions, even when building with Lion. Won't need a separate build slave then. Drawback would be not having the (faster) glibc memmem
implementation, but this should be a non-issue from the perspective of a quick-fix for enhancing the out-of-box experience.
git clone git://gitweb.torproject.org/tor.git cd tor wget --no-check-certificate https://raw.github.com/gist/1811671/memmem-fix-2.patch patch -p1 < memmem-fix-2.patch ./autogen.sh ./configure make otool -I -v src/or/tor | grep memmem
Note
No reference to memmem
should exist.