<?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: changing the path for dld.so in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-path-for-dld-so/m-p/3890708#M771353</link>
    <description>Niklas,&lt;BR /&gt;somebody with a similar idea:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1048679" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1048679&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;suggestion was chatr&lt;BR /&gt;&lt;BR /&gt;Please also see:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;</description>
    <pubDate>Wed, 01 Nov 2006 11:01:13 GMT</pubDate>
    <dc:creator>Peter Godron</dc:creator>
    <dc:date>2006-11-01T11:01:13Z</dc:date>
    <item>
      <title>changing the path for dld.so</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-path-for-dld-so/m-p/3890707#M771352</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I want to configure a copy of the chroot binary to run in a compartment. &lt;BR /&gt;&lt;BR /&gt;Chroot uses dynamic libraries, and therefore loads the dld.so. The compartment settings disallows all reading of the /lib directory (where dld.so lives).&lt;BR /&gt;&lt;BR /&gt;I have tried to compile my own chroot with static linking, but it doesn't seem to work.&lt;BR /&gt;&lt;BR /&gt;Another solution would be to specify where to find the dld.so file, but I don't know how.&lt;BR /&gt;&lt;BR /&gt;Does anybody have a solution to this?&lt;BR /&gt;&lt;BR /&gt;/Best regards Niklas</description>
      <pubDate>Wed, 01 Nov 2006 10:53:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-path-for-dld-so/m-p/3890707#M771352</guid>
      <dc:creator>NIklas Wirstrom</dc:creator>
      <dc:date>2006-11-01T10:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: changing the path for dld.so</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-path-for-dld-so/m-p/3890708#M771353</link>
      <description>Niklas,&lt;BR /&gt;somebody with a similar idea:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1048679" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1048679&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;suggestion was chatr&lt;BR /&gt;&lt;BR /&gt;Please also see:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;</description>
      <pubDate>Wed, 01 Nov 2006 11:01:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-path-for-dld-so/m-p/3890708#M771353</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-11-01T11:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: changing the path for dld.so</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-path-for-dld-so/m-p/3890709#M771354</link>
      <description>cant you make copies of uld.so and dld.so at the appropriate paths in the compartment ? or do you mean /usr/lib is unusable even inside the compartment?&lt;BR /&gt;&lt;BR /&gt;as of now, there is no hpux tool to do this (or to edit embedded paths).&lt;BR /&gt;&lt;BR /&gt;if you are able to relink the executables that you want to use in this way, you can use the linker's "+interp" option followed by a string that specifies the interpreter. for IPF binaries this string specifies the uld and dld paths delimited by a colon (':') character (see the output of "elfdump +interp &lt;EXECUTABLE&gt;" for example).&lt;BR /&gt;&lt;BR /&gt;if you are not able to relink the executables, you will have to edit the binary (e.g. using bvi or "vim -b") to replace the string in place with another of the same or lesser length. be sure to terminate a shorter string with null characters (ctrl-V ctrl-@ in bvi/vim).&lt;/EXECUTABLE&gt;</description>
      <pubDate>Thu, 02 Nov 2006 01:02:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-path-for-dld-so/m-p/3890709#M771354</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2006-11-02T01:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: changing the path for dld.so</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-path-for-dld-so/m-p/3890710#M771355</link>
      <description>Thanks!&lt;BR /&gt;I linked a home made chroot with the interp option. Works fine.</description>
      <pubDate>Thu, 02 Nov 2006 05:22:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-path-for-dld-so/m-p/3890710#M771355</guid>
      <dc:creator>NIklas Wirstrom</dc:creator>
      <dc:date>2006-11-02T05:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: changing the path for dld.so</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-path-for-dld-so/m-p/3890711#M771356</link>
      <description>actually, a much simpler workaround which i didnt thnk of earlier is to build (or ask hp for) a fully archived version of chroot. i'll talk to the owners of chroot about this.</description>
      <pubDate>Thu, 02 Nov 2006 07:15:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-path-for-dld-so/m-p/3890711#M771356</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2006-11-02T07:15:10Z</dc:date>
    </item>
  </channel>
</rss>

