- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Invalid version for shared library: <lib_name>
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
Forums
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
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
01-16-2002 05:58 AM
01-16-2002 05:58 AM
Invalid version for shared library: <lib_name>
A few years ago (HP-UX 10.20) we created our own shared libraries (HP C/ANSI C).
We ported them to HP-UX11.00 no problem.
We later upgraded our development machine to HP-UX11.00 and HP CANSI C B.11.01.20)
I just recompiled/linked the shared libraries and found the libraries a little smaller (bytes) and when I run programs that use the libraries I got "Bad system id for shared library:" and it core dumps.
I ran file
I added a couple of flags +z +DA1.0 +DS1.1 to the make file and I now get the following error,
"Invalid version for shared library:
I ran file
What is my problem?
Regards
Graham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 06:14 AM
01-16-2002 06:14 AM
Re: Invalid version for shared library: <lib_name>
some days ago we discussed a similar problem?
Is your box a PA-RISC1.1 ono? Then you have to compile your lib for this one.
Ruediger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 06:39 AM
01-16-2002 06:39 AM
Re: Invalid version for shared library: <lib_name>
Is there any thing specific I need to know to be able to compile for this PA-RISC 1.1?
Flags etc.
Regards
Graham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 07:14 AM
01-16-2002 07:14 AM
Re: Invalid version for shared library: <lib_name>
I think so (compiler/precompiler option), but I don't know the details for this. It's not my daily job to do this.
But I'm sure you will find a prof here.
May be you will find something in your makefile.
Good luck
Ruediger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 07:50 AM
01-16-2002 07:50 AM
Re: Invalid version for shared library: <lib_name>
By default, the HP compiler will target for PA version of the machine it's on.
If you want to target for the least common denominator version of PA, use +DAportable cc option.
If you want to target for another PA RISC version, man cc will give you all of the different options. Look for DA.