- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mismatch 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
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
тАО06-18-2009 01:21 AM
тАО06-18-2009 01:21 AM
Mismatch ABI
I am trying to compile unixODBC and get below errors in config.log file...
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
ld: Unsatisfied symbol "yywrap" in file /var/tmp//ccLbw8jc.o
1 errors.
ld: Can't find library or mismatched ABI for -lfl
Fatal error.
ld: Unsatisfied symbol "libiconv_open" in file /var/tmp//cckNFiFe.o
ld: Unsatisfied symbol "libiconv_close" in file /var/tmp//cckNFiFe.o
ld: Unsatisfied symbol "libiconv" in file /var/tmp//cckNFiFe.o
3 errors.
ld: Can't find library or mismatched ABI for -liconv
Fatal error.
ld: Can't find library or mismatched ABI for -lcrypt
Fatal error.
ld: Can't find library or mismatched ABI for -lreadline
Fatal error.
ld: Can't find library or mismatched ABI for -lreadline
Fatal error.
ld: Unsatisfied symbol "atoll" in file /var/tmp//ccQnuMLb.o
1 errors.
ld: Unsatisfied symbol "stricmp" in file /var/tmp//ccCTHr5c.o
1 errors.
ld: Unsatisfied symbol "strnicmp" in file /var/tmp//cc8nsDla.o
1 errors.
ld: Can't find library or mismatched ABI for -lthread
Fatal error.
conftest.c:55: error: storage size of 'semctl_arg' isn't known
ld: Can't find library or mismatched ABI for -lsocket
Fatal error.
/usr/include/machine/sys/getppdp.h:65: error: array type has incomplete element type
In file included from conftest.c:95:
/usr/local/lib/gcc/ia64-hp-hpux11.23/4.1.1/include/varargs.h:4:2: error: #error "GCC no longer implements
/usr/local/lib/gcc/ia64-hp-hpux11.23/4.1.1/include/varargs.h:5:2: error: #error "Revise your code to use
conftest.c:98:18: error: msql.h: No such file or directory
ld: Unsatisfied symbol "setenv" in file /var/tmp//ccET3thb.o
1 errors.
I am using IA-64 machine. Can anyone help me please? I am stuck from a weeek...
Thanks and regards,
Pravin Goyal
- Tags:
- ABI mismatch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 06:51 PM
тАО06-18-2009 06:51 PM
Re: Mismatch ABI
> ld: Can't find library or mismatched ABI for -liconv
> ld: Can't find library or mismatched ABI for -lcrypt
> ld: Can't find library or mismatched ABI for -lreadline
I guess you are trying to link 64-bit object with 32-bit shared
library. If so, you should have 64-bit shared libraries.
Otherwise, you should remove +DD64 from your CFLAGS to generate
32-bit binaries.
Could you show us the configure script line when you invoke it ?
Thank you,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 07:03 PM
тАО06-18-2009 07:03 PM
Re: Mismatch ABI
You are correct... There seems to be some issue with 32/64 bit.
How do i go about it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 10:24 PM
тАО06-18-2009 10:24 PM
Re: Mismatch ABI
Where is your real error?
>There seems to be some issue with 32/64 bit.
Why do you think that?
You should immediately install the latest linker patch, where the error message has been separated into to. You probably have the "Can't find library" error?
Otherwise what does file(1) show for your objects? What -L have you given the linker? Are you using the same +DD for both compiling and linking?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 10:28 PM
тАО06-18-2009 10:28 PM
Re: Mismatch ABI
These errors are literally killing me.
I am not sure what is to be done.
where to look for all below
What -L have you given the linker? Are you using the same +DD for both compiling and linking?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2009 12:07 AM
тАО06-19-2009 12:07 AM
Re: Mismatch ABI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2009 12:54 AM
тАО06-19-2009 12:54 AM
Re: Mismatch ABI
you need to record the output of make which will then show you the compiler and linker options (e.g. -L and +DD64).
To record the output of make, do the following:
make > make.log 2>&1 (for bash)
make >& make.log (for csh)
You could then probably attach the make.log file to one of your next messages (together with the config.log file) ...
Andi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2009 12:54 AM
тАО06-19-2009 12:54 AM
Re: Mismatch ABI
Why? The configure step is suppose to get errors. This checks the existence of various libs and features. There are the errors you get when it start compiling unixODBC?
>where to look for all below
If you had the latest linker patch, it would tell you it couldn't find the shlib, not that it was the wrong ABI.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2009 01:02 AM
тАО06-19-2009 01:02 AM
Re: Mismatch ABI
ld: Mismatched ABI for -lclntsh, found /u01/dbclient/oracle/product/11.1.0/client_1/lib//libclntsh.so
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2009 05:43 AM
тАО06-19-2009 05:43 AM