我机子上没有libz2库。
安装
root@ubuntu:/lib# apt-get install libbz2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libbz2-dev
0 upgraded, 1 newly installed, 0 to remove and 263 not upgraded.
Need to get 31.5kB of archives.
After this operation, 111kB of additional disk space will be used.
Get:1 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libbz2-dev 1.0.5-4ubuntu0.1 [31.5kB]
Fetched 31.5kB in 0s (76.1kB/s)
Selecting previously deselected package libbz2-dev.
(Reading database ... 155544 files and directories currently installed.)
Unpacking libbz2-dev (from .../libbz2-dev_1.0.5-4ubuntu0.1_i386.deb) ...
Setting up libbz2-dev (1.0.5-4ubuntu0.1) ...
libz和libbz2是两个不同的库: