<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to Install and Run Multiple glibc Libraries in Linux	</title>
	<atom:link href="https://www.tecmint.com/install-multiple-glibc-libraries-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/install-multiple-glibc-libraries-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Fri, 08 Nov 2024 21:49:58 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Anthony		</title>
		<link>https://www.tecmint.com/install-multiple-glibc-libraries-linux/comment-page-1/#comment-2239289</link>

		<dc:creator><![CDATA[Anthony]]></dc:creator>
		<pubDate>Fri, 08 Nov 2024 21:49:58 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=52013#comment-2239289</guid>

					<description><![CDATA[You need to run the following command:
&lt;pre&gt;
touch /usr/local/glibc-2.39/etc/ld.so.conf
&lt;/pre&gt;
(Same for version 2.38) before running the &lt;code&gt;make install&lt;/code&gt; command.

If you don&#039;t, the process will fail with the following error:
&lt;pre&gt;
/usr/local/glibc-2.39/lib /usr/local/glibc-2.39/lib
/tmp/glibc-2.39/build/elf/ldconfig: Can&#039;t open configuration file /usr/local/glibc-2.39/etc/ld.so.conf: No such file or directory
&lt;/pre&gt;
]]></description>
			<content:encoded><![CDATA[<p>You need to run the following command:</p>
<pre>
touch /usr/local/glibc-2.39/etc/ld.so.conf
</pre>
<p>(Same for version 2.38) before running the <code>make install</code> command.</p>
<p>If you don&#8217;t, the process will fail with the following error:</p>
<pre>
/usr/local/glibc-2.39/lib /usr/local/glibc-2.39/lib
/tmp/glibc-2.39/build/elf/ldconfig: Can't open configuration file /usr/local/glibc-2.39/etc/ld.so.conf: No such file or directory
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/install-multiple-glibc-libraries-linux/comment-page-1/#comment-2199863</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Thu, 08 Aug 2024 02:30:06 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=52013#comment-2199863</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/install-multiple-glibc-libraries-linux/comment-page-1/#comment-2199529&quot;&gt;Stefano Cacciatore&lt;/a&gt;.

@Stefano,

This could be due to compatibility issues between the versions of &lt;strong&gt;glibc&lt;/strong&gt; and your &lt;strong&gt;Python&lt;/strong&gt; installation.

Verify that the version of &lt;strong&gt;ld-linux-x86-64.so.2&lt;/strong&gt; you are using is compatible with your installed glibc versions in the same directory.
&lt;pre&gt;
ls /usr/local/glibc-2.38/lib/ld-linux-x86-64.so.2
&lt;/pre&gt;
You can try setting the &lt;code&gt;LD_LIBRARY_PATH&lt;/code&gt; to include the &lt;strong&gt;glibc&lt;/strong&gt; library path before running the &lt;strong&gt;pip install&lt;/strong&gt; command.
&lt;pre&gt;
export LD_LIBRARY_PATH=/usr/local/glibc-2.38/lib:$LD_LIBRARY_PATH
/opt/python/${PYTHON_VERSION}/bin/pip install ipykernel
&lt;/pre&gt;
Another approach is to create a symbolic link to the required version of &lt;strong&gt;ld-linux-x86-64.so.2&lt;/strong&gt; in the directory where your &lt;strong&gt;ld-2.30.so&lt;/strong&gt; is expected.
&lt;pre&gt;
ln -s /usr/local/glibc-2.38/lib/ld-linux-x86-64.so.2 /usr/local/glibc-2.38/lib/ld-2.30.so
&lt;/pre&gt;
If the segmentation fault persists, you may want to debug it using &lt;strong&gt;gdb&lt;/strong&gt;.
&lt;pre&gt;
gdb --args /opt/python/${PYTHON_VERSION}/bin/python -m pip install ipykernel
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/install-multiple-glibc-libraries-linux/comment-page-1/#comment-2199529">Stefano Cacciatore</a>.</p>
<p>@Stefano,</p>
<p>This could be due to compatibility issues between the versions of <strong>glibc</strong> and your <strong>Python</strong> installation.</p>
<p>Verify that the version of <strong>ld-linux-x86-64.so.2</strong> you are using is compatible with your installed glibc versions in the same directory.</p>
<pre>
ls /usr/local/glibc-2.38/lib/ld-linux-x86-64.so.2
</pre>
<p>You can try setting the <code>LD_LIBRARY_PATH</code> to include the <strong>glibc</strong> library path before running the <strong>pip install</strong> command.</p>
<pre>
export LD_LIBRARY_PATH=/usr/local/glibc-2.38/lib:$LD_LIBRARY_PATH
/opt/python/${PYTHON_VERSION}/bin/pip install ipykernel
</pre>
<p>Another approach is to create a symbolic link to the required version of <strong>ld-linux-x86-64.so.2</strong> in the directory where your <strong>ld-2.30.so</strong> is expected.</p>
<pre>
ln -s /usr/local/glibc-2.38/lib/ld-linux-x86-64.so.2 /usr/local/glibc-2.38/lib/ld-2.30.so
</pre>
<p>If the segmentation fault persists, you may want to debug it using <strong>gdb</strong>.</p>
<pre>
gdb --args /opt/python/${PYTHON_VERSION}/bin/python -m pip install ipykernel
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Stefano Cacciatore		</title>
		<link>https://www.tecmint.com/install-multiple-glibc-libraries-linux/comment-page-1/#comment-2199529</link>

		<dc:creator><![CDATA[Stefano Cacciatore]]></dc:creator>
		<pubDate>Wed, 07 Aug 2024 08:45:14 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=52013#comment-2199529</guid>

					<description><![CDATA[Hi,

I followed the script and was able to install both &lt;strong&gt;glibc-2.39&lt;/strong&gt; and &lt;strong&gt;glibc-2.38&lt;/strong&gt;, but I do not have the file &lt;strong&gt;ld-2.30.so&lt;/strong&gt;. 

I tried to use the code with the file &lt;strong&gt;ld-linux-x86-64.so.2&lt;/strong&gt;, but it failed.
&lt;pre&gt;
LD_PRELOAD=/usr/local/glibc-2.38/lib/ld-linux-x86-64.so.2 /opt/python/${PYTHON_VERSION}/bin/pip install ipykernel
&lt;/pre&gt;
Segmentation fault (core dumped)]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>I followed the script and was able to install both <strong>glibc-2.39</strong> and <strong>glibc-2.38</strong>, but I do not have the file <strong>ld-2.30.so</strong>. </p>
<p>I tried to use the code with the file <strong>ld-linux-x86-64.so.2</strong>, but it failed.</p>
<pre>
LD_PRELOAD=/usr/local/glibc-2.38/lib/ld-linux-x86-64.so.2 /opt/python/${PYTHON_VERSION}/bin/pip install ipykernel
</pre>
<p>Segmentation fault (core dumped)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jalal Hajigholamali		</title>
		<link>https://www.tecmint.com/install-multiple-glibc-libraries-linux/comment-page-1/#comment-2188254</link>

		<dc:creator><![CDATA[Jalal Hajigholamali]]></dc:creator>
		<pubDate>Mon, 08 Jul 2024 08:58:17 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=52013#comment-2188254</guid>

					<description><![CDATA[Hi,
Thanks a lot
very useful article]]></description>
			<content:encoded><![CDATA[<p>Hi,<br />
Thanks a lot<br />
very useful article</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
