<?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: using STL on HPUX in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/using-stl-on-hpux/m-p/4891869#M103071</link>
    <description>I can not comment on the error about "privately mapped shared library" But for this error - "/opt/graphics/OpenGL/lib/libogltls.sl" Does that shared library exists?? If yes, have you set SHLIB_PATH and/or LD_LIBRARY_PATH variables??</description>
    <pubDate>Fri, 18 Mar 2005 13:01:16 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2005-03-18T13:01:16Z</dc:date>
    <item>
      <title>using STL on HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-stl-on-hpux/m-p/4891868#M103070</link>
      <description>Hi there,&lt;BR /&gt;I am facing a problem regarding stl functions used by HPUX 11.11 g++ compiler 3.3.3.&lt;BR /&gt;consider following program. which is compiled as:g++ -o test -lstdc++ test.cpp&lt;BR /&gt;After execution on the other machine where it can resolve all the dependencies, it gives core on execution.&lt;BR /&gt;=========================================&lt;BR /&gt;#include&lt;IOSTREAM&gt;&lt;BR /&gt;#include&lt;STRING&gt;&lt;BR /&gt;&lt;BR /&gt;using namespace std;&lt;BR /&gt;&lt;BR /&gt;int main()&lt;BR /&gt;{&lt;BR /&gt;        string str("test");&lt;BR /&gt;&lt;BR /&gt;        cout &amp;lt;&amp;lt; "test string " &amp;lt;&amp;lt; str &amp;lt;&amp;lt; endl;&lt;BR /&gt;}&lt;BR /&gt;=========================================&lt;BR /&gt;ldd test&lt;BR /&gt;         =&amp;gt;&lt;BR /&gt;        /usr/lib/libc.2 =&amp;gt;      /usr/lib/libc.2&lt;BR /&gt;        /usr/lib/libdld.2 =&amp;gt;    /usr/lib/libdld.2&lt;BR /&gt;        /usr/lib/libc.2 =&amp;gt;      /usr/lib/libc.2&lt;BR /&gt;        /usr/local/lib/libstdc++.sl.5 =&amp;gt;        /usr/local/lib/libstdc++.sl.5&lt;BR /&gt;        /usr/lib/libc.2 =&amp;gt;      /usr/lib/libc.2&lt;BR /&gt;        /scratch/zack/pkgbuild/3.3.1/hpux-11/gcc-3.3.3-b/gcc/libgcc_s.sl =&amp;gt;     /usr/local/lib/libgcc_s.sl&lt;BR /&gt;        /usr/lib/libc.2 =&amp;gt;      /usr/lib/libc.2&lt;BR /&gt;        /usr/lib/libm.2 =&amp;gt;      /usr/lib/libm.2&lt;BR /&gt;===============================================&lt;BR /&gt;if i run the executable , core is dumped.. gdb output is as follows:&lt;BR /&gt;=======================================&lt;BR /&gt;gdb test core &lt;BR /&gt;HP gdb 3.3 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00.&lt;BR /&gt;Copyright 1986 - 2001 Free Software Foundation, Inc.&lt;BR /&gt;Hewlett-Packard Wildebeest 3.3 (based on GDB) is covered by the&lt;BR /&gt;GNU General Public License. Type "show copying" to see the conditions to&lt;BR /&gt;change it and/or distribute copies. Type "show warranty" for warranty/support.&lt;BR /&gt;..&lt;BR /&gt;Core was generated by `test'.&lt;BR /&gt;Program terminated with signal 11, Segmentation fault.&lt;BR /&gt;&lt;BR /&gt;warning: The shared libraries were not privately mapped; setting a&lt;BR /&gt;breakpoint in a shared library will not work until you rerun the program.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Can't find file /opt/graphics/OpenGL/lib/libogltls.sl referenced in dld&lt;BR /&gt;_list.&lt;BR /&gt;&lt;BR /&gt;/opt/graphics/OpenGL/lib/libogltls.sl: No such file or directory.&lt;BR /&gt;#0  0xc5c16500 in _ZNSo6sentryC1ERSo+0x20 () from /usr/local/lib/libstdc++.sl.5&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  0xc5c16500 in _ZNSo6sentryC1ERSo+0x20 () from /usr/local/lib/libstdc++.sl.5&lt;BR /&gt;#1  0xc5c16bec in _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc+0xec&lt;BR /&gt;    () from /usr/local/lib/libstdc++.sl.5&lt;BR /&gt;#2  0x35d8 in main+0x160 ()&lt;BR /&gt;(gdb) q  &lt;BR /&gt;=============================================&lt;BR /&gt;&lt;BR /&gt;Could you please pinpoint the problem here.&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;-Manish&lt;/STRING&gt;&lt;/IOSTREAM&gt;</description>
      <pubDate>Fri, 18 Mar 2005 12:27:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-stl-on-hpux/m-p/4891868#M103070</guid>
      <dc:creator>Manish Ansingkar</dc:creator>
      <dc:date>2005-03-18T12:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: using STL on HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-stl-on-hpux/m-p/4891869#M103071</link>
      <description>I can not comment on the error about "privately mapped shared library" But for this error - "/opt/graphics/OpenGL/lib/libogltls.sl" Does that shared library exists?? If yes, have you set SHLIB_PATH and/or LD_LIBRARY_PATH variables??</description>
      <pubDate>Fri, 18 Mar 2005 13:01:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-stl-on-hpux/m-p/4891869#M103071</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-03-18T13:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: using STL on HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-stl-on-hpux/m-p/4891870#M103072</link>
      <description>it was a issue of HP patch for ld.&lt;BR /&gt;Thanks for your time and help.&lt;BR /&gt;Manish</description>
      <pubDate>Wed, 14 Dec 2005 08:09:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-stl-on-hpux/m-p/4891870#M103072</guid>
      <dc:creator>Manish Ansingkar</dc:creator>
      <dc:date>2005-12-14T08:09:13Z</dc:date>
    </item>
  </channel>
</rss>

