<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>compile &#8211; richliu&#039;s blog</title>
	<atom:link href="https://blog.richliu.com/tag/compile/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.richliu.com</link>
	<description>Linux, 工作, 生活, 家人</description>
	<lastBuildDate>Tue, 08 Nov 2022 07:25:53 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>
	<item>
		<title>multichase on Centos 8 Compile Issue</title>
		<link>https://blog.richliu.com/2022/11/08/4934/multichase-on-centos-8-compile-issue/</link>
					<comments>https://blog.richliu.com/2022/11/08/4934/multichase-on-centos-8-compile-issue/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Tue, 08 Nov 2022 07:25:53 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[arm64]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[static]]></category>
		<guid isPermaLink="false">https://blog.richliu.com/?p=4934</guid>

					<description><![CDATA[<p>muttichase is a google open source tool which can run l [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2022/11/08/4934/multichase-on-centos-8-compile-issue/">multichase on Centos 8 Compile Issue</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>muttichase is a google open source tool which can run latency, bandwidth and loader-latency tool,<br />it can support both x86 and ARM64 platforms. <br />but it will have compile error on CentOS 8 </p>



<p>root cause is this package needs static lib support, but regular CentOS doesn&#8217;t have it. </p>



<pre class="wp-block-preformatted"># make                                                                             cc -g -O3 -static -pthread  multichase.o permutation.o arena.o util.o  -lrt -lm -o multichase
/usr/bin/ld: cannot find -lrt                                                                                 /usr/bin/ld: cannot find -lm                                                                                  /usr/bin/ld: cannot find -lpthread
/usr/bin/ld: cannot find -lc                                                                                  collect2: error: ld returned 1 exit status                                                                    make: *** [&lt;builtin>: multichase] Error 1</pre>



<span id="more-4934"></span>



<p>Install necessary package and download the source code </p>



<pre class="wp-block-preformatted"># Install necessary package
yum install git
yum groupinstall "Development Tools"

# Download source code
git clone https://github.com/google/multichase

# Install epel
dnf config-manager --set-enabled powertools
dnf install epel-release epel-next-release

# Install static library 
yum install glibc-static</pre>



<p>ref.<br /><a href="https://docs.fedoraproject.org/en-US/epel/#_el8" target="_blank" rel="noreferrer noopener">Extra Packages for Enterprise Linux (EPEL)</a></p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2022/11/08/4934/multichase-on-centos-8-compile-issue/">multichase on Centos 8 Compile Issue</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2022/11/08/4934/multichase-on-centos-8-compile-issue/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
