- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: CRYPT/LCRYPT on HP-UX Itanium.
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
тАО08-13-2008 10:52 AM
тАО08-13-2008 10:52 AM
CRYPT/LCRYPT on HP-UX Itanium.
gcc -o appmove -lcrypt appmove.c
ld: Can't find library or mismatched ABI for -lcrypt
Fatal error.
collect2: ld returned 1 exit status
How do I get this to work on HP-UX 11i version2 on Itanium?
- Tags:
- crypt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2008 11:13 AM
тАО08-13-2008 11:13 AM
Re: CRYPT/LCRYPT on HP-UX Itanium.
Can you please brief about it, because I am not sure but gcc is not internal utility, may be it is a script, just want some more information that what is the purpose of it.
Regards,
Piyush Mathiya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2008 11:51 AM
тАО08-13-2008 11:51 AM
Re: CRYPT/LCRYPT on HP-UX Itanium.
libcrypt.
how it was built.
Around here:
dyi # uname -a
HP-UX dyi B.11.31 U ia64 4235313755 unlimited-user license
dyi # find /usr -name 'libcrypt*'
/usr/lib/hpux32/libcrypto.a
/usr/lib/hpux32/libcrypto.so
/usr/lib/hpux32/libcrypto.so.0
/usr/lib/hpux32/libcrypto.so.1
/usr/lib/hpux64/libcrypto.a
/usr/lib/hpux64/libcrypto.so
/usr/lib/hpux64/libcrypto.so.0
/usr/lib/hpux64/libcrypto.so.1
So _I_ don't have a libcrypt.
> The same code works on LINUX.
What code? I see no code. Hard to say
whether/why you even need libcrypt.
without more clues. What happens without the
"-lcrypt"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2008 12:05 PM
тАО08-13-2008 12:05 PM
Re: CRYPT/LCRYPT on HP-UX Itanium.
This linker error occurs if you attempt to mix 32-bit and 64-bit objects. The "bitness" of the first object determines the choice "everyone" must follow.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2008 10:44 PM
тАО08-13-2008 10:44 PM
Re: CRYPT/LCRYPT on HP-UX Itanium.
A good practice would be to always have -l options after any sources or objects. This is especially important for archive libs.
>JRF: This linker error occurs if you attempt to mix 32-bit and 64-bit objects.
Unfortunately you get this error for two causes. The latest linker patches should have my request for two separate messages to prevent confusion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2008 08:04 AM
тАО08-14-2008 08:04 AM
Re: CRYPT/LCRYPT on HP-UX Itanium.
It turns out that HP-UX was "cleverer" than LINUX and the solution was simply not to tell the compiler to use "-lcrypt".
Without adding that parameter, the build was fine! :)