<?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: dld.sl, aCC in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dld-sl-acc/m-p/2652290#M722873</link>
    <description>-rwxrwxrwx, and the same goes for the directory</description>
    <pubDate>Thu, 24 Jan 2002 17:44:36 GMT</pubDate>
    <dc:creator>Ryan Twombly</dc:creator>
    <dc:date>2002-01-24T17:44:36Z</dc:date>
    <item>
      <title>dld.sl, aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dld-sl-acc/m-p/2652288#M722871</link>
      <description>We just installed aCC for 11i and ChiliSoft.  I have been attempting to build a demo program included in ChiliSoft using thier Makefile and keep getting the error when I try to run the executable :&lt;BR /&gt;&lt;BR /&gt;/usr/lib/dld.sl: Can't open shared library: ../exe/libodbcinst.sl&lt;BR /&gt;/usr/lib/dld.sl: No such file or directory&lt;BR /&gt;&lt;BR /&gt;It is true that /exe/libodbcinst.sl does not exist, and I wonder why.  Also, I found a version of libodbcinst.sl and placed it in a newly created /usr/exe directory, but to no avail.  Even after re-comiling I get the same message.  Am I missing something here</description>
      <pubDate>Thu, 24 Jan 2002 17:31:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dld-sl-acc/m-p/2652288#M722871</guid>
      <dc:creator>Ryan Twombly</dc:creator>
      <dc:date>2002-01-24T17:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: dld.sl, aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dld-sl-acc/m-p/2652289#M722872</link>
      <description>What are the permissions on the file?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Thu, 24 Jan 2002 17:36:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dld-sl-acc/m-p/2652289#M722872</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-01-24T17:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: dld.sl, aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dld-sl-acc/m-p/2652290#M722873</link>
      <description>-rwxrwxrwx, and the same goes for the directory</description>
      <pubDate>Thu, 24 Jan 2002 17:44:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dld-sl-acc/m-p/2652290#M722873</guid>
      <dc:creator>Ryan Twombly</dc:creator>
      <dc:date>2002-01-24T17:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: dld.sl, aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dld-sl-acc/m-p/2652291#M722874</link>
      <description>It must be looking for the file elsewhere and not under /usr/exe, could it be /usr/lib/exe? Where did you find the file, because you include the directory into your pathes.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Thu, 24 Jan 2002 17:54:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dld-sl-acc/m-p/2652291#M722874</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-01-24T17:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: dld.sl, aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dld-sl-acc/m-p/2652292#M722875</link>
      <description>There's no /usr/lib/exe either.  I found the file in ChiliSoft's package and simply copied it over there.  Should I add /usr/exe to my paths I wonder?</description>
      <pubDate>Thu, 24 Jan 2002 18:02:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dld-sl-acc/m-p/2652292#M722875</guid>
      <dc:creator>Ryan Twombly</dc:creator>
      <dc:date>2002-01-24T18:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: dld.sl, aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dld-sl-acc/m-p/2652293#M722876</link>
      <description>To your SHLIB and maybe your LDPATH variables.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Thu, 24 Jan 2002 18:11:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dld-sl-acc/m-p/2652293#M722876</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-01-24T18:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: dld.sl, aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dld-sl-acc/m-p/2652294#M722877</link>
      <description>Ryan,&lt;BR /&gt;&lt;BR /&gt;It sounds like you need to further explore the "path" that Harry is suggesting with "SHLIB" and/or "LDPATH".  The dynamic loader (dld) has a certain algorithm to finding shared libraries, depending on the options given to the linker when the executable is built (and also depending on whether you're on a PA_RISC 1.x (32bit) processor or PA_RISC 2.0 (64bit)).&lt;BR /&gt;&lt;BR /&gt;In general, I would first try setting the environment variable SHLIB_PATH to point to the absolute path that the shared library in question is located in ("/usr/exe", in this case):&lt;BR /&gt;&lt;BR /&gt;export SHLIB_PATH=/usr/exe&lt;BR /&gt;&lt;BR /&gt;Try running the exe again. You might find the "ldd" command to come in handy; try doing /usr/ccs/bin/ldd (exe-name).  It will tell you what dynamic libraries are required by the executable and where those libraries will be found at run-time.&lt;BR /&gt;&lt;BR /&gt;References:&lt;BR /&gt; - look at the man page for "dld.sl"&lt;BR /&gt; - If that doesn't tell you enough about the dynamic loader and shared libraries, check out "HP-UX Linker and Libraries User's Guide".&lt;BR /&gt;While it's probably on HP's website, it's probably right there on your system since aCC is installed.  On my system it's at:&lt;BR /&gt;&lt;BR /&gt;/usr/share/html/C/linker/linkhelp.html&lt;BR /&gt;&lt;BR /&gt;It's a beastly document, but there's a wealth of information in there.  The Table of Contents is at the end (in my copy at least) =)&lt;BR /&gt;&lt;BR /&gt;Hope this helps -&lt;BR /&gt;- Chris</description>
      <pubDate>Thu, 24 Jan 2002 21:40:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dld-sl-acc/m-p/2652294#M722877</guid>
      <dc:creator>Chris De Angelis</dc:creator>
      <dc:date>2002-01-24T21:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: dld.sl, aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dld-sl-acc/m-p/2652295#M722878</link>
      <description>Thanks for your help guys.  I've found that the problem was, as usual, simpler than I was trying to make it.  I was interpreting the error line (and the results of ldd) as refering to /usr/exe, a ../ from /usr/lib, where in fact it was refering to one step above the directory in which the executable was being run.  Apparently the guys at Chili!Soft changed the location of the .sl in question from ../exe to ../lib, but a little copying fixed the problem...mostly.  I'm still haveing unresolved symbols, but I suspect it's a different problem altogether.  Thanks again</description>
      <pubDate>Mon, 28 Jan 2002 16:41:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dld-sl-acc/m-p/2652295#M722878</guid>
      <dc:creator>Ryan Twombly</dc:creator>
      <dc:date>2002-01-28T16:41:24Z</dc:date>
    </item>
  </channel>
</rss>

