<?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: Shared Lib Error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-lib-error/m-p/3027576#M909952</link>
    <description>Thanks Massimo for answer:&lt;BR /&gt;The program is running in a HP B10.20 With Oracle 8.0.5. But nnow we are migrating to HPB11.11 with Oracle 9.2.0. &lt;BR /&gt;#&amp;gt;chatr gdb show dinamyc path disable:&lt;BR /&gt;gdb:&lt;BR /&gt;shared executable&lt;BR /&gt;shared library dynamic path search:&lt;BR /&gt;SHLIB_PATH     disabled  second&lt;BR /&gt;embedded path  disabled  first  Not Defined&lt;BR /&gt;shared library list:&lt;BR /&gt;        dynamic   /usr/lib/libdld.2&lt;BR /&gt;shared library binding:&lt;BR /&gt;             deferred&lt;BR /&gt;#&amp;gt;chatr insert shows also dinamyc path disable:&lt;BR /&gt;insert:&lt;BR /&gt; shared executable&lt;BR /&gt; shared library dynamic path search:&lt;BR /&gt; SHLIB_PATH     disabled  second&lt;BR /&gt; embedded path  disabled  first  Not Defined&lt;BR /&gt; shared library list:&lt;BR /&gt;             static    /u01/app/oracle/product/8.0.5/lib/libclntsh.sl&lt;BR /&gt;         dynamic   /usr/lib/pa1.1/libcl.1&lt;BR /&gt;         static    /usr/lib/libcma.1&lt;BR /&gt;         static    /usr/lib/libdld.1&lt;BR /&gt;         dynamic   /usr/lib/libc.1&lt;BR /&gt;         dynamic   /usr/lib/libstd.1&lt;BR /&gt;         dynamic   /usr/lib/libstream.1&lt;BR /&gt;         dynamic   /usr/lib/libCsup.1&lt;BR /&gt;shared library binding:&lt;BR /&gt;         deferred&lt;BR /&gt;&lt;BR /&gt;I copy all libraries from old server to /u01/app/oracle/product/8.0.5/lib/libclntsh.sl, and with Debugger, the program connect to Oracle database well. But again, when I run from command line my program, it not runs.&lt;BR /&gt;&lt;BR /&gt;How I can change with chatr for uses uses /usr/lib/libdld.2 instead of /usr/lib/libdld.1 ?&lt;BR /&gt;Thanks, in advance.</description>
    <pubDate>Fri, 18 Jul 2003 14:50:34 GMT</pubDate>
    <dc:creator>Alfonso_15</dc:creator>
    <dc:date>2003-07-18T14:50:34Z</dc:date>
    <item>
      <title>Shared Lib Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-lib-error/m-p/3027574#M909950</link>
      <description>Good Morning.&lt;BR /&gt;I am try to run this program: insert . And show this Error:&lt;BR /&gt;#&amp;gt; ./insert&lt;BR /&gt;/usr/lib/dld.sl: Call to mmap() failed -TEXT /u01/app/oracle/product/8.0.5/lib/&lt;BR /&gt;libclntsh.sl/usr/lib/dld.sl: Permission denied&lt;BR /&gt;Abort(coredump)&lt;BR /&gt;The program is type:&lt;BR /&gt;#&amp;gt;insert:PA-RISC2.0 shared executable dynamically linked -not stripped&lt;BR /&gt;&lt;BR /&gt;But when I execute the program with debugger (gdb) runs fine!!!! Then when I run with gdb , is using other dld.sl &lt;BR /&gt;(Note when I did #&amp;gt; chatr insert it shows a link to  static /usr/lib/libdld.1, and when I did #&amp;gt;chatr gdb it shows dynamic /usr/lib/libdld.2) This could be the reason?&lt;BR /&gt;I not have the source code for recompile the program. &lt;BR /&gt;The how I can make run my program without gdb?&lt;BR /&gt;Thanks a lot  for any help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jul 2003 14:24:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-lib-error/m-p/3027574#M909950</guid>
      <dc:creator>Alfonso_15</dc:creator>
      <dc:date>2003-07-18T14:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Lib Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-lib-error/m-p/3027575#M909951</link>
      <description>Hi,&lt;BR /&gt;if you are right about the libdld.2, are the dymac path search enabled ?&lt;BR /&gt;&lt;BR /&gt;from &lt;BR /&gt;chatr insert&lt;BR /&gt;&lt;BR /&gt;you should see if SHLIB_PATH is enabled.&lt;BR /&gt;&lt;BR /&gt;Another point of attention: your program is referencing &lt;BR /&gt;/u01/app/oracle/product/8.0.5/lib/libclntsh.sl&lt;BR /&gt;&lt;BR /&gt;which is the oracle client library.&lt;BR /&gt;&lt;BR /&gt;The user who is starting the insert, is able to read that file?&lt;BR /&gt;&lt;BR /&gt;And,most obvious question, what has changed since last time it worked ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Massimo&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jul 2003 14:36:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-lib-error/m-p/3027575#M909951</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-07-18T14:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Lib Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-lib-error/m-p/3027576#M909952</link>
      <description>Thanks Massimo for answer:&lt;BR /&gt;The program is running in a HP B10.20 With Oracle 8.0.5. But nnow we are migrating to HPB11.11 with Oracle 9.2.0. &lt;BR /&gt;#&amp;gt;chatr gdb show dinamyc path disable:&lt;BR /&gt;gdb:&lt;BR /&gt;shared executable&lt;BR /&gt;shared library dynamic path search:&lt;BR /&gt;SHLIB_PATH     disabled  second&lt;BR /&gt;embedded path  disabled  first  Not Defined&lt;BR /&gt;shared library list:&lt;BR /&gt;        dynamic   /usr/lib/libdld.2&lt;BR /&gt;shared library binding:&lt;BR /&gt;             deferred&lt;BR /&gt;#&amp;gt;chatr insert shows also dinamyc path disable:&lt;BR /&gt;insert:&lt;BR /&gt; shared executable&lt;BR /&gt; shared library dynamic path search:&lt;BR /&gt; SHLIB_PATH     disabled  second&lt;BR /&gt; embedded path  disabled  first  Not Defined&lt;BR /&gt; shared library list:&lt;BR /&gt;             static    /u01/app/oracle/product/8.0.5/lib/libclntsh.sl&lt;BR /&gt;         dynamic   /usr/lib/pa1.1/libcl.1&lt;BR /&gt;         static    /usr/lib/libcma.1&lt;BR /&gt;         static    /usr/lib/libdld.1&lt;BR /&gt;         dynamic   /usr/lib/libc.1&lt;BR /&gt;         dynamic   /usr/lib/libstd.1&lt;BR /&gt;         dynamic   /usr/lib/libstream.1&lt;BR /&gt;         dynamic   /usr/lib/libCsup.1&lt;BR /&gt;shared library binding:&lt;BR /&gt;         deferred&lt;BR /&gt;&lt;BR /&gt;I copy all libraries from old server to /u01/app/oracle/product/8.0.5/lib/libclntsh.sl, and with Debugger, the program connect to Oracle database well. But again, when I run from command line my program, it not runs.&lt;BR /&gt;&lt;BR /&gt;How I can change with chatr for uses uses /usr/lib/libdld.2 instead of /usr/lib/libdld.1 ?&lt;BR /&gt;Thanks, in advance.</description>
      <pubDate>Fri, 18 Jul 2003 14:50:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-lib-error/m-p/3027576#M909952</guid>
      <dc:creator>Alfonso_15</dc:creator>
      <dc:date>2003-07-18T14:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Lib Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-lib-error/m-p/3027577#M909953</link>
      <description>Hi,&lt;BR /&gt;if we get this running, it's just luck...&lt;BR /&gt;&lt;BR /&gt;10.20, oracle 805 --&amp;gt; 11.00, oracle 9.2&lt;BR /&gt;&lt;BR /&gt;make a copy of the executable insert&lt;BR /&gt;&lt;BR /&gt;try this:&lt;BR /&gt;&lt;BR /&gt;chatr +s enable insert&lt;BR /&gt;&lt;BR /&gt;this will enable the searching in SHLIB_PATH&lt;BR /&gt;&lt;BR /&gt;then export your SHLIB_PATH=/usr/lib/libdld.2&lt;BR /&gt;&lt;BR /&gt;And then try.&lt;BR /&gt;&lt;BR /&gt;if fails, try also&lt;BR /&gt;&lt;BR /&gt;chatr -l /usr/lib/libdld.2 insert&lt;BR /&gt;&lt;BR /&gt;to enable look up of libdld.2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;and re-try.&lt;BR /&gt;&lt;BR /&gt;mmmmmmmm,&lt;BR /&gt;  Massimo</description>
      <pubDate>Fri, 18 Jul 2003 14:58:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-lib-error/m-p/3027577#M909953</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-07-18T14:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Lib Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-lib-error/m-p/3027578#M909954</link>
      <description>Massimo:&lt;BR /&gt;The commands &lt;BR /&gt;#&amp;gt; chatr -s enable insert works fine.&lt;BR /&gt;#&amp;gt; export SHLIB_PATH=/usr/lib/libdld.2 Works fine.&lt;BR /&gt;But &lt;BR /&gt;chatr -l /usr/lib/libdld.2 shows this error&lt;BR /&gt;shared library path not found in the list -- /usr/lib/libdld.2&lt;BR /&gt;&lt;BR /&gt;I try also with -l libdld.2, -l dld.2 and -l:/usr/lib/libdld.2 and same error.&lt;BR /&gt; I try also with SHLIB_PATH=/usr/lib , and no change the result. Could be the version of chatr?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jul 2003 15:11:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-lib-error/m-p/3027578#M909954</guid>
      <dc:creator>Alfonso_15</dc:creator>
      <dc:date>2003-07-18T15:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Lib Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-lib-error/m-p/3027579#M909955</link>
      <description>/u01/app/oracle/product/8.0.5/lib/libclntsh.sl&lt;BR /&gt;needs to be executable.  Do "chmod +x" to it.&lt;BR /&gt;gdb is more forgiving about mapping in shared libraries that don't have execute permission.  That must be a side-effect of the way that gdb maps shared library text as private writeable regions to allow it to set breakpoints.</description>
      <pubDate>Fri, 18 Jul 2003 15:21:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-lib-error/m-p/3027579#M909955</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2003-07-18T15:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Lib Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-lib-error/m-p/3027580#M909956</link>
      <description>Oh, by the way.  The libdld.1 vs. libdld.2 business is a red-herring.  The gdb program is linked with libdld.2 because it was built on 11.00.  The  'insert' program is linked with libdld.1 because it was built on a 10.x release.  gdb does not lend its shared libraries to the processes that it debugs.</description>
      <pubDate>Fri, 18 Jul 2003 15:25:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-lib-error/m-p/3027580#M909956</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2003-07-18T15:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Lib Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-lib-error/m-p/3027581#M909957</link>
      <description>Thank you Mike for your infos !&lt;BR /&gt;&lt;BR /&gt;i learnt something new...&lt;BR /&gt;  Massimo&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jul 2003 15:28:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-lib-error/m-p/3027581#M909957</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-07-18T15:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Lib Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-lib-error/m-p/3027582#M909958</link>
      <description>Mike thanks, was a simple permissions problem. Thanks Works fine. Massimo thanks a lot, I learn about chatr.&lt;BR /&gt;Bye guys.</description>
      <pubDate>Fri, 18 Jul 2003 15:40:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-lib-error/m-p/3027582#M909958</guid>
      <dc:creator>Alfonso_15</dc:creator>
      <dc:date>2003-07-18T15:40:11Z</dc:date>
    </item>
  </channel>
</rss>

