GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error "ld: Can't find library or mismatched ABI fo...
Operating System - HP-UX
1847063
Members
5716
Online
110261
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
Forums
Discussions
Discussions
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
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
05-19-2009 07:00 AM
05-19-2009 07:00 AM
Error "ld: Can't find library or mismatched ABI for -lutil"
Hi,
We are migrating a pro*c application from PA-RISC based server (B.11.11) to Itanium server (B.11.23). The problem is when compiling the code I am getting the below mentioned error
"ld: Can't find library or mismatched ABI for -lutil"
along with a few warnings like
cc: warning 901: unknown option: `+DA2.0W': use +help for online documentation
The warning I guess can be sorted out by changing the cflags. But not able to sort out the error. Can any one of you please help me out in this.
We are migrating a pro*c application from PA-RISC based server (B.11.11) to Itanium server (B.11.23). The problem is when compiling the code I am getting the below mentioned error
"ld: Can't find library or mismatched ABI for -lutil"
along with a few warnings like
cc: warning 901: unknown option: `+DA2.0W': use +help for online documentation
The warning I guess can be sorted out by changing the cflags. But not able to sort out the error. Can any one of you please help me out in this.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2009 07:05 AM
05-19-2009 07:05 AM
Re: Error "ld: Can't find library or mismatched ABI for -lutil"
Hi:
Either the linker can't find the object in it's LD_LIBRARY_PATH or SHLIB_PATH or you are mixing 32-bit and 64-bit objects. The "bitness" that the linker matches every object to is that of the first object it sees.
Regards!
...JRF...
Either the linker can't find the object in it's LD_LIBRARY_PATH or SHLIB_PATH or you are mixing 32-bit and 64-bit objects. The "bitness" that the linker matches every object to is that of the first object it sees.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2009 07:18 AM
05-19-2009 07:18 AM
Re: Error "ld: Can't find library or mismatched ABI for -lutil"
JRF:
Can you please elaborate the mixing 32 bit and 64bit objects. You can treat me as Novice in this area.
Thanks
RV
Can you please elaborate the mixing 32 bit and 64bit objects. You can treat me as Novice in this area.
Thanks
RV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2009 08:35 AM
05-19-2009 08:35 AM
Re: Error "ld: Can't find library or mismatched ABI for -lutil"
First of all you should install the latest linker patch so you get a better message that doesn't jam two errors into one.
>The warning I guess can be sorted out by changing the cflags.
You MUST change +DA2.0W to +DD64! Both on PA and IPF. +DA* isn't supported on IPF.
>Can you please elaborate the mixing 32 bit and 64bit objects.
All of your objects and libs must be either 32 or 64 bit. If you have a better linker, you will know if you have this issue at all.
In general, do you have a -L path that points to libutil.x? (Where x is .a, .so or .sl.)
>JRF: Either the linker can't find the object in its LD_LIBRARY_PATH or SHLIB_PATH
This is a linker error not dld.so, so these variables have nothing to do with it.
>The warning I guess can be sorted out by changing the cflags.
You MUST change +DA2.0W to +DD64! Both on PA and IPF. +DA* isn't supported on IPF.
>Can you please elaborate the mixing 32 bit and 64bit objects.
All of your objects and libs must be either 32 or 64 bit. If you have a better linker, you will know if you have this issue at all.
In general, do you have a -L path that points to libutil.x? (Where x is .a, .so or .sl.)
>JRF: Either the linker can't find the object in its LD_LIBRARY_PATH or SHLIB_PATH
This is a linker error not dld.so, so these variables have nothing to do with it.
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.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP