Kanma / MPQExtractor

A command-line tool to extract files from MPQ archives
Other
128 stars 39 forks source link

Unable to compile #6

Closed pixelastic closed 11 years ago

pixelastic commented 11 years ago

Hi,

When compiling MPQExtractor following your instructions, I'm greeted with

Linking CXX shared library ../bin/libstorm.so
/usr/bin/ld: cannot find -lbz2
collect2: ld returned 1 exit status
make[2]: *** [bin/libstorm.so.8.10.0] Error 1
make[1]: *** [StormLib/CMakeFiles/storm.dir/all] Error 2
make: *** [all] Error 2

Here are the steps I followed :

$ cd ~/local/etc
$ git clone git://github.com/Kanma/MPQExtractor.git
$ cd MPQExtractor
$ git submodule init && git submodule update
$ mkdir ./build && cd ./build
$ cmake ~/local/etc/MPQExtractor
$ make

Maybe it's a missing package on my side, but I installed libzip2 through apt-get to no avail.

Kanma commented 11 years ago

Hello

The missing library is libbzip2, and not libzip2. I suppose that the package you need to install is libbz2-1.0.

Hope that helps.

pixelastic commented 11 years ago

Thank you. After installing libbz2-dev is was able to compile (libbz2-1.0 was already installed).

Thanks.