- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to use bash for ia machine(11.23)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2007 11:25 PM
тАО04-12-2007 11:25 PM
My machine(11.23) had bash for PA arch and when i tried to install(as i couldn't get the bash binary for ia machine on any of my machines) bash for ia,it failed giving error message:
/usr/lib/hpux32/dld.so: Unable to find library 'libtermcap.so'.
Killed
downloaded from:
http://hpux.connect.org.uk/hppd/hpux/Shells/bash-3.2/
root@testia07// $ file /usr/bin/bash
/usr/bin/bash: PA-RISC1.1 shared executable dynamically linked -not stripped dynamically linked
root@testia07// $ model
ia64 hp server rx464
root@testia07/var/ $ uname -a
HP-UX testia07 B.11.23 U ia64 1691467044 unlimited-user license
root@testia07/var/ $ gunzip bash-3.2-ia64-11.23.depot.gz
root@testia07/var/ $ swinstall -s /var/bash-3.2-ia64-11.23.depot \*
======= 04/13/07 15:33:08 IST BEGIN swinstall SESSION
(non-interactive) (jobid=testia07-0575)
* Session started for user "root@testia07".
* Beginning Selection
* Target connection succeeded for "testia07:/".
* Source: /var/bash-3.2-ia64-11.23.depot
* Targets: testia07:/
* Software selections:
bash.bash-RUN,r=3.2,a=HP-UX_B.11.23_64
* Selection succeeded.
* Beginning Analysis and Execution
* Session selections have been saved in the file
"/.sw/sessions/swinstall.last".
* The analysis phase succeeded for "testia07:/".
* The execution phase succeeded for "testia07:/".
* Analysis and Execution succeeded.
NOTE: More information may be found in the agent logfile using the
command "swjob -a log testia07-0575 @ testia07:/".
======= 04/13/07 15:33:32 IST END swinstall SESSION (non-interactive)
(jobid=testia07-0575)
root@testia07/var/ $ /usr/local/bin/bash
/usr/lib/hpux32/dld.so: Unable to find library 'libtermcap.so'.
Killed
this(libtermcap.so) shared library is indeed not present on my machine :-(
so what should be done ?
Thanks,
~amit
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2007 11:33 PM
тАО04-12-2007 11:33 PM
Re: Unable to use bash for ia machine(11.23)
You can't use PA-RISC software on an Itanium system.
Take the source code and compile it if you can't find a version for 11.23 Itanium.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2007 11:44 PM
тАО04-12-2007 11:44 PM
Re: Unable to use bash for ia machine(11.23)
PA-RISC and Itanium are different processor architecture, so code will not run, unless it is recompiled AND takes into consideration any processor specific instructions.
You wouldn't expect to be able to run a windows product on a native HP platform ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2007 11:59 PM
тАО04-12-2007 11:59 PM
SolutionThe biggest problem here is that LIBTERMCAP is not installed. You need to find it and install it.
If you go to the bash download page here:
http://hpux.connect.org.uk/hppd/hpux/Shells/bash-3.2/
You will see a list of "Run time dependencies"
Run-time dependencies: gettext libiconv termcap
These must all be installed in order for BASH to work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2007 12:00 AM
тАО04-13-2007 12:00 AM
Re: Unable to use bash for ia machine(11.23)
That's what i'm trying to do.
The machine(testia07) is an IA machine so i've downloaded
bash for ia(bash-3.2-ia64-11.23.depot.gz).
The bash executable currently on my machine is for PA and i'm trying to replace it with correct bash.
Am i missing something ?
~amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2007 12:00 AM
тАО04-13-2007 12:00 AM
Re: Unable to use bash for ia machine(11.23)
http://hpux.connect.org.uk/ftp/hpux/Shells/bash-3.2/bash-3.2-ia64-11.23.depot.gz
But take care of this:
Run-time dependencies:
gettext libiconv termcap
Do you read termcap too?
Check if you have all Run-time dependencies met.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2007 12:02 AM
тАО04-13-2007 12:02 AM
Re: Unable to use bash for ia machine(11.23)
http://hpux.connect.org.uk/hppd/hpux/Development/Libraries/termcap-1.3.1/
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2007 01:07 AM
тАО04-13-2007 01:07 AM
Re: Unable to use bash for ia machine(11.23)
After installing all of those(gettext libiconv termcap)it seems to be working fine.
A follow up querry here:
what all problems a different bash(PA bash on IA machine and vice-versa) can cause ?
Thanks,
~amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2007 01:14 AM
тАО04-13-2007 01:14 AM
Re: Unable to use bash for ia machine(11.23)
If you want to use bash while logged in as root, just switch to the bash shell after logging in by doing an 'exec bash' or 'bash'.
That being said, I don't know if it will cause you any problems or not. I wouldn't think so, but then again I don't have any IA boxes and I don't see the point of running bash on HP-UX when the POSIX shell is perfectly good.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2007 01:22 AM
тАО04-13-2007 01:22 AM
Re: Unable to use bash for ia machine(11.23)
Pete
Pete