<?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: Oracle linking problem or bad SHLIB_PATH? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-linking-problem-or-bad-shlib-path/m-p/2669233#M915850</link>
    <description>Hi&lt;BR /&gt;Have experienced the same thing as you.&lt;BR /&gt;I'm not to sure about this answer but works anyway;&lt;BR /&gt;&lt;BR /&gt;SHLIB_PATH should include both $ORACLE_HOME/lib and $ORACLE_HOME/lib64&lt;BR /&gt;         &lt;BR /&gt;I belive there still is some 32 bit software within the Oracle package.&lt;BR /&gt;&lt;BR /&gt;Andreas</description>
    <pubDate>Fri, 22 Feb 2002 09:25:44 GMT</pubDate>
    <dc:creator>Andreas D. Skjervold</dc:creator>
    <dc:date>2002-02-22T09:25:44Z</dc:date>
    <item>
      <title>Oracle linking problem or bad SHLIB_PATH?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-linking-problem-or-bad-shlib-path/m-p/2669231#M915848</link>
      <description>Oracle 8.1.7 (64 bit), HP-UX 11.0 (64bit).&lt;BR /&gt;&lt;BR /&gt;When trying to execute svrmgrl and some others, I get the following error:&lt;BR /&gt;&lt;BR /&gt;/usr/lib/dld.sl: Bad magic number for shared library: /oracle/v8170ee64/lib64/libclntsh.sl.8.0&lt;BR /&gt;/usr/lib/dld.sl: Exec format error&lt;BR /&gt;Abort(coredump)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I tried relinking svrmgrl (make -f ins_rdbms.mk isvrmgrl) but I get the same results.  The interesing thing is the chatr output for svrmgrl:&lt;BR /&gt;&lt;BR /&gt;pamer v8170ee64/rdbms/lib: chatr /oracle/v8170ee64/bin/svrmgrl&lt;BR /&gt;/oracle/v8170ee64/bin/svrmgrl:&lt;BR /&gt;         shared executable&lt;BR /&gt;         shared library dynamic path search:&lt;BR /&gt;             SHLIB_PATH     enabled   first&lt;BR /&gt;             embedded path  disabled  second Not Defined&lt;BR /&gt;         shared library list:&lt;BR /&gt;             dynamic   /oracle/v8170ee64/lib/libwtc8.sl&lt;BR /&gt;             dynamic   /oracle/v8170ee64/lib/libclntsh.sl.8.0&lt;BR /&gt;             dynamic   /usr/lib/librt.2&lt;BR /&gt;             dynamic   /usr/lib/libpthread.1&lt;BR /&gt;             dynamic   /usr/lib/libnss_dns.1&lt;BR /&gt;             dynamic   /usr/lib/libdld.2&lt;BR /&gt;             dynamic   /usr/lib/libm.2&lt;BR /&gt;             dynamic   /usr/lib/libc.2&lt;BR /&gt;         shared library binding:&lt;BR /&gt;             deferred&lt;BR /&gt;         global hash table disabled&lt;BR /&gt;         plabel caching disabled&lt;BR /&gt;         global hash array size:1103&lt;BR /&gt;         global hash array nbuckets:3&lt;BR /&gt;         shared vtable support disabled&lt;BR /&gt;         static branch prediction disabled&lt;BR /&gt;         executable from stack: D (default)&lt;BR /&gt;         kernel assisted branch prediction enabled&lt;BR /&gt;         lazy swap allocation disabled&lt;BR /&gt;         text segment locking disabled&lt;BR /&gt;         data segment locking disabled&lt;BR /&gt;         third quadrant private data space disabled&lt;BR /&gt;         fourth quadrant private data space disabled&lt;BR /&gt;         data page size: D (default)&lt;BR /&gt;         instruction page size: D (default)&lt;BR /&gt;&lt;BR /&gt;Note the ../lib/.. rather than ../lib64/.. in the shared library list. &lt;BR /&gt;&lt;BR /&gt;Also, the produced svrmgrl executable is a PA-RISC 1.1 shared executable, rather than an ELF 64 bit executable as I would expect.&lt;BR /&gt;&lt;BR /&gt;If I change SHLIB_PATH to $ORACLE_HOME/lib rather than $ORACLE_HOME/lib64, it works.  Am I off base on my SHLIB_PATH here?&lt;BR /&gt;&lt;BR /&gt;Why the discrepancy?  This is a 64bit installation on a 64bit machine.  I'd expect it to use the 64bit libraries rather than the other ones.&lt;BR /&gt; &lt;BR /&gt;Thoughts?  &lt;BR /&gt;&lt;BR /&gt;Sorry it's so jumbled.  Got the phone rining about every 60 seconds as I'm trying to figure this out.  Users.. Heh.</description>
      <pubDate>Thu, 21 Feb 2002 14:58:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-linking-problem-or-bad-shlib-path/m-p/2669231#M915848</guid>
      <dc:creator>Eric Ladner</dc:creator>
      <dc:date>2002-02-21T14:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle linking problem or bad SHLIB_PATH?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-linking-problem-or-bad-shlib-path/m-p/2669232#M915849</link>
      <description>HI,&lt;BR /&gt;have u installed these patches.&lt;BR /&gt; &lt;BR /&gt;  PHCO_24148                    1.0            libc cumulative patch&lt;BR /&gt;  PHSS_21947                    1.0            ld(1) and linker tools cumulative&lt;BR /&gt; patch&lt;BR /&gt;  PHSS_25249                    1.0            +O4/PBO compiler cumulative patch&lt;BR /&gt;               &lt;BR /&gt;&lt;BR /&gt;just a thought</description>
      <pubDate>Thu, 21 Feb 2002 15:06:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-linking-problem-or-bad-shlib-path/m-p/2669232#M915849</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2002-02-21T15:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle linking problem or bad SHLIB_PATH?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-linking-problem-or-bad-shlib-path/m-p/2669233#M915850</link>
      <description>Hi&lt;BR /&gt;Have experienced the same thing as you.&lt;BR /&gt;I'm not to sure about this answer but works anyway;&lt;BR /&gt;&lt;BR /&gt;SHLIB_PATH should include both $ORACLE_HOME/lib and $ORACLE_HOME/lib64&lt;BR /&gt;         &lt;BR /&gt;I belive there still is some 32 bit software within the Oracle package.&lt;BR /&gt;&lt;BR /&gt;Andreas</description>
      <pubDate>Fri, 22 Feb 2002 09:25:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-linking-problem-or-bad-shlib-path/m-p/2669233#M915850</guid>
      <dc:creator>Andreas D. Skjervold</dc:creator>
      <dc:date>2002-02-22T09:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle linking problem or bad SHLIB_PATH?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-linking-problem-or-bad-shlib-path/m-p/2669234#M915851</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am not a DBA but one of my servers run Oracle 8.1.7 (64 bit machine in 64 bit mode)Try the following:&lt;BR /&gt;Make sure you have the following variables exported:&lt;BR /&gt;export ORACLE_ROOT=/apps/oracle&lt;BR /&gt;export ORACLE_HOME=$ORACLE_ROOT/product/8.1.7&lt;BR /&gt;export ORACLE_SID=yoursid&lt;BR /&gt;export LD_LIBRARY_PATH=$ORACLE_HOME/lib&lt;BR /&gt;&lt;BR /&gt;I don't seem to have the SH_LIB_PATH variable exported..&lt;BR /&gt;&lt;BR /&gt;Oracle on my server doesn't seem to use the lib libclntsh.sl.8.0&lt;BR /&gt;&lt;BR /&gt;The closest match:&lt;BR /&gt;&amp;gt; lsof|grep "libclntsh"&lt;BR /&gt;tnslsnr    1167  oracle  txt   VREG           0,0                     /apps/ora&lt;BR /&gt;le/product/8.1.7/lib/libclntsh.so.8.0&lt;BR /&gt;&lt;BR /&gt;My current patch level is 108528-07...&lt;BR /&gt;&lt;BR /&gt;I am not sure if this helps at all..&lt;BR /&gt;&lt;BR /&gt;-Shabu&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 23 Feb 2002 06:09:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-linking-problem-or-bad-shlib-path/m-p/2669234#M915851</guid>
      <dc:creator>SHABU KHAN</dc:creator>
      <dc:date>2002-02-23T06:09:35Z</dc:date>
    </item>
  </channel>
</rss>

