<?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: /usr/lib/dld.sl: Can't open shared library: in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736235#M946902</link>
    <description>Sorry if it's a dumb remark, but shouldn't&lt;BR /&gt;&lt;BR /&gt;/opt/dev6i/lib//libclntsh.sl.1.0&lt;BR /&gt;&lt;BR /&gt;read:&lt;BR /&gt;&lt;BR /&gt;/opt/dev6i/lib/libclntsh.sl.1.0&lt;BR /&gt;&lt;BR /&gt;?&lt;BR /&gt;&lt;BR /&gt;or does dld do this all the time?</description>
    <pubDate>Mon, 03 Jun 2002 13:56:44 GMT</pubDate>
    <dc:creator>Ryan Kogelheide</dc:creator>
    <dc:date>2002-06-03T13:56:44Z</dc:date>
    <item>
      <title>/usr/lib/dld.sl: Can't open shared library:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736228#M946895</link>
      <description>I received the following error when trying to execute a Pro*C program on HP-UX 11.0.&lt;BR /&gt;&lt;BR /&gt;/usr/lib/dld.sl: Can't open shared library: /opt/dev6i/lib//libclntsh.sl.1.0&lt;BR /&gt;/usr/lib/dld.sl: No such file or directory&lt;BR /&gt;&lt;BR /&gt;This program is compiled on another machine which is also running on HP-UX 11.0.&lt;BR /&gt;The difference between these machines is ORACLE_HOME path.&lt;BR /&gt;The ORACLE_HOME is /opt/oracle/product/dev6i where I am executing the program.&lt;BR /&gt;The ORACLE_HOME is /opt/dev6i  where the program is compiled.&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Jun 2002 12:06:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736228#M946895</guid>
      <dc:creator>Sivaji</dc:creator>
      <dc:date>2002-06-03T12:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Can't open shared library:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736229#M946896</link>
      <description>Set SHLIB_PATH and LD_LIBRARY_PATH&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 03 Jun 2002 12:12:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736229#M946896</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-06-03T12:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Can't open shared library:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736230#M946897</link>
      <description>Welcome back, Harry.  Vacation?&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 03 Jun 2002 12:14:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736230#M946897</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-03T12:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Can't open shared library:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736231#M946898</link>
      <description>Pete,&lt;BR /&gt;&lt;BR /&gt;A couple of days off, plus a lot of work finishing up a white paper.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 03 Jun 2002 12:16:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736231#M946898</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-06-03T12:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Can't open shared library:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736232#M946899</link>
      <description>I have set the path as below in both the servers, but still getting same error.&lt;BR /&gt;export SHLIB_PATH=/opt/oracle/product/dev6i&lt;BR /&gt;export LD_LIBRARY_PATH=/opt/oracle/product/dev6i&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Jun 2002 12:44:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736232#M946899</guid>
      <dc:creator>Sivaji</dc:creator>
      <dc:date>2002-06-03T12:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Can't open shared library:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736233#M946900</link>
      <description>Wrong:&lt;BR /&gt;&lt;BR /&gt;export SHLIB_PATH=/opt/oracle/product/dev6i/lib&lt;BR /&gt;export LD_LIBRARY_PATH=/opt/oracle/product/dev6i/lib&lt;BR /&gt;&lt;BR /&gt;And check if you've got the correct access rights</description>
      <pubDate>Mon, 03 Jun 2002 13:00:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736233#M946900</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-06-03T13:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Can't open shared library:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736234#M946901</link>
      <description>Same error.&lt;BR /&gt;The files have below access rights&lt;BR /&gt;rwxr-xr-x   1 oracle     dba</description>
      <pubDate>Mon, 03 Jun 2002 13:33:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736234#M946901</guid>
      <dc:creator>Sivaji</dc:creator>
      <dc:date>2002-06-03T13:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Can't open shared library:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736235#M946902</link>
      <description>Sorry if it's a dumb remark, but shouldn't&lt;BR /&gt;&lt;BR /&gt;/opt/dev6i/lib//libclntsh.sl.1.0&lt;BR /&gt;&lt;BR /&gt;read:&lt;BR /&gt;&lt;BR /&gt;/opt/dev6i/lib/libclntsh.sl.1.0&lt;BR /&gt;&lt;BR /&gt;?&lt;BR /&gt;&lt;BR /&gt;or does dld do this all the time?</description>
      <pubDate>Mon, 03 Jun 2002 13:56:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736235#M946902</guid>
      <dc:creator>Ryan Kogelheide</dc:creator>
      <dc:date>2002-06-03T13:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Can't open shared library:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736236#M946903</link>
      <description>Does "/opt/dev6i/lib/" exist? Or did you expect it to be the same as "/opt/oracle/product/dev6i/lib"?&lt;BR /&gt;&lt;BR /&gt;Otherwise try this:&lt;BR /&gt;&lt;BR /&gt;# cd /opt&lt;BR /&gt;# ln -s oracle/product/dev6i dev6i&lt;BR /&gt;&lt;BR /&gt;Should help</description>
      <pubDate>Mon, 03 Jun 2002 13:58:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736236#M946903</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-06-03T13:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Can't open shared library:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736237#M946904</link>
      <description>Ryan, no, that's a problem caused by Oracle's way of linking, and does not harm.&lt;BR /&gt;&lt;BR /&gt;Unix (HP-UX) ignores multiple consequetive slashes&lt;BR /&gt;&lt;BR /&gt;# cd ////////////////////tmp&lt;BR /&gt;&lt;BR /&gt;is identical to&lt;BR /&gt;&lt;BR /&gt;# cd /tmp</description>
      <pubDate>Mon, 03 Jun 2002 14:00:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736237#M946904</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-06-03T14:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Can't open shared library:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736238#M946905</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;I had a similar problem.&lt;BR /&gt;The 2 '/' won't be a problem, though it looks awful.&lt;BR /&gt;&lt;BR /&gt;Try 'ldd' on that lib.&lt;BR /&gt;It will tell you if there are any dependencies to that lib.&lt;BR /&gt;In my case there was a right missing on a lib in Oracle-&amp;gt;libs. Beware to use the same user as the one with wich the error occurs when running 'ldd'.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Tell me if it helped, Markus</description>
      <pubDate>Mon, 10 Jun 2002 17:43:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736238#M946905</guid>
      <dc:creator>Markus Bonet</dc:creator>
      <dc:date>2002-06-10T17:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Can't open shared library:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736239#M946906</link>
      <description>Sivaji,&lt;BR /&gt;&lt;BR /&gt;Unless you are very careful when compiling/linking code on HPUX, the shared library path search doesn't get enabled  (i.e. SHLIB_PATH gets ignored). There's a good reason for this - security - you don't want someone replacing you shared library with a trojan horse!&lt;BR /&gt;&lt;BR /&gt;The good news is you can change this beahviour without having to rebuild the executable, using the chatr command.&lt;BR /&gt;&lt;BR /&gt;First check whether SHLIB_PATH is being used:&lt;BR /&gt;&lt;BR /&gt;chatr &lt;EXE_NAME&gt;&lt;BR /&gt;&lt;BR /&gt;ANd llok near the top of the output - there will be a line whcih tells you whether the SHLIB_PATH searching is enabled or not.&lt;BR /&gt;&lt;BR /&gt;If its not, to change it run:&lt;BR /&gt;&lt;BR /&gt;chatr +s enable &lt;EXE_NAME&gt;&lt;BR /&gt;&lt;BR /&gt;Then set your SHLIB_PATH, export it, and all should be well.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;/EXE_NAME&gt;&lt;/EXE_NAME&gt;</description>
      <pubDate>Mon, 10 Jun 2002 20:01:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736239#M946906</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2002-06-10T20:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Can't open shared library:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736240#M946907</link>
      <description>One thing to try is to regenerate your libclntsh file.  &lt;BR /&gt;&lt;BR /&gt;You should be able to do this by setting your enviroment, and then going to $ORACLE_HOME/bin.  There should be a genclntsh file there.  The database (if this is an RDBMS server) will need to be down.  You can relink it.  After that, make sure that your enviroment is set correctly, with the SHLIB_PATH set, and see if that works.  &lt;BR /&gt;&lt;BR /&gt;Brian</description>
      <pubDate>Mon, 10 Jun 2002 23:47:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-can-t-open-shared-library/m-p/2736240#M946907</guid>
      <dc:creator>Brian Crabtree</dc:creator>
      <dc:date>2002-06-10T23:47:34Z</dc:date>
    </item>
  </channel>
</rss>

