<?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 /usr/lib/dld.sl: Exec format error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-exec-format-error/m-p/3121597#M801338</link>
    <description>I have two HPUX 11.00 systems loaded with the same java version.  On one system, my program connects and executes without error; on the other, I get this program when it starts up:&lt;BR /&gt;&lt;BR /&gt;/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage: /opt/java1.3/jre/lib/PA_RISC/hotspot/libjvm.sl&lt;BR /&gt;/usr/lib/dld.sl: Exec format error&lt;BR /&gt;&lt;BR /&gt;What is the meaning of the "Exec format error"?  Do I have a wrong library somewhere?</description>
    <pubDate>Mon, 17 Nov 2003 19:55:52 GMT</pubDate>
    <dc:creator>Al Langen_1</dc:creator>
    <dc:date>2003-11-17T19:55:52Z</dc:date>
    <item>
      <title>/usr/lib/dld.sl: Exec format error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-exec-format-error/m-p/3121597#M801338</link>
      <description>I have two HPUX 11.00 systems loaded with the same java version.  On one system, my program connects and executes without error; on the other, I get this program when it starts up:&lt;BR /&gt;&lt;BR /&gt;/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage: /opt/java1.3/jre/lib/PA_RISC/hotspot/libjvm.sl&lt;BR /&gt;/usr/lib/dld.sl: Exec format error&lt;BR /&gt;&lt;BR /&gt;What is the meaning of the "Exec format error"?  Do I have a wrong library somewhere?</description>
      <pubDate>Mon, 17 Nov 2003 19:55:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-exec-format-error/m-p/3121597#M801338</guid>
      <dc:creator>Al Langen_1</dc:creator>
      <dc:date>2003-11-17T19:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Exec format error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-exec-format-error/m-p/3121598#M801339</link>
      <description>You'r program needs to be recompiled on the machine on which you run. It could be the case that the program was compiled on first node and you copied the same program to another node.&lt;BR /&gt;Suggested, re-compile and give it a go</description>
      <pubDate>Mon, 17 Nov 2003 20:38:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-exec-format-error/m-p/3121598#M801339</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2003-11-17T20:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Exec format error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-exec-format-error/m-p/3121599#M801340</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;The HP documentation requires that the JNI (Java Native Interface) layer be linked with libjvm.sl. However, this causes the following error when performing the shl_load on the C shared library:&lt;BR /&gt;&lt;BR /&gt;/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage: /opt/java1.3/jre/lib/PA_RISC/hotspot/libjvm.sl&lt;BR /&gt;/usr/lib/dld.sl: Exec format error&lt;BR /&gt;&lt;BR /&gt;Did you already patch your system with recomended patch(es) ? Please goto this url below for those information :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hp.com/products1/unix/java/patches/index.html" target="_blank"&gt;http://www.hp.com/products1/unix/java/patches/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this information can help you.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;AW&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Nov 2003 20:50:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-exec-format-error/m-p/3121599#M801340</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2003-11-17T20:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Exec format error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-exec-format-error/m-p/3121600#M801341</link>
      <description>Hi,&lt;BR /&gt;$man shl_load : .............&lt;BR /&gt;Use caution when building shared libraries with external library&lt;BR /&gt;      dependencies.  Any library that contains Thread Local Storage (TLS)&lt;BR /&gt;      should not be used as a dependency.  If a dependent library contains&lt;BR /&gt;      TLS, and it is not loaded during program startup (that is, not linked&lt;BR /&gt;      against the executable), the dynamic loader fails to perform the&lt;BR /&gt;      operation.&lt;BR /&gt;..................&lt;BR /&gt;&lt;BR /&gt;Hope it is not a usual case fitting above desc.&lt;BR /&gt;You can try using LD_PRELOAD with fully qualified path.&lt;BR /&gt;&lt;BR /&gt;regds&lt;BR /&gt;Yogi&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Nov 2003 00:55:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-exec-format-error/m-p/3121600#M801341</guid>
      <dc:creator>yogiraj</dc:creator>
      <dc:date>2003-11-18T00:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Exec format error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-exec-format-error/m-p/3121601#M801342</link>
      <description>Probably the file is corrupted,check for the sizes.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Nov 2003 01:01:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-exec-format-error/m-p/3121601#M801342</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-11-18T01:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Exec format error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-exec-format-error/m-p/3121602#M801343</link>
      <description>install PHSS_28869.&lt;BR /&gt;export LD_PRELOAD_ONCE=/ opt/java1.3/jre/lib/PA_RISC/hotspot/libjvm.sl in the shell that runs your program.&lt;BR /&gt;also check if the env in the 'good' system has LD_PRELOAD or LD_PRELOAD_ONCE set.</description>
      <pubDate>Tue, 18 Nov 2003 08:56:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-exec-format-error/m-p/3121602#M801343</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2003-11-18T08:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Exec format error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-exec-format-error/m-p/3121603#M801344</link>
      <description>First of all, I want to thank everybody for their answers.&lt;BR /&gt;&lt;BR /&gt;This is an application distributed to many customers and only one of them is complaining.  I consider it fortunate that I found a test server where it fails as well.&lt;BR /&gt;&lt;BR /&gt;We already us LD_PRELOAD in the script that starts java.  It appears to be more related to the patch.&lt;BR /&gt;&lt;BR /&gt;I will let you know shortly.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Nov 2003 11:55:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-exec-format-error/m-p/3121603#M801344</guid>
      <dc:creator>Al Langen_1</dc:creator>
      <dc:date>2003-11-18T11:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Exec format error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-exec-format-error/m-p/3121604#M801345</link>
      <description>I want to apologize to all who have supplied answers to this question.  However, the customer's System Administrator "...did a little further investigation and put on (what he called) an obscure patch.  This patch was not on the standard patch bundle from HP."  I am still trying to get the patch number from him because I have another customer with the same problem.&lt;BR /&gt;&lt;BR /&gt;We have had success with LD_PRELOAD with users who log in with the Korn shell and maybe this will work as well.  I will let you guys know and assign points when I know more.&lt;BR /&gt;&lt;BR /&gt;Thank-you for your efforts.&lt;BR /&gt;&lt;BR /&gt;Al</description>
      <pubDate>Fri, 12 Dec 2003 13:24:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-exec-format-error/m-p/3121604#M801345</guid>
      <dc:creator>Al Langen_1</dc:creator>
      <dc:date>2003-12-12T13:24:03Z</dc:date>
    </item>
  </channel>
</rss>

