<?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 Re: ELF-64 binaries execution problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/elf-64-binaries-execution-problem/m-p/2699633#M57576</link>
    <description>You can use "chatr &lt;BINARY-FILE&gt;" to check the binaries attributes.&lt;BR /&gt;&lt;BR /&gt;Hartmut&lt;/BINARY-FILE&gt;</description>
    <pubDate>Tue, 09 Apr 2002 08:39:27 GMT</pubDate>
    <dc:creator>Hartmut Lang</dc:creator>
    <dc:date>2002-04-09T08:39:27Z</dc:date>
    <item>
      <title>ELF-64 binaries execution problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/elf-64-binaries-execution-problem/m-p/2699631#M57574</link>
      <description>Hello there.&lt;BR /&gt;&lt;BR /&gt;On a A-400 system with a Hp-UX 11.00 and a kernel running in a 64b mode -&lt;BR /&gt;&lt;BR /&gt;#file /stand/vmunix&lt;BR /&gt;/stand/vmunix:  ELF-64 executable object file - PA-RISC 2.0 (LP64)&lt;BR /&gt;&lt;BR /&gt;when i am trying to execute any ELF-64 binaries, like -&lt;BR /&gt;&lt;BR /&gt;#file /oracle/bin/oracle&lt;BR /&gt;/oracle/bin/oracle:     ELF-64 executable object file - PA-RISC 2.0 (LP64)&lt;BR /&gt;&lt;BR /&gt;i am geting a such message:&lt;BR /&gt;&lt;BR /&gt;#/oracle/bin/oracle&lt;BR /&gt;/oracle/bin/oracle: Exec format error. Binary file not executable.&lt;BR /&gt;&lt;BR /&gt;What have i do to run it? Any PA 1.1 executables are running ok ...</description>
      <pubDate>Mon, 08 Apr 2002 23:35:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/elf-64-binaries-execution-problem/m-p/2699631#M57574</guid>
      <dc:creator>Alekseev Roman</dc:creator>
      <dc:date>2002-04-08T23:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: ELF-64 binaries execution problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/elf-64-binaries-execution-problem/m-p/2699632#M57575</link>
      <description>Hi Alekseev&lt;BR /&gt;&lt;BR /&gt;The output of 'file' might say that your file is a "ELF-64 executable object file", but what about the permission settings? Is it r-xr-xr-x ? And is the ownership correct (like oracle:oracle ?).&lt;BR /&gt;Try chmod -R a+x /oracle/bin/*&lt;BR /&gt;&lt;BR /&gt;Hopefully this answer is not too trivial.. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ceesjan</description>
      <pubDate>Tue, 09 Apr 2002 07:10:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/elf-64-binaries-execution-problem/m-p/2699632#M57575</guid>
      <dc:creator>Ceesjan van Hattum</dc:creator>
      <dc:date>2002-04-09T07:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: ELF-64 binaries execution problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/elf-64-binaries-execution-problem/m-p/2699633#M57576</link>
      <description>You can use "chatr &lt;BINARY-FILE&gt;" to check the binaries attributes.&lt;BR /&gt;&lt;BR /&gt;Hartmut&lt;/BINARY-FILE&gt;</description>
      <pubDate>Tue, 09 Apr 2002 08:39:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/elf-64-binaries-execution-problem/m-p/2699633#M57576</guid>
      <dc:creator>Hartmut Lang</dc:creator>
      <dc:date>2002-04-09T08:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: ELF-64 binaries execution problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/elf-64-binaries-execution-problem/m-p/2699634#M57577</link>
      <description>CeesJan, that answer is wrong. sorry. Exec format error tells us that the file is readable and executable - technically - but doesn't fit in the current architecture.&lt;BR /&gt;&lt;BR /&gt;Please check that the kernel is /indeed/ capable of running this file format, and check that your CPU is:&lt;BR /&gt;&lt;BR /&gt;l1:/pro/3gl/CPAN/perl-current/hints 104 &amp;gt; getconf CPU_VERSION&lt;BR /&gt;532&lt;BR /&gt;l1:/pro/3gl/CPAN/perl-current/hints 105 &amp;gt; getconf KERNEL_BITS&lt;BR /&gt;64&lt;BR /&gt;l1:/pro/3gl/CPAN/perl-current/hints 106 &amp;gt;&lt;BR /&gt;&lt;BR /&gt;decimal 532 = 0x214&lt;BR /&gt;&lt;BR /&gt;l1:/pro/3gl/CPAN/perl-current/hints 109 &amp;gt; grep e\ CPU_ /usr/include/sys/unistd.h&lt;BR /&gt;#  define CPU_HP_MC68020  0x20C /* Motorola MC68020 */&lt;BR /&gt;#  define CPU_HP_MC68030  0x20D /* Motorola MC68030 */&lt;BR /&gt;#  define CPU_HP_MC68040  0x20E /* Motorola MC68040 */&lt;BR /&gt;#  define CPU_PA_RISC1_0  0x20B /* HP PA-RISC1.0 */&lt;BR /&gt;#  define CPU_PA_RISC1_1  0x210 /* HP PA-RISC1.1 */&lt;BR /&gt;#  define CPU_PA_RISC1_2  0x211 /* HP PA-RISC1.2 */&lt;BR /&gt;#  define CPU_PA_RISC2_0  0x214 /* HP PA-RISC2.0 */&lt;BR /&gt;#  define CPU_PA_RISC_MAX 0x2FF /* Maximum value for HP PA-RISC systems */&lt;BR /&gt;#  define CPU_IS_PA_RISC(__x)           #  define CPU_IS_HP_MC68K(__x)          l1:/pro/3gl/CPAN/perl-current/hints 110 &amp;gt;&lt;BR /&gt;&lt;BR /&gt;Ergo, my system is a PA_RISC2_0 architecture with a 64bit kernel&lt;BR /&gt;&lt;BR /&gt;GNU utils use config.guess for this, which should return&lt;BR /&gt;&lt;BR /&gt;hppa-2.0w-hp-hpux11.00&lt;BR /&gt;&lt;BR /&gt;or, in ELF64 mode&lt;BR /&gt;&lt;BR /&gt;hppa64-hp-hpux11.00&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Tue, 09 Apr 2002 08:42:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/elf-64-binaries-execution-problem/m-p/2699634#M57577</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-04-09T08:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: ELF-64 binaries execution problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/elf-64-binaries-execution-problem/m-p/2699635#M57578</link>
      <description>I also have HP-UX 11.0 running on Vclass system, but file output of file that won't run is:&lt;BR /&gt;frank:[/usr/local4/crsp/accbin] # file stk_print&lt;BR /&gt;stk_print:      ELF-64 executable object file&lt;BR /&gt;&lt;BR /&gt;and I just get a simple&lt;BR /&gt;frank:[/usr/local4/crsp/accbin] # ./stk_print&lt;BR /&gt;sh: ./stk_print: Execute permission denied.&lt;BR /&gt;&lt;BR /&gt;message when trying to run. Permissions are:&lt;BR /&gt;-r-xr-xr-x   1 eventus    sys         882720 Oct 27 18:25 stk_print&lt;BR /&gt;&lt;BR /&gt;How exactly do I tell if my kernel and operating system can run this file, or how to I convert it? I've got the same getconf output as noted.</description>
      <pubDate>Wed, 17 Dec 2003 17:16:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/elf-64-binaries-execution-problem/m-p/2699635#M57578</guid>
      <dc:creator>MTSU_SAN</dc:creator>
      <dc:date>2003-12-17T17:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: ELF-64 binaries execution problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/elf-64-binaries-execution-problem/m-p/2699636#M57579</link>
      <description>Jerry, do a 'chattr' on that file and see what shared libraries it requires. I bet one of those is r-x------ or at least not readable to the process&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Wed, 17 Dec 2003 18:15:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/elf-64-binaries-execution-problem/m-p/2699636#M57579</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-12-17T18:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: ELF-64 binaries execution problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/elf-64-binaries-execution-problem/m-p/2699637#M57580</link>
      <description>OK, I did the chatr, and it shows library dependencies of libm.so.1 and libc.so.1. What is this supposed to be? Are they shared libraries? Does anyone know what the HP equivalents might be, or is it hopeless?&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Dec 2003 09:58:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/elf-64-binaries-execution-problem/m-p/2699637#M57580</guid>
      <dc:creator>MTSU_SAN</dc:creator>
      <dc:date>2003-12-22T09:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: ELF-64 binaries execution problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/elf-64-binaries-execution-problem/m-p/2699638#M57581</link>
      <description>jerry,&lt;BR /&gt;&lt;BR /&gt;from the names of the libraries you mention, the executable seems to be an IA binary. you can not run that binary on a PA system. note that the 'file' command did not say stk_print is a PA binary, it just said stk_print is an ELF file.&lt;BR /&gt;&lt;BR /&gt;libraries in IA hpux are named with the extension .so*. the PA equivalents are libc.sl and libm.sl etc. the PA libraries will be in /usr/lib (32-bit) and /usr/lib/pa20_64/ (64-bit) on both PA and IA systems. the IA libraries will be in /usr/lib/hpux32 and /usr/lib/hpux64 - of course only on IA systems.</description>
      <pubDate>Mon, 22 Dec 2003 10:28:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/elf-64-binaries-execution-problem/m-p/2699638#M57581</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2003-12-22T10:28:21Z</dc:date>
    </item>
  </channel>
</rss>

