HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Linker error : Not a valid library (invalid ma...
Operating System - HP-UX
1834150
Members
2764
Online
110064
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
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
07-15-2002 12:23 PM
07-15-2002 12:23 PM
Linker error : Not a valid library (invalid magic number .....)
Hi,
I???m in the process of compiling and linking our application with some third party libraries. During the linking phase I???m getting error below.
libsslc.a: Not a valid library (invalid magic number Possibly a 64-bit PA archive library (Mismatched ABI)
I???m compiling and linking with the option +DA2.0
Platform I???m using is
HP-UX 11.11 and the aCC version is A.03.33.
When I use the file command against ???libsslc.a??? it gives ???archive file??? however when I use the same command to check other archive files (which links properly) from the same vendor, it gives
"archive file -PA-RISC2.0 relocatable library"
Does any one have any idea on this ?
I???m in the process of compiling and linking our application with some third party libraries. During the linking phase I???m getting error below.
libsslc.a: Not a valid library (invalid magic number Possibly a 64-bit PA archive library (Mismatched ABI)
I???m compiling and linking with the option +DA2.0
Platform I???m using is
HP-UX 11.11 and the aCC version is A.03.33.
When I use the file command against ???libsslc.a??? it gives ???archive file??? however when I use the same command to check other archive files (which links properly) from the same vendor, it gives
"archive file -PA-RISC2.0 relocatable library"
Does any one have any idea on this ?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2002 12:33 PM
07-15-2002 12:33 PM
Re: Linker error : Not a valid library (invalid magic number .....)
The very first thing that I would check is that
your 3rd-party library is even an HP-UX library. The most probable killer is that you are attempting to link 32-bit and 64-bit code - and that dog won't hunt.
your 3rd-party library is even an HP-UX library. The most probable killer is that you are attempting to link 32-bit and 64-bit code - and that dog won't hunt.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2002 12:39 PM
07-15-2002 12:39 PM
Re: Linker error : Not a valid library (invalid magic number .....)
Thanks for reply. They are compiled for HP-UX on 64 bit mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2002 12:45 PM
07-15-2002 12:45 PM
Re: Linker error : Not a valid library (invalid magic number .....)
Yes but it appears that your 3rd party library is not HP - or at least not PA-RISC - it might be Itanium. You really need to make sure about your 3rd-party library.
If it ain't broke, I can fix that.
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 2025 Hewlett Packard Enterprise Development LP