<?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: Debugging Output of Dynamic Loader in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/debugging-output-of-dynamic-loader/m-p/5163662#M681522</link>
    <description>What are you trying to debug?  The application startup or a dlopen call?&lt;BR /&gt;Is this PA32 or everything else?&lt;BR /&gt;&lt;BR /&gt;For the startup, you can use "ldd -r -s executable".  There is also -v.&lt;BR /&gt;&lt;BR /&gt;If you are using dlopen, you can use dlerror.&lt;BR /&gt;Otherwise you should give up on dlopen and use the tried and true shl_load with BIND_VERBOSE.&lt;BR /&gt;&lt;BR /&gt;There is _HP_DLDOPTS but all I see is -warnings.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;is this output written to a log file instead of to stdout?&lt;BR /&gt;&lt;BR /&gt;It should be sent to stderr.</description>
    <pubDate>Tue, 17 Mar 2009 03:07:11 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2009-03-17T03:07:11Z</dc:date>
    <item>
      <title>Debugging Output of Dynamic Loader</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debugging-output-of-dynamic-loader/m-p/5163659#M681519</link>
      <description>Hey,&lt;BR /&gt;&lt;BR /&gt;is there a way in HP-UX to get debugging output of the dynamic loader about what he is doing (e.g. which undefined symbols are bound to which shared libraries)? I know that there is a possibility for the dl_open call to request verbose output, but I am looking for a more general debug output comparable to the one of Linux (LD_DEBUG/LD_DEBUG_OUTPUT).&lt;BR /&gt;&lt;BR /&gt;Thanks for your answers,&lt;BR /&gt;Andre-Marcel</description>
      <pubDate>Mon, 16 Mar 2009 10:53:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debugging-output-of-dynamic-loader/m-p/5163659#M681519</guid>
      <dc:creator>Andre-Marcel Hellmund</dc:creator>
      <dc:date>2009-03-16T10:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Output of Dynamic Loader</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debugging-output-of-dynamic-loader/m-p/5163660#M681520</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Does the linker's '-B nonfatal -B verbose' help you?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B3921-60631/ld_ia.1.html" target="_blank"&gt;http://docs.hp.com/en/B3921-60631/ld_ia.1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B3921-60631/ld_pa.1.html" target="_blank"&gt;http://docs.hp.com/en/B3921-60631/ld_pa.1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 16 Mar 2009 11:15:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debugging-output-of-dynamic-loader/m-p/5163660#M681520</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-03-16T11:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Output of Dynamic Loader</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debugging-output-of-dynamic-loader/m-p/5163661#M681521</link>
      <description>Hey,&lt;BR /&gt;&lt;BR /&gt;that might be the information I searched for :) I tried this linker option with a short test program but did not get any output. (verbose: Display verbose messages when binding symbols. This is the default ...)&lt;BR /&gt;&lt;BR /&gt;Do I have to set an additional environment variable or is this output written to a log file instead of to stdout?&lt;BR /&gt;&lt;BR /&gt;Thx,&lt;BR /&gt;Andre-Marcel</description>
      <pubDate>Mon, 16 Mar 2009 11:30:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debugging-output-of-dynamic-loader/m-p/5163661#M681521</guid>
      <dc:creator>Andre-Marcel Hellmund</dc:creator>
      <dc:date>2009-03-16T11:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Output of Dynamic Loader</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debugging-output-of-dynamic-loader/m-p/5163662#M681522</link>
      <description>What are you trying to debug?  The application startup or a dlopen call?&lt;BR /&gt;Is this PA32 or everything else?&lt;BR /&gt;&lt;BR /&gt;For the startup, you can use "ldd -r -s executable".  There is also -v.&lt;BR /&gt;&lt;BR /&gt;If you are using dlopen, you can use dlerror.&lt;BR /&gt;Otherwise you should give up on dlopen and use the tried and true shl_load with BIND_VERBOSE.&lt;BR /&gt;&lt;BR /&gt;There is _HP_DLDOPTS but all I see is -warnings.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;is this output written to a log file instead of to stdout?&lt;BR /&gt;&lt;BR /&gt;It should be sent to stderr.</description>
      <pubDate>Tue, 17 Mar 2009 03:07:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debugging-output-of-dynamic-loader/m-p/5163662#M681522</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-03-17T03:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Output of Dynamic Loader</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debugging-output-of-dynamic-loader/m-p/5163663#M681523</link>
      <description>&amp;gt; What are you trying to debug? The application startup or a dlopen call? Is this PA32 or everything else?&lt;BR /&gt;&lt;BR /&gt;Primarily the application startup on IA64.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; For the startup, you can use "ldd -r -s executable". There is also -v.&lt;BR /&gt;&lt;BR /&gt;The information given by "ldd -r -s -v ..." is quite good, but I was/am looking for a debug output based on symbols as in the case of Linux:&lt;BR /&gt;&lt;BR /&gt;A simple test program with just printf and the LD_DEBUG set to "bindings,symbols" would yield:&lt;BR /&gt;&lt;BR /&gt;symbol=printf;  lookup in file=./main [0]&lt;BR /&gt;symbol=printf;  lookup in file=/lib/tls/i686/nosegneg/libc.so.6 [0]&lt;BR /&gt;&lt;BR /&gt;binding file ./main [0] to /lib/tls/i686/nosegneg/libc.so.6 [0]: normal symbol `printf' [GLIBC_2.0]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I would also be satisfied with a "No, it is not possible in that detail on HP-UX without a debugging dld.so"&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Mar 2009 07:47:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debugging-output-of-dynamic-loader/m-p/5163663#M681523</guid>
      <dc:creator>Andre-Marcel Hellmund</dc:creator>
      <dc:date>2009-03-17T07:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Output of Dynamic Loader</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debugging-output-of-dynamic-loader/m-p/5163664#M681524</link>
      <description>&amp;gt;I would also be satisfied with a "No, it is not possible in that detail on HP-UX without a debugging dld.so"&lt;BR /&gt;&lt;BR /&gt;That's probably true for dld.so.&lt;BR /&gt;But you can use my tool instead.  See the attachment show_remaining_imports_elf.sh in this thread:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1261297" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1261297&lt;/A&gt;</description>
      <pubDate>Tue, 17 Mar 2009 09:52:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debugging-output-of-dynamic-loader/m-p/5163664#M681524</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-03-17T09:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Output of Dynamic Loader</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debugging-output-of-dynamic-loader/m-p/5163665#M681525</link>
      <description>Thanks for your answers.</description>
      <pubDate>Tue, 17 Mar 2009 10:44:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debugging-output-of-dynamic-loader/m-p/5163665#M681525</guid>
      <dc:creator>Andre-Marcel Hellmund</dc:creator>
      <dc:date>2009-03-17T10:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Output of Dynamic Loader</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debugging-output-of-dynamic-loader/m-p/5163666#M681526</link>
      <description>you can use the ldd tool with the "-y" flag. "ldd -y &lt;EXECUTABLE&gt;" will give you details of all the symbol resolutions. if you want details for only one symbol, you can specify the symbol name with "-y,&lt;SYMBOL-NAME&gt;".&lt;BR /&gt;&lt;BR /&gt;example in attached file.&lt;/SYMBOL-NAME&gt;&lt;/EXECUTABLE&gt;</description>
      <pubDate>Fri, 20 Mar 2009 02:03:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debugging-output-of-dynamic-loader/m-p/5163666#M681526</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2009-03-20T02:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Output of Dynamic Loader</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debugging-output-of-dynamic-loader/m-p/5163667#M681527</link>
      <description>Hey,&lt;BR /&gt;&lt;BR /&gt;thanks! That's what I was looking for!</description>
      <pubDate>Mon, 23 Mar 2009 08:25:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debugging-output-of-dynamic-loader/m-p/5163667#M681527</guid>
      <dc:creator>Andre-Marcel Hellmund</dc:creator>
      <dc:date>2009-03-23T08:25:44Z</dc:date>
    </item>
  </channel>
</rss>

