tce-load -i cd bzip2-1.0.6 sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile add CFLAGS="-mtune=generic -Os -pipe" to Makefile/Makefile-libbz2_so make -f Makefile-libbz2_so make clean make sudo make PREFIX=/usr/local install sudo cp bzip2-shared /usr/local/bin/bzip2 sudo cp -a libbz2.so* /usr/local/lib cd /usr/local/lib sudo ln -s libbz2.so.1.0.6 libbz2.so