- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 64 bit iconv - mismatched ABI /usr/local/lib/l...
Operating System - HP-UX
1752762
Members
5117
Online
108789
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
тАО05-11-2011 11:06 PM
тАО05-11-2011 11:06 PM
Re: 64 bit iconv - mismatched ABI /usr/local/lib/libiconv.a
> I get "undefined sysmbol - iconv_open(), iconv_close()".
What's the exact message?
>2) Sample code compiles and links for 32 bit version
I can't compile it:
error: 'CODESET' undeclared
string too.
>3) I am more than willing to use HP's iconv() stuff. But, again I doubt if it supports iconv_open() and iconv_close() calls.
Why do you say that? The iconv_open(3) is there.
>That means HP's native iconv() should have .a/.sl (archive/shared object) file
As Steven said, it's called libc.
>Steven: Or it's in the normal C RTL stuff
Yes.
What's the exact message?
>2) Sample code compiles and links for 32 bit version
I can't compile it:
error: 'CODESET' undeclared
string too.
>3) I am more than willing to use HP's iconv() stuff. But, again I doubt if it supports iconv_open() and iconv_close() calls.
Why do you say that? The iconv_open(3) is there.
>That means HP's native iconv() should have .a/.sl (archive/shared object) file
As Steven said, it's called libc.
>Steven: Or it's in the normal C RTL stuff
Yes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2011 12:06 AM
тАО05-12-2011 12:06 AM
Re: 64 bit iconv - mismatched ABI /usr/local/lib/libiconv.a
1) exact link error:-
ld: Unsatisfied symbol "libiconv_open" in file sampleConverter.o
ld: Unsatisfied symbol "libiconv" in file sampleConverter.o
ld: Unsatisfied symbol "libiconv_close" in file sampleConverter.o
For 64 bit PA-RISC dependency, I am linking with /usr/lib/pa20_64/libdld.sl
2) Regarding sample test code, I forgot to paste:-
#include
#include
#include
ld: Unsatisfied symbol "libiconv_open" in file sampleConverter.o
ld: Unsatisfied symbol "libiconv" in file sampleConverter.o
ld: Unsatisfied symbol "libiconv_close" in file sampleConverter.o
For 64 bit PA-RISC dependency, I am linking with /usr/lib/pa20_64/libdld.sl
2) Regarding sample test code, I forgot to paste:-
#include
#include
#include
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2011 05:22 AM
тАО05-12-2011 05:22 AM
Re: 64 bit iconv - mismatched ABI /usr/local/lib/libiconv.a
> [...] I get
>
> "undefined sysmbol - iconv_open(), iconv_close()".
In some circles, quotation marks are used to
express the idea that the author is not just
making stuff up.
> 1) exact link error:-
> ld: Unsatisfied symbol "libiconv_open" in file sampleConverter.o
> [...]
But not here, apparently.
As "man iconv_open" might suggest, the HP-UX
function is called "iconv_open", not
"libiconv_open". Sometimes one gets what he
asks for, regardless of what he wants.
>
> "undefined sysmbol - iconv_open(), iconv_close()".
In some circles, quotation marks are used to
express the idea that the author is not just
making stuff up.
> 1) exact link error:-
> ld: Unsatisfied symbol "libiconv_open" in file sampleConverter.o
> [...]
But not here, apparently.
As "man iconv_open" might suggest, the HP-UX
function is called "iconv_open", not
"libiconv_open". Sometimes one gets what he
asks for, regardless of what he wants.
- « Previous
-
- 1
- 2
- Next »
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