在惠普BL460C G1上安装System Management Homepage(CentO...

现象:
[root@server Downloads]# rpm -Uvh hpsmh-6.3.0-22.x86_64.rpm
Preparing...                ########################################### [100%]
This Red Hat Linux distribution is not supported.
Detected CentOS release
The zlib package or binaries are missing!
Please install the zlib-1.1.4 or later RPM package.
Required Packages are missing!
error: %pre(hpsmh-6.3.0-22.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping hpsmh-6.3.0-22


解决:
ln -s /lib/libz.so.1.2.3 /usr/lib/libz.so.1

原因:
The script is looking for "libz.so.1" in "/usr/lib", but CentOS 6 installs this library in "/lib/". I made a symbolic link with the following command and everything works now

你可能感兴趣的:(在惠普BL460C G1上安装System Management Homepage(CentO...)