HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- problem on using a compiled source code to another...
Operating System - HP-UX
1832695
Members
2829
Online
110043
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
11-01-2006 12:17 PM
11-01-2006 12:17 PM
problem on using a compiled source code to another profile
OS used : HPUX 11.11
currently we are working on 2 different profiles, one known as SIT & another one as UAT. Both of the profile have their own HOME directory & library, with SIT profile using the $RBS_HOME=/MIGAppl and UAT profile using the $RBS_HOME=/BPDAppl. The library is reside separately in each own HOME directory.
For your information, both of the profiles used the same application engine, but serve to different purpose. We compile the source code (application engine) located in SIT profile, which link to predefined SIT library and it successfully done.
So the question is, can we copy the same compiled source code (application engine) to another profile (which refer to UAT) without compiling it again, but dynamically refer to the predefined UAT profile HOME & library directory?
Thanks for your help.
currently we are working on 2 different profiles, one known as SIT & another one as UAT. Both of the profile have their own HOME directory & library, with SIT profile using the $RBS_HOME=/MIGAppl and UAT profile using the $RBS_HOME=/BPDAppl. The library is reside separately in each own HOME directory.
For your information, both of the profiles used the same application engine, but serve to different purpose. We compile the source code (application engine) located in SIT profile, which link to predefined SIT library and it successfully done.
So the question is, can we copy the same compiled source code (application engine) to another profile (which refer to UAT) without compiling it again, but dynamically refer to the predefined UAT profile HOME & library directory?
Thanks for your help.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2006 01:59 PM
11-01-2006 01:59 PM
Re: problem on using a compiled source code to another profile
Your question is not very clear. If this is actual executable code as opposed to some form of pseudo-code which runs under a p-engine then it depends upon whether you libraries are statically or dynamically linked. If static, then the application won't care if the libraries are even present because the library code has been copied into the executable. If the library code is dynamically linked at run-time then you need to set the SHLIB_PATH environment to tell the application where to look for shared libraries. Man ld and chatr for details.
You can use the ldd command to list all the dynamic dependencies of an executable. Man ldd for those details.
You can use the ldd command to list all the dynamic dependencies of an executable. Man ldd for those details.
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