<?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 Compiling problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-problem/m-p/2576986#M725326</link>
    <description>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!&lt;BR /&gt;&lt;BR /&gt;Andre&lt;BR /&gt;</description>
    <pubDate>Fri, 07 Sep 2001 14:08:28 GMT</pubDate>
    <dc:creator>Andre Ford</dc:creator>
    <dc:date>2001-09-07T14:08:28Z</dc:date>
    <item>
      <title>Compiling problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-problem/m-p/2576986#M725326</link>
      <description>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!&lt;BR /&gt;&lt;BR /&gt;Andre&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Sep 2001 14:08:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-problem/m-p/2576986#M725326</guid>
      <dc:creator>Andre Ford</dc:creator>
      <dc:date>2001-09-07T14:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-problem/m-p/2576987#M725327</link>
      <description>Hi Andre:&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Sep 2001 14:46:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-problem/m-p/2576987#M725327</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-09-07T14:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-problem/m-p/2576988#M725328</link>
      <description>Andre, &lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Fri, 07 Sep 2001 15:13:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-problem/m-p/2576988#M725328</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-09-07T15:13:48Z</dc:date>
    </item>
  </channel>
</rss>

