Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The "UsingLzoCompression" page has been changed by SamPullara. http://wiki.apache.org/hadoop/UsingLzoCompression?action=diff&rev1=17&rev2=18 -------------------------------------------------- * For 0.21 or 0.22 checkout trunk On Mac: - * On Mac also you will probably have to add the line to build.xml just above the call to 'configure' in compile-native: + * On Mac you might want to use a command line like: {{{ - <env key="CFLAGS" value="-arch x86_64" /> + env JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/ \ + C_INCLUDE_PATH=/path/to/lzo64/include LIBRARY_PATH=/path/to/lzo64/lib \ + CFLAGS="-arch x86_64" ant clean compile-native test tar }}} This ensures the library is built in 64 bit mode, because java 1.6 is 64 bit only. Also make sure your lzo library is x64_64 as well, type: {{{ $ file /usr/local/lib/liblzo2.2.0.0.dylib
