<?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: HP-UX PA libCsup.2 problem in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867652#M98653</link>
    <description>&lt;P&gt;&amp;gt;when dlopen library A which uses the __shlTerm, dlopen failed&lt;BR /&gt;&lt;BR /&gt;Now you need to answer the question implied by:&amp;nbsp; &amp;nbsp; This is only correct if you have a aC++ executable.&lt;/P&gt;&lt;P&gt;And what are your dlopen parms?&lt;BR /&gt;&lt;BR /&gt;If this is a C executable, you need to follow the directions on:&lt;BR /&gt;&lt;A target="_blank" href="http://www.docs.hp.com/en/7762/5991-4874/distributing.htm#linking"&gt;http://www.docs.hp.com/en/7762/5991-4874/distributing.htm#linking&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 29 Oct 2011 08:57:36 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2011-10-29T08:57:36Z</dc:date>
    <item>
      <title>HPUX-pa libCsup.2 problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867645#M98646</link>
      <description>Hi,&lt;BR /&gt;  I HPUX-pa software developer with NCR. Currently we are having an issue with unresolved symbol in our 64bit library during run time. The unresolved symbol is __ShlTerm. The truss ouput shows that &lt;BR /&gt;/usr/lib/pa20_64/libCsup.2 is opened and mapped, and nm shows that __shlTerm is defined there.&lt;BR /&gt;Then these facts are true, what could be other factors causing __shlTerm not resolved?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;fs185009@ncr.com</description>
      <pubDate>Thu, 21 Sep 2006 21:25:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867645#M98646</guid>
      <dc:creator>Fei Shen</dc:creator>
      <dc:date>2006-09-21T21:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX PA libCsup.2 problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867646#M98647</link>
      <description>&lt;P&gt;__shlTerm (not __ShlTerm) is exported from libCsup.2 so you should not be getting this unsat, provided you include libCsup.2 on your link line. Were there any other errors?&lt;/P&gt;</description>
      <pubDate>Sat, 29 Oct 2011 08:55:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867646#M98647</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-29T08:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX-pa libCsup.2 problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867647#M98648</link>
      <description>the library built by aC++, there is no need to supply -lCsup. The same library works on other sysetem correctly resolving the symbol.</description>
      <pubDate>Mon, 25 Sep 2006 19:10:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867647#M98648</guid>
      <dc:creator>Fei Shen</dc:creator>
      <dc:date>2006-09-25T19:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX PA libCsup.2 problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867648#M98649</link>
      <description>&lt;P&gt;&amp;gt;the library built by aC++, there is no need to supply -lCsup.&lt;BR /&gt;&lt;BR /&gt;This is only correct if you have a aC++ executable.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Oct 2011 08:56:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867648#M98649</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-29T08:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX-pa libCsup.2 problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867649#M98650</link>
      <description>the linking was ok, because library did get built. The problematic system also has a libCsup.2 in /usr/lib/pa20_64, which has __shlTerm defined. Truss shows that libCsup.2 was mmap'ed. But our library complained that __shlTerm not resolved.</description>
      <pubDate>Mon, 25 Sep 2006 20:27:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867649#M98650</guid>
      <dc:creator>Fei Shen</dc:creator>
      <dc:date>2006-09-25T20:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX PA libCsup.2 problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867650#M98651</link>
      <description>&lt;P&gt;&amp;gt;the linking was ok, because library did get built.&lt;BR /&gt;&lt;BR /&gt;Since you don't usually get unsat errors when building shlibs, this is meaningless.&lt;BR /&gt;&lt;BR /&gt;Can you explain when you are getting the error? At load or runtime? The latter means shl_load or dlopen.&lt;BR /&gt;And what do the errors look like? And what linker patch do you have?&lt;/P&gt;</description>
      <pubDate>Sat, 29 Oct 2011 08:56:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867650#M98651</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-29T08:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX-pa libCsup.2 problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867651#M98652</link>
      <description>when dlopen library A which uses the __shlTerm, dlopen failed &lt;BR /&gt;&lt;BR /&gt; dlopen failed: Unsatisfied data symbol '__shlTerm' in load module A</description>
      <pubDate>Mon, 25 Sep 2006 21:48:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867651#M98652</guid>
      <dc:creator>Fei Shen</dc:creator>
      <dc:date>2006-09-25T21:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX PA libCsup.2 problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867652#M98653</link>
      <description>&lt;P&gt;&amp;gt;when dlopen library A which uses the __shlTerm, dlopen failed&lt;BR /&gt;&lt;BR /&gt;Now you need to answer the question implied by:&amp;nbsp; &amp;nbsp; This is only correct if you have a aC++ executable.&lt;/P&gt;&lt;P&gt;And what are your dlopen parms?&lt;BR /&gt;&lt;BR /&gt;If this is a C executable, you need to follow the directions on:&lt;BR /&gt;&lt;A target="_blank" href="http://www.docs.hp.com/en/7762/5991-4874/distributing.htm#linking"&gt;http://www.docs.hp.com/en/7762/5991-4874/distributing.htm#linking&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Oct 2011 08:57:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867652#M98653</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-29T08:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX-pa libCsup.2 problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867653#M98654</link>
      <description>Thanks.&lt;BR /&gt;&lt;BR /&gt;Did you mean if there is aC++ executables on the system that builds the library or the runtime system?&lt;BR /&gt;&lt;BR /&gt;The build system does have aCC executables and we use aCC to do the linking.&lt;BR /&gt;&lt;BR /&gt;For the runtime system, I dont know if there is a aCC or aC++.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Sep 2006 12:56:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867653#M98654</guid>
      <dc:creator>Fei Shen</dc:creator>
      <dc:date>2006-09-26T12:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX PA libCsup.2 problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867654#M98655</link>
      <description>&lt;P&gt;&amp;gt;Did you mean if there is aC++ executables&lt;BR /&gt;&lt;BR /&gt;No. I meant what type of application is doing the dlopen. Is it C or aC++?&lt;BR /&gt;(Also, what linker patch do you have installed?)&lt;/P&gt;</description>
      <pubDate>Sat, 29 Oct 2011 08:58:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867654#M98655</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-29T08:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX-pa libCsup.2 problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867655#M98656</link>
      <description>The call sequence is as follows&lt;BR /&gt;customer application calls our C library and the C library dlopen the C++ library. The C++ library uses __shlTerm.&lt;BR /&gt;&lt;BR /&gt;Our C library is built with -lCsup by cc. C++ library is built by aCC without -lCsup. &lt;BR /&gt;&lt;BR /&gt;Now sure what customer application is written in.&lt;BR /&gt;&lt;BR /&gt;The dlopen param is &lt;BR /&gt;&lt;BR /&gt; dlopen(C++ library name, RTLD_GLOBAL | RTLD_LAZY);&lt;BR /&gt;&lt;BR /&gt;Not sure about the patch level of aCC, how do I find out?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Tue, 26 Sep 2006 19:02:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867655#M98656</guid>
      <dc:creator>Fei Shen</dc:creator>
      <dc:date>2006-09-26T19:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX PA libCsup.2 problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867656#M98657</link>
      <description>&lt;P&gt;&amp;gt;customer application calls our C library and the C library dlopen the C++ library. Our C library is built with -lCsup by cc. C++ library is built by aCC without -lCsup.&lt;BR /&gt;&lt;BR /&gt;While this is not what we recommend, it should work.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Now sure what customer application is written in.&lt;BR /&gt;&lt;BR /&gt;It probably doesn't matter if your lib has libCsup. Do you also have libstream and libstd on your lib?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Not sure about the patch level of aCC, how do I find out?&lt;BR /&gt;&lt;BR /&gt;I was asking about linker versions.&lt;BR /&gt;&lt;BR /&gt;To find the patch, you need to use swlist:&lt;BR /&gt;/usr/sbin/swlist -l product | fgrep -i -e aC++ -e linker&lt;BR /&gt;&lt;BR /&gt;A what(1) on the shlibs would also give you a version.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Oct 2011 08:59:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hpux-pa-libcsup-2-problem/m-p/3867656#M98657</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-29T08:59:18Z</dc:date>
    </item>
  </channel>
</rss>

