- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Errors running PA-RISC binary on Itanium
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
тАО10-02-2007 01:24 AM
тАО10-02-2007 01:24 AM
Errors running PA-RISC binary on Itanium
We are currently on HPUX 11.0 and Oracle 9.2
We use a Uniface application which needs to connect to the database using libclntsh.sl.
The Uniface binary is asv and looks for libclntsh.sl.8.0.
The command file asv returns:
asv: PA-RISC2.0 shared executable dynamically linked -not stripped
I am trying to get the asv binary to work on an Itanium server running HPUX 11.23 and Oracle 10g.
I am getting the following error:
$: asv
/usr/lib/dld.sl: Bad magic number for shared library: /disk1/app/oracle/product/10.2.0/db_1/lib32/libclntsh.sl.8.0
/usr/lib/dld.sl: Exec format error
[HP ARIES32]: Core file for 32 bit PA-RISC application
[HP ARIES32]: /disk1/iris30p/iris33/bin/asv saved to /disk1/iris30p/iris33/bin/core.asv.
Abort(coredump)
SHLIB_PATH is set to $ORACLE_HOME/lib32
I have also set LD_LIBRARY_PATH to $ORACLE_HOME/lib as per recommendations on a previous post here.
I have linked the Oracle client in lib32 as : libclntsh.sl.8.0 -> libclntsh.so.10.1
I have tried to run chatr on the asv binary and obviously enough get the error:
chatr(error): file asv is not a valid ELF file
When I run chatr on asv on the PA-RISC box I get:
asv:
shared executable
shared library dynamic path search:
SHLIB_PATH enabled first
embedded path enabled second :/disk1/uniface/uniface7206/:/disk1/uniface/uniface7206/../lib:/disk1/apps/oracle/product/8.1.7/lib:/usr/dt/lib:.:/usr/lib:/opt/langtools/lib
..................................
..................................
Am I missing something obvious in my setup or am I attempting the impossible ?
Thanks
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2007 01:48 AM
тАО10-02-2007 01:48 AM
Re: Errors running PA-RISC binary on Itanium
Aries is an awful emulation that does not run all applications and saps 70% of the performance on those it runs.
If you have source code you should recompile.
You should use an oracle client specific to your processor and not try and run cross platform binaries.
I know you won't be happy with that but emulation simply does not match the hype.
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
тАО10-02-2007 05:09 AM
тАО10-02-2007 05:09 AM
Re: Errors running PA-RISC binary on Itanium
Going from 11.0 is a bug step (especially since support dropped last Dec on it) - you really need to force your Application Owners to stay more current - IE - regulary update the OS once a year or 2 at the least.
Seeing how it has taken this long to upgrade 11.0 - why go only to 11.23? Might as well as try 11.31.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2007 06:51 PM
тАО10-02-2007 06:51 PM
Re: Errors running PA-RISC binary on Itanium
1) You simlink a PA-RISC library to an Itanium library. Of course ARIES can't handle this. If you want this to work, you need to have the Oracle 10 PA-RISC client installation on your Itanium system. Remains the quesion if this is a good idea.
2) Oracle does not support the Oracle 8 client to connect to an Oracle 10 database. It is not even sure if both libraries are compatible enough to make it work, so in fact you should get this running first on PA-RISC, and then migrate the same setup to Itanium.
If you want to continue this path anyway, maybe you can install an Oracle 9i R2 client and link libclntsh.sl.8.0 -> libclntsh.sl.9.0
I had to do this in the past, and it works, and Oracle supports the Oracle9 client to an Oracle10 database.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2007 07:12 PM
тАО10-02-2007 07:12 PM
Re: Errors running PA-RISC binary on Itanium
>I have tried to run chatr on the asv binary and obviously enough get the error:
chatr(error): file asv is not a valid ELF file
The correct way to run the PA chatr(1) on IPF is:
$ SDKROOT=/usr/ccs/pa chatr file