<?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: List symbols in a library file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235294#M659265</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;If you could provide the command line being used and the error message, someone might recognize the problem and give you a fix.&lt;BR /&gt;&lt;BR /&gt;These issues are sometimes as simple as setting the right shared library path.&lt;BR /&gt;&lt;BR /&gt;If you insist on seeing the symbols provided, you might be better off checking the documentation for the library versus running OS commands like strings on the libraries.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Thu, 15 Apr 2010 16:01:46 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2010-04-15T16:01:46Z</dc:date>
    <item>
      <title>List symbols in a library file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235293#M659264</link>
      <description>My DBA is having a problem linking an Oracle module. We are getting the message of many symbols not satisfied. I would like to be able to list out the symbols in the file /opt/aCC/lib/lib++.a to see if that is where they are. Once I figure out where these are, we can work to get the Oracle linker to include that library on it command line.&lt;BR /&gt;FYI: some of the symbols we need are: cout, streambuf, ostream, istream, exception, and a few others.</description>
      <pubDate>Thu, 15 Apr 2010 15:55:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235293#M659264</guid>
      <dc:creator>Dave Johnson_1</dc:creator>
      <dc:date>2010-04-15T15:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: List symbols in a library file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235294#M659265</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;If you could provide the command line being used and the error message, someone might recognize the problem and give you a fix.&lt;BR /&gt;&lt;BR /&gt;These issues are sometimes as simple as setting the right shared library path.&lt;BR /&gt;&lt;BR /&gt;If you insist on seeing the symbols provided, you might be better off checking the documentation for the library versus running OS commands like strings on the libraries.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 15 Apr 2010 16:01:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235294#M659265</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-04-15T16:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: List symbols in a library file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235295#M659266</link>
      <description>Hi Dave:&lt;BR /&gt;&lt;BR /&gt;Have a look with 'nm(1)':&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60130/nm.1.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60130/nm.1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 15 Apr 2010 16:17:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235295#M659266</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-04-15T16:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: List symbols in a library file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235296#M659267</link>
      <description>The attached file is from the adrelink.lsv log file.</description>
      <pubDate>Thu, 15 Apr 2010 17:36:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235296#M659267</guid>
      <dc:creator>Dave Johnson_1</dc:creator>
      <dc:date>2010-04-15T17:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: List symbols in a library file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235297#M659268</link>
      <description>Ping this back to the head of the list. Any ideas anyone?</description>
      <pubDate>Thu, 15 Apr 2010 20:09:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235297#M659268</guid>
      <dc:creator>Dave Johnson_1</dc:creator>
      <dc:date>2010-04-15T20:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: List symbols in a library file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235298#M659269</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Not much to learn:&lt;BR /&gt;&lt;BR /&gt;Ideas:&lt;BR /&gt;1) Bad code. Does it compile on other systems?&lt;BR /&gt;2) Bad environment. Check PATH SHLIB_PATH variables do not pick up the wrong libraries.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 15 Apr 2010 21:23:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235298#M659269</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-04-15T21:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: List symbols in a library file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235299#M659270</link>
      <description>&amp;gt;We are getting the message of many symbols not satisfied.&lt;BR /&gt;&lt;BR /&gt;What are some of the symbols?&lt;BR /&gt;Is this for Integrity?&lt;BR /&gt;&lt;BR /&gt;I would like to be able to list out the symbols in the file /opt/aCC/lib/lib++.a to see if that is where they are.&lt;BR /&gt;&lt;BR /&gt;You should NOT be using the obsolete USL Standard Components!  It was recommended when  porting from cfront to aC++ to stop using it.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;some of the symbols we need are: cout, streambuf, ostream, istream, exception&lt;BR /&gt;&lt;BR /&gt;These are in the -AP shlibs, you shouldn't be using them on Integrity.  If you link with aCC, you automatically get them.  They are in libstream.  You should not be using any other driver to link aC++ applications.&lt;BR /&gt;&lt;BR /&gt;For your original question, to scan libs you can do:&lt;BR /&gt;nm -pxAN libs... | grep -e sym1 -e sym2&lt;BR /&gt;&lt;BR /&gt;For tricky PA32 shlibs:&lt;BR /&gt;odump -slexport libs... | grep -e sym1 -e sym2&lt;BR /&gt;&lt;BR /&gt;For other shlibs:&lt;BR /&gt;elfdump -n .dynsym -s libs... | grep -e sym1 -e sym2&lt;BR /&gt;&lt;BR /&gt;&amp;gt;The attached file is from the adrelink.lsv log file.&lt;BR /&gt;&lt;BR /&gt;Can you add -v to the aCC options.  What does "whence aCC" show?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;SEP: 1) Bad code. Does it compile on other systems?&lt;BR /&gt;&lt;BR /&gt;This cfront code is likely to be HP-UX specific.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;2) Check PATH SHLIB_PATH variables do not pick up the wrong libraries.&lt;BR /&gt;&lt;BR /&gt;This is not the right variable for linking.</description>
      <pubDate>Thu, 15 Apr 2010 22:21:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235299#M659270</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-04-15T22:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: List symbols in a library file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235300#M659271</link>
      <description>The 2 servers I am working on are PA-RISC running HP-UX 11.11.&lt;BR /&gt;We are not writing any code here, just relinking/compiling Oracle shipped standard modules. I had initially used B9007AAEVAL B.11.11.20.EV HP C/aC++ Developer's Bundle for Evaluation License. Oracle told us as long as we do not write code here and try to use the compiler, it is legal to leave this installed so we have access to the linker.&lt;BR /&gt;I later found out HP had created a linker only bundle HP-ACC-Link B.11.11.18 HP aCC_Link Bundle, which I had to find on a release CD. The DBA is getting the same unsatisfied symbol error no matter which one we have installed on either rp3440 server.&lt;BR /&gt;I am looking for what I can tell the DBA to do differently in his config files so the appropriate library gets included in the link phase so these things can be found.&lt;BR /&gt;Oracle has been very little help with this. They most recently asked for the value of maxdsiz and maxssiz system parameters. Like that could have any effect on resolving symbols during the link phase.&lt;BR /&gt;The real frustrating part of this is, I had installed the eval package in January, and the DBA was able to link the modules for one of our development instances. I then removed it as it is eval and having found the linker bundle. We are just now getting around to testing the linker bundle, now neither one allows them to link the modules.&lt;BR /&gt;Please keep the questions/suggestions coming.&lt;BR /&gt;Thanks,&lt;BR /&gt;-Dave</description>
      <pubDate>Fri, 16 Apr 2010 13:31:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235300#M659271</guid>
      <dc:creator>Dave Johnson_1</dc:creator>
      <dc:date>2010-04-16T13:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: List symbols in a library file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235301#M659272</link>
      <description>&amp;gt;just relinking/compiling Oracle shipped standard modules.&lt;BR /&gt;&lt;BR /&gt;What product?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I later found out HP had created a linker only bundle HP-ACC-Link aCC_Link Bundle&lt;BR /&gt;&lt;BR /&gt;Yes, I developed it.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;The DBA is getting the same unsatisfied symbol error no matter which one we have installed on either rp3440 server.&lt;BR /&gt;&lt;BR /&gt;As I asked above, can you add -v to the link line and provide the output.&lt;BR /&gt;One strange thing about your output, some symbols are demangled correctly and others aren't??&lt;BR /&gt;&lt;BR /&gt;&amp;gt;so the appropriate library gets included in the link phase so these things can be found.&lt;BR /&gt;&lt;BR /&gt;I need to see the existing link line with the cats evaluated.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I then removed it as it is eval and having found the linker bundle.&lt;BR /&gt;&lt;BR /&gt;You will have to replace that "aCC" by aCC_link.</description>
      <pubDate>Sat, 17 Apr 2010 00:34:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235301#M659272</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-04-17T00:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: List symbols in a library file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235302#M659273</link>
      <description>Dennis,&lt;BR /&gt;I will be uninstalling the eval compiler then reinstall the link bundle and have the DBA give it a try with the -v option on the command line, then update this with the result.&lt;BR /&gt;Thanks,&lt;BR /&gt;-Dave</description>
      <pubDate>Mon, 19 Apr 2010 12:38:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235302#M659273</guid>
      <dc:creator>Dave Johnson_1</dc:creator>
      <dc:date>2010-04-19T12:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: List symbols in a library file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235303#M659274</link>
      <description>&amp;gt;have the DBA give it a try with the -v option on the command line&lt;BR /&gt;&lt;BR /&gt;If it is faster you can try adding -v to what you already have.&lt;BR /&gt;&lt;BR /&gt;Is this related to your previous thread?&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1405270" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1405270&lt;/A&gt;</description>
      <pubDate>Tue, 20 Apr 2010 04:38:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235303#M659274</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-04-20T04:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: List symbols in a library file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235304#M659275</link>
      <description>Yes this thread is the same topic and problem as the one you listed.&lt;BR /&gt;The DBA is rather busy getting ready for an upgrade in production this weekend. He might not be able to test the linker until next week. I will update this thread with news when I have some.&lt;BR /&gt;Thanks,&lt;BR /&gt;-Dave</description>
      <pubDate>Tue, 20 Apr 2010 12:18:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235304#M659275</guid>
      <dc:creator>Dave Johnson_1</dc:creator>
      <dc:date>2010-04-20T12:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: List symbols in a library file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235305#M659276</link>
      <description>The DBA had some time to try this out. Here is an excerpt from adrelink.lsv after the run.&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Apr 2010 16:57:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235305#M659276</guid>
      <dc:creator>Dave Johnson_1</dc:creator>
      <dc:date>2010-04-20T16:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: List symbols in a library file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235306#M659277</link>
      <description>&amp;gt;Here is an excerpt from adrelink.lsv after the run.&lt;BR /&gt;&lt;BR /&gt;As I suspected from the bogus demangling.  You have somehow illegally defined aCC to be g++.&lt;BR /&gt;&lt;BR /&gt;You need to hunt down and remove all symlinks (or aliases?) with aCC:&lt;BR /&gt;whence aCC&lt;BR /&gt;&lt;BR /&gt;If you need a symlink, it should be to aCC_link.</description>
      <pubDate>Wed, 21 Apr 2010 01:02:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235306#M659277</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-04-21T01:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: List symbols in a library file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235307#M659278</link>
      <description>Illegally??? Really????&lt;BR /&gt;I removed the link to gcc and replaced it with a link to aCC_link as requested. The DBA ran the link again and it worked just fine. It would appear to have fixed the problem.&lt;BR /&gt;Thanks,&lt;BR /&gt;-Dave</description>
      <pubDate>Wed, 21 Apr 2010 12:38:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235307#M659278</guid>
      <dc:creator>Dave Johnson_1</dc:creator>
      <dc:date>2010-04-21T12:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: List symbols in a library file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235308#M659279</link>
      <description>Dennis,&lt;BR /&gt;I am planning to apply patches to a IA-64 server running 11.23. Oracle has spec'd patches to the C compiler. I assume that they really mean the linker just like above. Can you tell me what the patch number is for the run time for 11.23 on IA-64?</description>
      <pubDate>Tue, 19 Oct 2010 18:52:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235308#M659279</guid>
      <dc:creator>Dave Johnson_1</dc:creator>
      <dc:date>2010-10-19T18:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: List symbols in a library file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235309#M659280</link>
      <description>&amp;gt;Oracle has spec'd patches to the C compiler. I assume that they really mean the linker just like above. Can you tell me what the patch number is for the runtime for 11.23 on IA-64?&lt;BR /&gt;&lt;BR /&gt;I doubt it is for the runtime.  They quite often ask you to install patches to non-existent C compiler versions or old versions.&lt;BR /&gt;&lt;BR /&gt;For a list of aC++ 11.23 patches, you can look here:&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=8b080f1bace021100f1bace02110275d6e10RCRD#b11.23" target="_blank"&gt;http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=8b080f1bace021100f1bace02110275d6e10RCRD#b11.23&lt;/A&gt;</description>
      <pubDate>Tue, 19 Oct 2010 22:46:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235309#M659280</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-10-19T22:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: List symbols in a library file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235310#M659281</link>
      <description>We do not have any C compiler other than the one that comes with every UNIX install. We needed to link some of the apps and Oracle told us to install the full C compiler (the trial and just not uninstall it when we were done. You provided the patch for aCC_link that resolved the linking issues for us.&lt;BR /&gt;Once again they are telling us for the DB upgrade we need to patch our C compiler, but we do not have one. I assume there is an aCC_link patch that will give us what we need when we install the upgrade. We do not have any need for the C compiler other than the Oracle install process.&lt;BR /&gt;We have not tried the install yet, I am trying to be proactive on this.</description>
      <pubDate>Wed, 20 Oct 2010 12:41:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235310#M659281</guid>
      <dc:creator>Dave Johnson_1</dc:creator>
      <dc:date>2010-10-20T12:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: List symbols in a library file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235311#M659282</link>
      <description>Hi Dave:&lt;BR /&gt;&lt;BR /&gt;I think you want the 'HP-ACC-Link' bundle which should be available on the Application DVD.  This obviates the need (stated by Oracle) for a full, aCC compiler ($).&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 20 Oct 2010 12:59:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235311#M659282</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-10-20T12:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: List symbols in a library file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235312#M659283</link>
      <description>That is exactly what I was looking for. It happened to be on DVD #2 of 2, or part number 5013-8853, HP-UX 11i V2 Application Software September 2008.&lt;BR /&gt;Many thanks to Dennis and James,&lt;BR /&gt;-Dave</description>
      <pubDate>Wed, 20 Oct 2010 13:17:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-symbols-in-a-library-file/m-p/5235312#M659283</guid>
      <dc:creator>Dave Johnson_1</dc:creator>
      <dc:date>2010-10-20T13:17:21Z</dc:date>
    </item>
  </channel>
</rss>

