- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Hi, ld: Mismatched ABI for -lstd_v2, found /usr/li...
Operating System - HP-UX
1748183
Members
3548
Online
108759
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-25-2010 11:17 PM
тАО10-25-2010 11:17 PM
Hi, ld: Mismatched ABI for -lstd_v2, found /usr/lib/hpux32/libstd_v2.so
Hi,
I compile a program with 32bit on HPUX, when I link it with -lstd_v2(link flag: aCC +DD32 -AA -b -mt ), It tell me this message:
ld: Mismatched ABI for -lstd_v2, found /usr/lib/hpux32/libstd_v2.so
Fatal error.
*** Error exit code 1
this share lib obj information is :
$file /usr/lib/hpux32/libstd_v2.so
/usr/lib/hpux32/libstd_v2.so: ELF-32 shared object file - IA64
$chatr /usr/lib/hpux32/libstd_v2.so
/usr/lib/hpux32/libstd_v2.so:
32-bit ELF shared library
shared library dynamic path search:
LD_LIBRARY_PATH enabled first
SHLIB_PATH enabled second
embedded path enabled third /usr/lib/hpux32:/opt/langtools/lib/hpux32
internal name:
libstd_v2.so.1
shared library mapped private disabled
shared vtable support disabled
explicit unloading enabled
linkage table protection disabled
segments:
index type address flags size
7 text 04000000 z---c- D (default)
8 data 40010000 ---m-- D (default)
kernel assisted branch prediction enabled
lazy swap allocation for dynamic segments disabled
nulptr dereferences trap disabled
address space model: default
caliper dynamic instrumentation disabled
I compile a program with 32bit on HPUX, when I link it with -lstd_v2(link flag: aCC +DD32 -AA -b -mt ), It tell me this message:
ld: Mismatched ABI for -lstd_v2, found /usr/lib/hpux32/libstd_v2.so
Fatal error.
*** Error exit code 1
this share lib obj information is :
$file /usr/lib/hpux32/libstd_v2.so
/usr/lib/hpux32/libstd_v2.so: ELF-32 shared object file - IA64
$chatr /usr/lib/hpux32/libstd_v2.so
/usr/lib/hpux32/libstd_v2.so:
32-bit ELF shared library
shared library dynamic path search:
LD_LIBRARY_PATH enabled first
SHLIB_PATH enabled second
embedded path enabled third /usr/lib/hpux32:/opt/langtools/lib/hpux32
internal name:
libstd_v2.so.1
shared library mapped private disabled
shared vtable support disabled
explicit unloading enabled
linkage table protection disabled
segments:
index type address flags size
7 text 04000000 z---c- D (default)
8 data 40010000 ---m-- D (default)
kernel assisted branch prediction enabled
lazy swap allocation for dynamic segments disabled
nulptr dereferences trap disabled
address space model: default
caliper dynamic instrumentation disabled
- Tags:
- ABI mismatch
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2010 11:45 AM
тАО10-26-2010 11:45 AM
Re: Hi, ld: Mismatched ABI for -lstd_v2, found /usr/lib/hpux32/libstd_v2.so
>I compile a program with 32bit on HP-UX
Since the linker insists that 32 bit is wrong, you need to check one of the object files using file(1).
Since the linker insists that 32 bit is wrong, you need to check one of the object files using file(1).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2010 06:13 PM
тАО10-26-2010 06:13 PM
Re: Hi, ld: Mismatched ABI for -lstd_v2, found /usr/lib/hpux32/libstd_v2.so
Thanks very much, I found I used 64 bit informix lib, haha, thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2010 02:53 AM
тАО10-27-2010 02:53 AM
Re: Hi, ld: Mismatched ABI for -lstd_v2, found /usr/lib/hpux32/libstd_v2.so
>Thanks very much
If you are happy with the answers you were given, please read the following about how to assign points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33
If you are happy with the answers you were given, please read the following about how to assign points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP