- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with CC
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
02-24-2003 11:02 PM
02-24-2003 11:02 PM
I'm trying to compile an C program with 64bit,
but in the link step I get this message:
ld: Mistmatched ABI (not an ELF file) for -lclntsh
Fatal Error.
Well... maybe I'm using the wrong flag for 64bit? Or this library is not compiled for 64bit?
Thank you for your help,
Alex.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 11:48 PM
02-24-2003 11:48 PM
Re: Problem with CC
That "ABI" means the linker finds both 32-bit and 64-bit objects or shared libraries while linking. The linker picks the first object fron the command line and uses it type to determine if the executable should be 32 or 64-bit. On the first object or shared library that is not of same type, ld reports an error like above.
Regards,Stan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 11:50 PM
02-24-2003 11:50 PM
Re: Problem with CC
try using this option during the final compilation and linking.
Revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 01:19 AM
02-25-2003 01:19 AM
Re: Problem with CC
I'm using this flag to compile my obejcts,
so all of my objects are 64bit, probably this library -lclntsh is not 64bit.
What can I do now to make it link with my objects?
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 01:49 AM
02-25-2003 01:49 AM
Re: Problem with CC
1. Ensure, that 64-bit libclnsh.* is really
missed on your system.
2. Use related patch PHSS_* - from hp.com
or other relatd place
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 02:26 AM
02-25-2003 02:26 AM
Re: Problem with CC
Then you should look at the object files LIBRARY_PATH or SHLIB_PATH at $ORACLE_HOME/lib64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 03:02 AM
02-25-2003 03:02 AM
Re: Problem with CC
1. To produce optimized code use '+DAportable' on the command line.
or
2. Turn off the warning in the linker with the '+vanocompat' option set to 'ld'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 03:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 10:26 AM
02-25-2003 10:26 AM
Re: Problem with CC
Thanx all for your help !!!