- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- UX 11.31 ld: Can't find library or mismatched ABI ...
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
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
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
07-04-2008 07:55 AM
07-04-2008 07:55 AM
UX 11.31 ld: Can't find library or mismatched ABI for -lcurl
I have a problem in a RX26600 with UX 11.31
I´m compiling this script:
PATH=$PATH:/usr/local/lib:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
c4gl /produccion/gestor/EJECUCION/4GL/eje_g1.4gl /produccion/gestor/EJECUCION/4G
L/libr_eje.4gl /produccion/gestor/EJECUCION/4GL/cons_fun.4gl /produccion/gestor/
EJECUCION/4GL/sd2.c -I `curl-config --cflags --libs` -o /produccion/gestor/EJECU
CION/4GL/eje_g2.4ge
The command curl-config --cflags --libs shows:
-I/usr/local/include/
-L/usr/local/lib -lcurl -Wl,+b -Wl,/usr/local/lib -L/opt/openssl/lib -lssl -lcrypto
When compile follows the next error:
ld: Can't find library or mismatched ABI for -lcurl
Fatal error.
Somebody can help me please?
Thanks.
- Tags:
- ABI mismatch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2008 08:45 AM
07-04-2008 08:45 AM
Re: UX 11.31 ld: Can't find library or mismatched ABI for -lcurl
A "mismatched ABI" error means that your are trying to link 32-bit and 64-bit objects. All objects must be one or the other bitness. The first object found on the command line is used by the linker to determine what bitness the remaining objects must be.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2008 09:35 AM
07-04-2008 09:35 AM
Re: UX 11.31 ld: Can't find library or mismatched ABI for -lcurl
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1063545
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2008 11:33 AM
07-04-2008 11:33 AM
Re: UX 11.31 ld: Can't find library or mismatched ABI for -lcurl
I understand that can´t exist a mix whith 32 and 64 bits libraries but i already use the chatr command to check curl libraries and all appears to be 32 bits, now the problem is how to identify all the libraries to check if they are 32 bits or 64 bits. or how can I set to only use only 32 bits libraries.
Thanks for your help again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2008 12:07 PM
07-04-2008 12:07 PM
Re: UX 11.31 ld: Can't find library or mismatched ABI for -lcurl
It might be helpful to download the latest linker patch where there are two separate messages for "Can't find library" and "mismatched ABI".
As JRF said, you should use "file /usr/local/lib/libcurl.*" to see what architecture you have.
Typically for IPF the libs should be in /usr/local/lib/hpux32.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2008 03:18 PM
07-10-2008 03:18 PM
Re: UX 11.31 ld: Can't find library or mismatched ABI for -lcurl
THANKS, I hope help somebody with the same problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2008 03:53 PM
07-10-2008 03:53 PM
Re: UX 11.31 ld: Can't find library or mismatched ABI for -lcurl
You're welcome. Please also read:
http://forums11.itrc.hp.com/service/forums/helptips.do?#28
Regards!
...JRF...