- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Cannot run Java from swinstall script
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
Forums
Discussions
Discussions
Discussions
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
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
09-11-2006 01:46 AM
09-11-2006 01:46 AM
Our package installation installs a shell script (gen_ui_scripts) which it then runs during the postinstall. This script then calls java, but fails due to:
/usr/lib/pa20_64/dld.sl: Unable to find library 'libjvm.sl'.
When running this script from the command line it works fine. For debugging we are explicity exporting the SHLIB_PATH within gen_ui_scripts to include the location of libjvm.sl, but, it still fails.
Is there anything special about running under swinstall?
Thanks,
Bob
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 04:20 AM
09-11-2006 04:20 AM
Solutionln -s /opt/java1.4/jre/lib/PA_RISC2.0W/server/*.sl /usr/lib/pa20_64 Make sure to use the version of java needed by the install(java1.4 or java1.5). If you only the link the libjvm.sl you may take errors with other missing .sl's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 04:29 AM
09-11-2006 04:29 AM
Re: Cannot run Java from swinstall script
The download of java may be incomplete.
There are no pre-requesites for java, however http://www.hp.com/go/java has a long list of recommendations concerning pre java patching.
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
09-11-2006 01:38 PM
09-11-2006 01:38 PM
Re: Cannot run Java from swinstall script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 01:57 PM
09-12-2006 01:57 PM
Re: Cannot run Java from swinstall script
setuid executables don't look at SHLIB_PATH.
See PHSS_34353 JAGaf79250. See dld.sl(5):
http://docs.hp.com/en/B2355-60127/dld.sl.5.html
Running Setuid Programs
- Tags:
- setuid
- SHLIB_PATH