<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Times New Roman \(Body CS\)";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Courier New";
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">Hi All,</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">We want to use specific downloaded openssl while compiling the DPDKv21.11.</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">We don’t want to use the openssl installed in the build machine.</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New""> </span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">We tried adding -Dc_args and -Dc_link_args to meson configure to specify the director of external openssl but build still seems to be linking to installed verson of the open ssl.</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Courier New"">DPDK Build Command:<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">meson setup build</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">meson configure -Dc_args="-I /thirdparty/gobuild/compcache/cayman_openssl/ob-20569149/linux64/lin64+gcc6/include" -Dc_link_args="-L thirdparty/gobuild/compcache/cayman_openssl/ob-20569149/linux64/lin64+gcc6/lib64/"</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">ninja -C build</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New""> </span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New""> </span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">ldd ./dpdk/build/drivers/librte_common_qat.so</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">        linux-vdso.so.1 (0x00007ffceffea000)</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe7d445b000)</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe7d4455000)</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">        libnuma.so.1 => /lib/x86_64-linux-gnu/libnuma.so.1 (0x00007fe7d4448000)</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">        librte_bus_pci.so.22 => /root/nsx-edge-datapath-dpdk-21-11/thirdparty/./dpdk/build/drivers/librte_bus_pci.so.22 (0x00007fe7d4438000)</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">        librte_eal.so.22 => /root/nsx-edge-datapath-dpdk-21-11/thirdparty/./dpdk/build/drivers/../lib/librte_eal.so.22 (0x00007fe7d432d000)</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">       librte_kvargs.so.22 => /root/nsx-edge-datapath-dpdk-21-11/thirdparty/./dpdk/build/drivers/../lib/librte_kvargs.so.22 (0x00007fe7d4326000)</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">        librte_telemetry.so.22 => /root/nsx-edge-datapath-dpdk-21-11/thirdparty/./dpdk/build/drivers/../lib/librte_telemetry.so.22 (0x00007fe7d431b000)</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">        librte_pci.so.22 => /root/nsx-edge-datapath-dpdk-21-11/thirdparty/./dpdk/build/drivers/../lib/librte_pci.so.22 (0x00007fe7d4316000)</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">        librte_cryptodev.so.22 => /root/nsx-edge-datapath-dpdk-21-11/thirdparty/./dpdk/build/drivers/../lib/librte_cryptodev.so.22 (0x00007fe7d42fa000)</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">        librte_mbuf.so.22 => /root/nsx-edge-datapath-dpdk-21-11/thirdparty/./dpdk/build/drivers/../lib/librte_mbuf.so.22 (0x00007fe7d42ec000)</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">        librte_mempool.so.22 => /root/nsx-edge-datapath-dpdk-21-11/thirdparty/./dpdk/build/drivers/../lib/librte_mempool.so.22 (0x00007fe7d42dd000)</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">        librte_ring.so.22 => /root/nsx-edge-datapath-dpdk-21-11/thirdparty/./dpdk/build/drivers/../lib/librte_ring.so.22 (0x00007fe7d42d8000)</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">        librte_rcu.so.22 => /root/nsx-edge-datapath-dpdk-21-11/thirdparty/./dpdk/build/drivers/../lib/librte_rcu.so.22 (0x00007fe7d42d1000)</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">        librte_net.so.22 => /root/nsx-edge-datapath-dpdk-21-11/thirdparty/./dpdk/build/drivers/../lib/librte_net.so.22 (0x00007fe7d42c7000)</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">        librte_compressdev.so.22 => /root/nsx-edge-datapath-dpdk-21-11/thirdparty/./dpdk/build/drivers/../lib/librte_compressdev.so.22 (0x00007fe7d42bd000)</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">        librte_security.so.22 => /root/nsx-edge-datapath-dpdk-21-11/thirdparty/./dpdk/build/drivers/../lib/librte_security.so.22 (0x00007fe7d42b4000)</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">       
<span style="background:yellow;mso-highlight:yellow">libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007fe7d3df4000)</span> <<< This is the installed version of the openssl not the external version
</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe7d3dd1000)</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe7d3bdf000)</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">        /lib64/ld-linux-x86-64.so.2 (0x00007fe7d45f3000)</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New""> </span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">Please suggest how do we achieve this in meson/ninja?</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New""> </span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">Thanks,</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">Pankaj</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
</div>
</body>
</html>