- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- PA-RISC vs ELF-32 with libclntsh.so Oracle lib
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
тАО09-10-2008 10:43 PM
тАО09-10-2008 10:43 PM
PA-RISC vs ELF-32 with libclntsh.so Oracle lib
I am in HP Itanium,
HP-UX iaauto1 B.11.23 U ia64 1357667136
My exe is ELF-32 format,
fred: ELF-32 executable object file - IA64
i used libclntsh.so at compile time. But at run time its asking for libclntsh.sl file.
If i give reference to libclntsh.sl file, it does not work, But if i rename original libclntsh.so to libclntsh.sl it works.
I have tried ldd
how to resolve the issue???
-krushna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2008 01:29 AM
тАО09-11-2008 01:29 AM
Re: PA-RISC vs ELF-32 with libclntsh.so Oracle lib
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2008 01:57 AM
тАО09-11-2008 01:57 AM
Re: PA-RISC vs ELF-32 with libclntsh.so Oracle lib
While building application, we have given link path to .so file only. So at run time it shd look for .so file. I am wondering why it is looking for .sl file. Again just renaming .so to .sl it works.
logically if both exe and lib are in ELF-32, then at run time it should link to .so file.
As in itanium, ELF-32 shared object lib is .so files.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2008 03:49 AM
тАО09-11-2008 03:49 AM
Re: PA-RISC vs ELF-32 with libclntsh.so Oracle lib
What other libraries does ldd show for your executable.
The point I was trying to make is that libraries can reference other libraries themselves.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2008 07:45 AM
тАО09-11-2008 07:45 AM
Re: PA-RISC vs ELF-32 with libclntsh.so Oracle lib
You shouldn't rename the file but you can add a symlink.
>As in Integrity, ELF-32 shared object lib is .so files.
That's the default and the recommended suffix but dld doesn't care what the name is.
>Duncan: Maybe another library you linked with is looking for the .sl library name.
Perhaps another PA process is created?
It would help if the exact error message was given.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2008 07:29 PM
тАО09-11-2008 07:29 PM
Re: PA-RISC vs ELF-32 with libclntsh.so Oracle lib
libtcl8.4.so => /tools/rd/tcl/v8.4.2/lib/libtcl8.4.so
libnsl.so.1 => /usr/lib/hpux32/libnsl.so.1
libstd_v2.so.1 => /usr/lib/hpux32/libstd_v2.so.1
libCsup.so.1 => /usr/lib/hpux32/libCsup.so.1
libpthread.so.1 => /usr/lib/hpux32/libpthread.so.1
libm.so.1 => /usr/lib/hpux32/libm.so.1
libunwind.so.1 => /usr/lib/hpux32/libunwind.so.1
libc.so.1 => /usr/lib/hpux32/libc.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
libm.so.1 => /usr/lib/hpux32/libm.so.1
libxti.so.1 => /usr/lib/hpux32/libxti.so.1
libuca.so.1 => /usr/lib/hpux32/libuca.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
Below is the runtime error message, when trying to connect to oracle db from the application.
Line:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2008 07:53 PM
тАО09-11-2008 07:53 PM
Re: PA-RISC vs ELF-32 with libclntsh.so Oracle lib
Line:
This doesn't look like a dld error message. So it seems that the application must be broken and calling dlopen(3) directly on that wrong spelling of the shlib.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2008 12:00 AM
тАО09-12-2008 12:00 AM
Re: PA-RISC vs ELF-32 with libclntsh.so Oracle lib
-krushna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2008 12:32 AM
тАО09-12-2008 12:32 AM
Re: PA-RISC vs ELF-32 with libclntsh.so Oracle lib
What do you get when you run ldd against that library?
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2008 06:22 PM
тАО09-12-2008 06:22 PM
Re: PA-RISC vs ELF-32 with libclntsh.so Oracle lib
Then you may have to use tusc to see who is trying to open that file.