<?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 Wht is the difference between /lib &amp;amp; /lib/tls in Redhat Enterprise server 3.0 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/wht-is-the-difference-between-lib-amp-lib-tls-in-redhat/m-p/3422646#M14939</link>
    <description>Hi ,&lt;BR /&gt;&lt;BR /&gt; I am new to Linux. I have one question regarding the libraries.In Redhat Enterprise Server 3.0 there are two directories for the libraries one is /lib &amp;amp; the other is /lib/tls.When I try to use libc by default it takes me to /lib/tls.libc-x.xx.x file but I want to use /lib/libc-x.xx.x file.. I did'nt get it wht is this /lib/tls folder for &amp;amp; why are there two instance of the same file in these two locations plus size wise also they differ..</description>
    <pubDate>Mon, 15 Nov 2004 23:43:51 GMT</pubDate>
    <dc:creator>Rajan_sa</dc:creator>
    <dc:date>2004-11-15T23:43:51Z</dc:date>
    <item>
      <title>Wht is the difference between /lib &amp; /lib/tls in Redhat Enterprise server 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/wht-is-the-difference-between-lib-amp-lib-tls-in-redhat/m-p/3422646#M14939</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt; I am new to Linux. I have one question regarding the libraries.In Redhat Enterprise Server 3.0 there are two directories for the libraries one is /lib &amp;amp; the other is /lib/tls.When I try to use libc by default it takes me to /lib/tls.libc-x.xx.x file but I want to use /lib/libc-x.xx.x file.. I did'nt get it wht is this /lib/tls folder for &amp;amp; why are there two instance of the same file in these two locations plus size wise also they differ..</description>
      <pubDate>Mon, 15 Nov 2004 23:43:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/wht-is-the-difference-between-lib-amp-lib-tls-in-redhat/m-p/3422646#M14939</guid>
      <dc:creator>Rajan_sa</dc:creator>
      <dc:date>2004-11-15T23:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Wht is the difference between /lib &amp; /lib/tls in Redhat Enterprise server 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/wht-is-the-difference-between-lib-amp-lib-tls-in-redhat/m-p/3422647#M14940</link>
      <description>Libraries in /lib/tls are new NPTL POSIX thread libraries. By default, programs are linked with libc in /lib/tls. To change this you have to set LD_ASSUME_KERNEL variable.&lt;BR /&gt;&lt;BR /&gt;$ export LD_ASSUME_KERNEL=2.2.5&lt;BR /&gt;$ ldd /bin/ls | grep libc&lt;BR /&gt;libc.so.6 =&amp;gt; /lib/libc.so.6 (0xf6eb6000)&lt;BR /&gt;&lt;BR /&gt;To find out version number to use with LD_ASSUME_KERNEL you can run eu-readelf on libc library (eu-readelf is in elfutils package). &lt;BR /&gt;&lt;BR /&gt;$ /usr/bin/eu-readelf -n /lib/libc-2.3.3.so&lt;BR /&gt;&lt;BR /&gt;Note segment of 32 bytes at offset 0x154:&lt;BR /&gt;  Owner          Data size  Type&lt;BR /&gt;  GNU                   16  VERSION&lt;BR /&gt;    OS: Linux, ABI: 2.2.5&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Nov 2004 19:57:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/wht-is-the-difference-between-lib-amp-lib-tls-in-redhat/m-p/3422647#M14940</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2004-11-16T19:57:52Z</dc:date>
    </item>
  </channel>
</rss>

