<?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 Bad magic number for shared library in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/bad-magic-number-for-shared-library/m-p/3020031#M5603</link>
    <description>Hi, I come here to tell you an answer on the followed error message.&lt;BR /&gt;&lt;BR /&gt;/usr/lib/dld.sl: Bad magic number for shared library: /home/oracle/product/920/lib/libclntsh.sl.9.0&lt;BR /&gt;/usr/lib/dld.sl: Exec format error&lt;BR /&gt;&lt;BR /&gt; As I am debuging one of my application on HP-Unix, it is displayed for me. And I have solved the problem. The step is:&lt;BR /&gt;&lt;BR /&gt; Step 1:&lt;BR /&gt;  I search the informatoin on the Unix server,&lt;BR /&gt;example, set command, export command.&lt;BR /&gt; Step 2:&lt;BR /&gt;  I search the informatoin on my application,&lt;BR /&gt;example, chatr command.&lt;BR /&gt; Step 3:&lt;BR /&gt;  I search the informatoin on librarys used by my application,&lt;BR /&gt;example, chatr command.&lt;BR /&gt; Step 4:&lt;BR /&gt;  I got the right answer.&lt;BR /&gt;&lt;BR /&gt; For the "Bad magic number for shared library", I checked my sh is Ok, and my application is Ok, and my library is Ok, and the last, I found that the value of SHLIB_PATH and the value of SHLIB_PATH is wrong. So that I modified the value of SHLIB_PATH' and SHLIB_PATH', and all is running well.&lt;BR /&gt; &lt;BR /&gt;Ok. To be good luck.</description>
    <pubDate>Thu, 10 Jul 2003 08:56:54 GMT</pubDate>
    <dc:creator>QuanHongYang</dc:creator>
    <dc:date>2003-07-10T08:56:54Z</dc:date>
    <item>
      <title>Bad magic number for shared library</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bad-magic-number-for-shared-library/m-p/3020031#M5603</link>
      <description>Hi, I come here to tell you an answer on the followed error message.&lt;BR /&gt;&lt;BR /&gt;/usr/lib/dld.sl: Bad magic number for shared library: /home/oracle/product/920/lib/libclntsh.sl.9.0&lt;BR /&gt;/usr/lib/dld.sl: Exec format error&lt;BR /&gt;&lt;BR /&gt; As I am debuging one of my application on HP-Unix, it is displayed for me. And I have solved the problem. The step is:&lt;BR /&gt;&lt;BR /&gt; Step 1:&lt;BR /&gt;  I search the informatoin on the Unix server,&lt;BR /&gt;example, set command, export command.&lt;BR /&gt; Step 2:&lt;BR /&gt;  I search the informatoin on my application,&lt;BR /&gt;example, chatr command.&lt;BR /&gt; Step 3:&lt;BR /&gt;  I search the informatoin on librarys used by my application,&lt;BR /&gt;example, chatr command.&lt;BR /&gt; Step 4:&lt;BR /&gt;  I got the right answer.&lt;BR /&gt;&lt;BR /&gt; For the "Bad magic number for shared library", I checked my sh is Ok, and my application is Ok, and my library is Ok, and the last, I found that the value of SHLIB_PATH and the value of SHLIB_PATH is wrong. So that I modified the value of SHLIB_PATH' and SHLIB_PATH', and all is running well.&lt;BR /&gt; &lt;BR /&gt;Ok. To be good luck.</description>
      <pubDate>Thu, 10 Jul 2003 08:56:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bad-magic-number-for-shared-library/m-p/3020031#M5603</guid>
      <dc:creator>QuanHongYang</dc:creator>
      <dc:date>2003-07-10T08:56:54Z</dc:date>
    </item>
  </channel>
</rss>

