<?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: problem with dynamic shared libraries in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-dynamic-shared-libraries/m-p/3892292#M771502</link>
    <description>&amp;gt;I am not able to see any exported symbols from this library using the nm command: ld -G -B symbolic -b +s&lt;BR /&gt;&lt;BR /&gt;nm is the wrong command to look at shared libs.  You should be using elfdump -t, in my case this shows the symbols.&lt;BR /&gt;&lt;BR /&gt;You have found a bug in -G, so just remove it.  (The bug is still there on B.12.41.)  If you want to strip debug info, use strip -l.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 04 Nov 2006 05:00:44 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2006-11-04T05:00:44Z</dc:date>
    <item>
      <title>problem with dynamic shared libraries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-dynamic-shared-libraries/m-p/3892291#M771501</link>
      <description>This is my first post so a big "Hello to all"&lt;BR /&gt;&lt;BR /&gt;Problem:&lt;BR /&gt;I am creating a dynamic library on HPUX IPF 11.23 with lhe following link options (linker ld HP Itanium(R) B.12.34  IPF/IPF):&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; ld -G -B symbolic -b +s&lt;BR /&gt;&lt;BR /&gt;I am not able to see any exported symbols from this library using the nm command -&lt;BR /&gt;nm: &lt;LIBRARY name=""&gt; no symbols&lt;BR /&gt;&lt;BR /&gt;The same command is used to link a library on a HP Pa system and it seems to work fine with nm giving a huge listing for library.&lt;BR /&gt;&lt;BR /&gt;My executables on IPF seem to be having some problems which I suspect has something to do with the symbols not getting exported from by library. I am linking my executable with the following options " cc -Wl,+s -Wl,+n +DD64 -o"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please give me some advice?&lt;BR /&gt;&lt;BR /&gt;&lt;/LIBRARY&gt;</description>
      <pubDate>Fri, 03 Nov 2006 17:28:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-dynamic-shared-libraries/m-p/3892291#M771501</guid>
      <dc:creator>Ravi banka_1</dc:creator>
      <dc:date>2006-11-03T17:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: problem with dynamic shared libraries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-dynamic-shared-libraries/m-p/3892292#M771502</link>
      <description>&amp;gt;I am not able to see any exported symbols from this library using the nm command: ld -G -B symbolic -b +s&lt;BR /&gt;&lt;BR /&gt;nm is the wrong command to look at shared libs.  You should be using elfdump -t, in my case this shows the symbols.&lt;BR /&gt;&lt;BR /&gt;You have found a bug in -G, so just remove it.  (The bug is still there on B.12.41.)  If you want to strip debug info, use strip -l.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 04 Nov 2006 05:00:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-dynamic-shared-libraries/m-p/3892292#M771502</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2006-11-04T05:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: problem with dynamic shared libraries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-dynamic-shared-libraries/m-p/3892293#M771503</link>
      <description>Thanks Dennis.&lt;BR /&gt;&lt;BR /&gt;"elfdump -t" does work great. &lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;You have found a bug in -G&lt;BR /&gt;Can you please help me understand what bug you meant here?</description>
      <pubDate>Sat, 04 Nov 2006 16:41:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-dynamic-shared-libraries/m-p/3892293#M771503</guid>
      <dc:creator>Ravi banka_1</dc:creator>
      <dc:date>2006-11-04T16:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: problem with dynamic shared libraries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-dynamic-shared-libraries/m-p/3892294#M771504</link>
      <description>&amp;gt;Can you please help me understand what bug you meant here?&lt;BR /&gt;&lt;BR /&gt;That -G strips the symbol table instead of just the unloadable debug info.  That should only be done with -s.</description>
      <pubDate>Mon, 06 Nov 2006 17:55:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-dynamic-shared-libraries/m-p/3892294#M771504</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2006-11-06T17:55:12Z</dc:date>
    </item>
  </channel>
</rss>

