Wednesday, February 9, 2011

Installing Bash on HP-UX Itanium server

Installing Bash on HP-UX is different on different hardware. Currently HP-UX offers support on below hardware
- PA-RISC servers from HP
- Itanium(Intel I64) servers from HP.

I have been facing a difficulty on installing Bash over Itanium server. I found the bash depot in hp web site. Once I finished installation, bash throws an error with below message :
"/usr/lib/hpux32/ Unable to find library ''".

Here is a simple method to deploy Bash on HP-UX Itanium servers.

install bash-4.1.007-ia64-11.31.depot
( swinstall –s <bash-4.1.007-ia64-11.31.depot >
This depot can be downloaded from internet.
Then you need to check for the dependencies, which  are installed or not. To check the dependency, go to the bash installed location. Usually the install directory will be /usr/local/bin/bash. Or you can execute below command to know the actual path
# whereis bash
Now you need to execute the bash.
If dependant  libraries are not present, then it will popup with a error message similar bas below :
"/usr/lib/hpux32/ Unable to find library ''"
If dependant libraries are not present in your system, here is the method to get it.
1- note down the bash dependant libraries  from here:

bash-4.1# ldd bash =>        /usr/local/lib/hpux32/ =>   /usr/local/lib/hpux32/ =>  /usr/local/lib/hpux32/ =>   /usr/lib/hpux32/ =>    /usr/lib/hpux32/ =>    /usr/lib/hpux32/

You can download all these files from  here : www.

2- Now you need to copy all these files files from your friends machine to /usr/local/lib/hpux32/ folder. If hpux32 folder is not exist, then you can create one and copy the libriries to the folder.

3- Thats it, now you can enjoy the wonderful world of Bash.