<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic problem on using a compiled source code to another profile in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-on-using-a-compiled-source-code-to-another-profile/m-p/3891012#M771337</link>
    <description>OS used : HPUX 11.11&lt;BR /&gt;&lt;BR /&gt;currently we are working on 2 different profiles, one known as SIT &amp;amp; another one as UAT. Both of the profile have their own HOME directory &amp;amp; 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.    &lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;&lt;BR /&gt;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 &amp;amp; library directory?   &lt;BR /&gt;&lt;BR /&gt;Thanks for your help.  &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 01 Nov 2006 20:17:03 GMT</pubDate>
    <dc:creator>Mokhzamir Aznan</dc:creator>
    <dc:date>2006-11-01T20:17:03Z</dc:date>
    <item>
      <title>problem on using a compiled source code to another profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-on-using-a-compiled-source-code-to-another-profile/m-p/3891012#M771337</link>
      <description>OS used : HPUX 11.11&lt;BR /&gt;&lt;BR /&gt;currently we are working on 2 different profiles, one known as SIT &amp;amp; another one as UAT. Both of the profile have their own HOME directory &amp;amp; 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.    &lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;&lt;BR /&gt;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 &amp;amp; library directory?   &lt;BR /&gt;&lt;BR /&gt;Thanks for your help.  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Nov 2006 20:17:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-on-using-a-compiled-source-code-to-another-profile/m-p/3891012#M771337</guid>
      <dc:creator>Mokhzamir Aznan</dc:creator>
      <dc:date>2006-11-01T20:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: problem on using a compiled source code to another profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-on-using-a-compiled-source-code-to-another-profile/m-p/3891013#M771338</link>
      <description>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.&lt;BR /&gt;&lt;BR /&gt;You can use the ldd command to list all the dynamic dependencies of an executable. Man ldd for those details.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Nov 2006 21:59:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-on-using-a-compiled-source-code-to-another-profile/m-p/3891013#M771338</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-11-01T21:59:33Z</dc:date>
    </item>
  </channel>
</rss>

