<?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: why does dld.sl load libogltls.sl for a simple utility like ls? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/why-does-dld-sl-load-libogltls-sl-for-a-simple-utility-like-ls/m-p/3858059#M98596</link>
    <description>please set _HP_DLDOPTS to include "-noogltls" in the environment. if you will not be using any opengl programs, you could set it in the users' shell startup scripts. &lt;BR /&gt;&lt;BR /&gt;if you are not using any hpux 9x programs, you can also include "-no_9X_compat" for faster shared library loading (dld wont look for libx.0 when you want to load libx.sl).&lt;BR /&gt;&lt;BR /&gt;_HP_DLDOPTS="-noogltls -no_9X_compat"</description>
    <pubDate>Fri, 22 Sep 2006 23:22:40 GMT</pubDate>
    <dc:creator>ranganath ramachandra</dc:creator>
    <dc:date>2006-09-22T23:22:40Z</dc:date>
    <item>
      <title>why does dld.sl load libogltls.sl for a simple utility like ls?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/why-does-dld-sl-load-libogltls-sl-for-a-simple-utility-like-ls/m-p/3858056#M98593</link>
      <description>Using tusc I have noticed every application, and indeed every command leads to libogltls.sl being loaded.  Here is a sample:&lt;BR /&gt;&lt;BR /&gt;# /usr/local.orig/bin/tusc env | grep -i .sl&lt;BR /&gt;open("/usr/lib/dld.sl", O_RDONLY, 04424) ................. = 3&lt;BR /&gt;open("/opt/graphics/OpenGL/lib/libogltls.sl", O_RDONLY, 0) = 3&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;That doesn't seem right.  Isn't libogltls.sl the thread local storage library for OpenGL?  ls is not an OpenGL application.  Why does libogltls.sl get loaded?  It appears this is done by dld.sl as running nm or strings on dld.sl clearly shows a reference to libogltls.sl:&lt;BR /&gt;&lt;BR /&gt;# strings dld.sl | grep OpenGL&lt;BR /&gt;/opt/graphics/OpenGL/lib/libogltls.sl&lt;BR /&gt;&lt;BR /&gt;Does dld.sl really need to load libogltls.sl for every command and application?  Doesn't this slow things down a bit and create undue dependence?  What if OpenGL is not installed?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;H Taghavi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Sep 2006 20:26:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/why-does-dld-sl-load-libogltls-sl-for-a-simple-utility-like-ls/m-p/3858056#M98593</guid>
      <dc:creator>HTaghavi</dc:creator>
      <dc:date>2006-09-06T20:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: why does dld.sl load libogltls.sl for a simple utility like ls?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/why-does-dld-sl-load-libogltls-sl-for-a-simple-utility-like-ls/m-p/3858057#M98594</link>
      <description>As you guessed, this is for OpenGL.  This was the best compromize in setting up TLS for libs that were dynamically loaded, before dynamic TLS was implemented.&lt;BR /&gt;&lt;BR /&gt;It only slows it down for one open that checks when OpenGL isn't installed.&lt;BR /&gt;&lt;BR /&gt;They have removed it in the latest patches for IPF, I'm not sure about PA.</description>
      <pubDate>Wed, 06 Sep 2006 21:45:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/why-does-dld-sl-load-libogltls-sl-for-a-simple-utility-like-ls/m-p/3858057#M98594</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2006-09-06T21:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: why does dld.sl load libogltls.sl for a simple utility like ls?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/why-does-dld-sl-load-libogltls-sl-for-a-simple-utility-like-ls/m-p/3858058#M98595</link>
      <description>please set _HP_DLDOPTS to include "-noogltls" in the environment. if you will not be using any opengl programs, you could set it in the users' shell startup scripts. &lt;BR /&gt;&lt;BR /&gt;if you are not using any hpux 9x programs, you can also include "-no_9X_compat" for faster shared library loading (dld wont look for libx.0 when you want to load libx.sl).&lt;BR /&gt;&lt;BR /&gt;_HP_DLDOPT="-noogltls -no_9X_compat"</description>
      <pubDate>Fri, 22 Sep 2006 23:22:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/why-does-dld-sl-load-libogltls-sl-for-a-simple-utility-like-ls/m-p/3858058#M98595</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2006-09-22T23:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: why does dld.sl load libogltls.sl for a simple utility like ls?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/why-does-dld-sl-load-libogltls-sl-for-a-simple-utility-like-ls/m-p/3858059#M98596</link>
      <description>please set _HP_DLDOPTS to include "-noogltls" in the environment. if you will not be using any opengl programs, you could set it in the users' shell startup scripts. &lt;BR /&gt;&lt;BR /&gt;if you are not using any hpux 9x programs, you can also include "-no_9X_compat" for faster shared library loading (dld wont look for libx.0 when you want to load libx.sl).&lt;BR /&gt;&lt;BR /&gt;_HP_DLDOPTS="-noogltls -no_9X_compat"</description>
      <pubDate>Fri, 22 Sep 2006 23:22:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/why-does-dld-sl-load-libogltls-sl-for-a-simple-utility-like-ls/m-p/3858059#M98596</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2006-09-22T23:22:40Z</dc:date>
    </item>
  </channel>
</rss>

