- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Compiling problem
Operating System - HP-UX
1753394
Members
7307
Online
108792
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
Go to solution
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
тАО09-07-2001 07:08 AM
тАО09-07-2001 07:08 AM
I'm looking to see what (if anything) can be done to solve a compiling problem we are experiencing here. A couple of our programmers are compiling a locally written application on our HP-UX 9000 running 10.20. Once compiled, the executable is taken to a computer running HP-UX 10.10 but it won't run. The error that we are receiving says "library version error:libc.1". What I need to know is if/how this program can be compiled on a HP-UX 10.20 system and taken to a HP-UX 10.10 environment for execution. Can the appropriate ;ibrary file be moved in one direction or another? Or must the library files be installed. I'm still getting the hang of Unix so any help is appreciated. Thanks!
Andre
Andre
Solved! Go to Solution.
- Tags:
- shlib
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2001 07:46 AM
тАО09-07-2001 07:46 AM
Re: Compiling problem
Hi Andre:
It's almost always a problem trying to get a programrun on an earlier OS release. Your best bet is to statically link you code (i.e. use the .a libraries) so that no shared libraies are used on the target box. Your code files will be bigger but it should execute.
It's almost always a problem trying to get a programrun on an earlier OS release. Your best bet is to statically link you code (i.e. use the .a libraries) so that no shared libraies are used on the target box. Your code files will be bigger but it should execute.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2001 08:13 AM
тАО09-07-2001 08:13 AM
Solution
Andre,
What you're asking is almost impossible. The two OS's have differing versions of libc. 10.20 has versions of the 10.10 library for compatibility purposes, but you're trying to go the other way.
I would say your best bet would be to compile on the older OS so that your application would run on both OSes. Alternatively, you could try building your binary strictly with static, i.e. archive, libraries and avoid using any shared libs.
Hope this helps.
-Santosh
What you're asking is almost impossible. The two OS's have differing versions of libc. 10.20 has versions of the 10.10 library for compatibility purposes, but you're trying to go the other way.
I would say your best bet would be to compile on the older OS so that your application would run on both OSes. Alternatively, you could try building your binary strictly with static, i.e. archive, libraries and avoid using any shared libs.
Hope this helps.
-Santosh
Life is what's happening while you're busy making other plans
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