# Bzip2-&bzip2-version; N32 Libraries

## Installation of Bzip2

We need to change the default lib path to `lib32`:

    sed -i 's@/lib\(/\| \|$\)@/lib32\1@g' Makefile

    make -f Makefile-libbz2_so CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}"
    make clean

    make CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" libbz2.a

To test the results, issue: `make CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" check` .

    cp -v libbz2.a /usr/lib32
    cp -av libbz2.so* /lib32
    ln -sv ../../lib32/libbz2.so.1.0 /usr/lib32/libbz2.so

Details on this package are located in contents-bzip2