CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 6 - Software Support
  HP PSP installation problem (zlib "missing")

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  rmsoftware
      rmsoftware
Re: HP PSP installation problem (zlib "missing")
#7
Newbie
Joined: 2011/10/25
From
Posts: 1
And for x86_64 this worked for me:

ln -s /lib64/libz.so.1.2.3 /usr/lib/libz.so.1
Posted on: 2011/10/25 12:25
Create PDF from Post Print
Top
  •  mgmartin
      mgmartin
Re: HP PSP installation problem (zlib "missing")
#6
Newbie
Joined: 2011/7/28
From
Posts: 1
Thanks for the fix jfjuneau . Making the link worked for me.

I found the /usr/lib/libz.so link is created by installing the zlib-devel packages.
Posted on: 2011/7/28 6:17
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: HP PSP installation problem (zlib "missing")
#5
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Both CentOS-6 and SL6 have "/usr/lib/libz.so -> ../../lib/libz.so.1.2.3" and no /usr/lib/libz.so.1 link. Perhaps you fixed SL to make the installer happy and forgot about it.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2011/7/21 21:39
Create PDF from Post Print
Top
  •  jfjuneau
      jfjuneau
Re: HP PSP installation problem (zlib "missing")
#4
Newbie
Joined: 2007/3/2
From Québec, Canada
Posts: 6
I finally found how to fix this. I extracted the installation script from the RPM file and I looked for the part where it would search for zlib:
   if [ ! -f /usr/lib/libz.so.1 ]; then
     ZLIB=1
     echo The zlib package or binaries are missing!
     echo Please install the zlib-1.1.4 RPM package.
   fi
   if [[ "$ZLIB" = '1'  || "$EXPT" = '1' ]]; then
     echo Required Packages are missing!
     exit 1
   fi


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:
ln -s /lib/libz.so.1.2.3 /usr/lib/libz.so.1


In my previous Scientific Linux 6 setup, the symbolic links must have been already there with the default installation, I don't know if it's a bug in the zlib packages from CentOS or in HP's installation script. Anyway, I hope it will help others if they run into the same problem!

Thanks!
Posted on: 2011/7/21 18:46
Create PDF from Post Print
Top
  •  jfjuneau
      jfjuneau
Re: HP PSP installation problem (zlib "missing")
#3
Newbie
Joined: 2007/3/2
From Québec, Canada
Posts: 6
Thanks for the quick reply! I didn't get any error from the command:
[root@vmdr-prd1 ~]# rpm -Va zlib\*
[root@vmdr-prd1 ~]#


I'm also not using any unofficial repositories. Only the "base", "extras" and "updates" repositories are enabled.
Posted on: 2011/7/21 17:35
Create PDF from Post Print
Top
  •  lystor
      lystor
Re: HP PSP installation problem (zlib "missing")
#2
Regular Board Member
Joined: 2008/9/10
From Ukraine, Donetsk
Posts: 187
Quote:

jfjuneau wrote:
What bugs me is that I managed to get it working without problem with Scientific Linux 6 3 weeks ago. I formatted the server with CentOS 6 this week and now it won't install, I must have missed a software dependency somewhere but I can't find it. Thanks in advance!

Hi
Verify all installed zlib rpm packages:
# rpm -Va zlib\*
_________________
CentOS Packages Search
Posted on: 2011/7/21 17:08
Create PDF from Post Print
Top
  •  jfjuneau
      jfjuneau
HP PSP installation problem (zlib "missing")
#1
Newbie
Joined: 2007/3/2
From Québec, Canada
Posts: 6
Hi,

I'm trying to install the HP ProLiant Support Pack for RHEL6 on CentOS 6 (x86_64). My server is an HP ProLiant DL 380 G7. All components installed successfully except the HP System Management Homepage (hpsmh)

If I try to install it manually (without the HP SUM utility) here is what I get:

[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


zlib is installed for i686 and x86_64, I also installed the devel packages but hpsmh can't find the libraries:

[root@vmdr-prd1 Downloads]# rpm -qa | grep zlib
zlib-devel-1.2.3-25.el6.i686
zlib-1.2.3-25.el6.x86_64
zlib-devel-1.2.3-25.el6.x86_64
zlib-1.2.3-25.el6.i686
zlib-static-1.2.3-25.el6.x86_64


What bugs me is that I managed to get it working without problem with Scientific Linux 6 3 weeks ago. I formatted the server with CentOS 6 this week and now it won't install, I must have missed a software dependency somewhere but I can't find it. Thanks in advance!

JF
Posted on: 2011/7/21 15:45
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com