現象:
[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 ui
解決:
ln -s /lib/libz.so.1.2.3 /usr/lib/libz.so.1 this
緣由:
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 .net