<?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: bash 2.05 core dumps in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/bash-2-05-core-dumps/m-p/2738615#M67159</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;see a lot of these&lt;BR /&gt;&lt;BR /&gt;Get&lt;BR /&gt;&lt;BR /&gt;Patch Name: PHSS_26262&lt;BR /&gt;&lt;BR /&gt;Patch Description: s700_800 11.00 ld(1) and linker tools cumulative patch&lt;BR /&gt;&lt;BR /&gt;Creation Date: 02/04/12&lt;BR /&gt;&lt;BR /&gt;Post Date:  02/04/18&lt;BR /&gt;&lt;BR /&gt;Hardware Platforms - OS Releases:&lt;BR /&gt; s700: 11.00&lt;BR /&gt; s800: 11.00&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;use LD_PRELOAD functionality&lt;BR /&gt;&lt;BR /&gt;See man dld.sl after patch loaded&lt;BR /&gt;&lt;BR /&gt;You can use the LD_PRELOAD environment variable to load a shared library&lt;BR /&gt;that contains thread-local storage to avoid the following error when loading&lt;BR /&gt;the library dynamically:&lt;BR /&gt;&lt;BR /&gt; /usr/lib/dld.sl: Can't shl_load() a library containing Thread Local&lt;BR /&gt;Storage: /usr/lib/libpthread.1&lt;BR /&gt;The load order and symbol resolution order may be different in a PA32&lt;BR /&gt;program than in the same PA64 program because the dynamic loader uses&lt;BR /&gt;depth-first search order in PA32 mode and breadth-first search order in PA64&lt;BR /&gt;mode.&lt;BR /&gt;The dynamic loader uses the LD_PRELOAD environment variable even if you use&lt;BR /&gt;the +noenvvar in the link line. This insures that LD_PRELOAD is enabled even&lt;BR /&gt;in a +compat link. The LD_PRELOAD variable is always enabled except for&lt;BR /&gt;setuid and setgid programs.&lt;BR /&gt;&lt;BR /&gt;Note: Using LD_PRELOAD can cause a core dump when used with applications&lt;BR /&gt;which mix shared and archived libraries, especially when both the shared&lt;BR /&gt;library and the application are built with aC++ or use libc.&lt;BR /&gt;&lt;BR /&gt;You can specify multiple libraries as part of the LD_PRELOAD environment&lt;BR /&gt;variable. Separate the libraries by spaces or colons as in LD_LIBRARY_PATH.&lt;BR /&gt;(Multi-byte support is not provided as part of parsing the LD_PRELOAD&lt;BR /&gt;library list). You can specify LD_PRELOAD libraries with absolute paths or&lt;BR /&gt;relative paths. The LD_PRELOAD libraries can also consist of just the&lt;BR /&gt;library names, in which case the dynamic loader uses the directory path list&lt;BR /&gt;in the environment variables LD_LIBRARY_PATH and/or SHLIB_PATH or the&lt;BR /&gt;embedded path list (if enabled) to search for the libraries.&lt;BR /&gt;&lt;BR /&gt;The dynamic loader does not issue an error or warning message if it cannot&lt;BR /&gt;find a library specified by LD_PRELOAD. However, if it does not find a&lt;BR /&gt;dependent of the LD_PRELOAD libraries, the dynamic loader issues the same&lt;BR /&gt;error message as if the LD_PRELOAD library is specified in the link line.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                steve Steel</description>
    <pubDate>Thu, 06 Jun 2002 08:06:11 GMT</pubDate>
    <dc:creator>Steve Steel</dc:creator>
    <dc:date>2002-06-06T08:06:11Z</dc:date>
    <item>
      <title>bash 2.05 core dumps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bash-2-05-core-dumps/m-p/2738612#M67156</link>
      <description>bash 2.05(a) core dumps on hp-ux 11 with:&lt;BR /&gt;/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/../../../libintl.sl&lt;BR /&gt;I also installed gcc but can't find libintl.sl. Up to bash 2.04 everything worked fine. Any ideas?</description>
      <pubDate>Wed, 05 Jun 2002 18:42:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bash-2-05-core-dumps/m-p/2738612#M67156</guid>
      <dc:creator>Thomas_4</dc:creator>
      <dc:date>2002-06-05T18:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: bash 2.05 core dumps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bash-2-05-core-dumps/m-p/2738613#M67157</link>
      <description>Did you get any errors during the installation? It appears you are missing a shared library. You might want to re-install and monitor carefully for errors.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Marty</description>
      <pubDate>Wed, 05 Jun 2002 18:57:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bash-2-05-core-dumps/m-p/2738613#M67157</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-06-05T18:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: bash 2.05 core dumps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bash-2-05-core-dumps/m-p/2738614#M67158</link>
      <description>Installation of bash and gcc didn't show any errors. What really surprises me is the dependency of bash on a shared library in gcc (which is missing).</description>
      <pubDate>Thu, 06 Jun 2002 06:39:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bash-2-05-core-dumps/m-p/2738614#M67158</guid>
      <dc:creator>Thomas_4</dc:creator>
      <dc:date>2002-06-06T06:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: bash 2.05 core dumps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bash-2-05-core-dumps/m-p/2738615#M67159</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;see a lot of these&lt;BR /&gt;&lt;BR /&gt;Get&lt;BR /&gt;&lt;BR /&gt;Patch Name: PHSS_26262&lt;BR /&gt;&lt;BR /&gt;Patch Description: s700_800 11.00 ld(1) and linker tools cumulative patch&lt;BR /&gt;&lt;BR /&gt;Creation Date: 02/04/12&lt;BR /&gt;&lt;BR /&gt;Post Date:  02/04/18&lt;BR /&gt;&lt;BR /&gt;Hardware Platforms - OS Releases:&lt;BR /&gt; s700: 11.00&lt;BR /&gt; s800: 11.00&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;use LD_PRELOAD functionality&lt;BR /&gt;&lt;BR /&gt;See man dld.sl after patch loaded&lt;BR /&gt;&lt;BR /&gt;You can use the LD_PRELOAD environment variable to load a shared library&lt;BR /&gt;that contains thread-local storage to avoid the following error when loading&lt;BR /&gt;the library dynamically:&lt;BR /&gt;&lt;BR /&gt; /usr/lib/dld.sl: Can't shl_load() a library containing Thread Local&lt;BR /&gt;Storage: /usr/lib/libpthread.1&lt;BR /&gt;The load order and symbol resolution order may be different in a PA32&lt;BR /&gt;program than in the same PA64 program because the dynamic loader uses&lt;BR /&gt;depth-first search order in PA32 mode and breadth-first search order in PA64&lt;BR /&gt;mode.&lt;BR /&gt;The dynamic loader uses the LD_PRELOAD environment variable even if you use&lt;BR /&gt;the +noenvvar in the link line. This insures that LD_PRELOAD is enabled even&lt;BR /&gt;in a +compat link. The LD_PRELOAD variable is always enabled except for&lt;BR /&gt;setuid and setgid programs.&lt;BR /&gt;&lt;BR /&gt;Note: Using LD_PRELOAD can cause a core dump when used with applications&lt;BR /&gt;which mix shared and archived libraries, especially when both the shared&lt;BR /&gt;library and the application are built with aC++ or use libc.&lt;BR /&gt;&lt;BR /&gt;You can specify multiple libraries as part of the LD_PRELOAD environment&lt;BR /&gt;variable. Separate the libraries by spaces or colons as in LD_LIBRARY_PATH.&lt;BR /&gt;(Multi-byte support is not provided as part of parsing the LD_PRELOAD&lt;BR /&gt;library list). You can specify LD_PRELOAD libraries with absolute paths or&lt;BR /&gt;relative paths. The LD_PRELOAD libraries can also consist of just the&lt;BR /&gt;library names, in which case the dynamic loader uses the directory path list&lt;BR /&gt;in the environment variables LD_LIBRARY_PATH and/or SHLIB_PATH or the&lt;BR /&gt;embedded path list (if enabled) to search for the libraries.&lt;BR /&gt;&lt;BR /&gt;The dynamic loader does not issue an error or warning message if it cannot&lt;BR /&gt;find a library specified by LD_PRELOAD. However, if it does not find a&lt;BR /&gt;dependent of the LD_PRELOAD libraries, the dynamic loader issues the same&lt;BR /&gt;error message as if the LD_PRELOAD library is specified in the link line.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                steve Steel</description>
      <pubDate>Thu, 06 Jun 2002 08:06:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bash-2-05-core-dumps/m-p/2738615#M67159</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-06-06T08:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: bash 2.05 core dumps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bash-2-05-core-dumps/m-p/2738616#M67160</link>
      <description>Hi Steve and etc,&lt;BR /&gt;Sorry for the slightly (!) delayed response to this one.&lt;BR /&gt;&lt;BR /&gt;I don't think that patch 26262 (or its supercessor 26559)or LD_PRELOAD has anything to do with this particular case. I think what has to be done is to read the fine print.&lt;BR /&gt;&lt;BR /&gt;bash 2.05b has the following dependencies:&lt;BR /&gt;libiconv-1.8 and &lt;BR /&gt;gettext-0.11.5&lt;BR /&gt;&lt;BR /&gt;See link (&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Shells/bash-2.05b/)" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Shells/bash-2.05b/)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Both of these are available from &lt;A href="http://hpux.cs.utah.edu" target="_blank"&gt;http://hpux.cs.utah.edu&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;if you install them prior (or post) installing bash, you won't get the libintl.sl issue.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;borax</description>
      <pubDate>Fri, 22 Nov 2002 15:27:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bash-2-05-core-dumps/m-p/2738616#M67160</guid>
      <dc:creator>sunport</dc:creator>
      <dc:date>2002-11-22T15:27:18Z</dc:date>
    </item>
  </channel>
</rss>

