<?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 lib path for ls1043ardb in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/lib-path-for-ls1043ardb/m-p/1749136#M13569</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using ls1043ardb, I want to compile my application program. I am following LSDKYOCTOUG.pdf , I want to know the lib path in the &lt;STRONG&gt;build_ls1043ardb&lt;/STRONG&gt;&amp;nbsp;folder. In my Makefile I want to mention the lib path&lt;/P&gt;&lt;P&gt;Please let me know&lt;/P&gt;&lt;P&gt;I have found the path at&amp;nbsp;&lt;STRONG&gt;build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-mfgtool/1.0-r0/recipe-sysroot/usr/lib&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;is this correct path?&amp;nbsp;&lt;/STRONG&gt;&lt;/U&gt;&lt;STRONG&gt; if No, &lt;FONT color="#FF0000"&gt;&lt;U&gt;Please tell me the correct path&lt;/U&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if I am using this path, while cross-compiling I am getting library linking error.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It is searching the libraries in /usr/lib path.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Or I am using wrong toolchain for cross-compiling&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;if the toolchain problem is there &lt;FONT color="#FF0000"&gt;please tell me which toolchain I should use&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please help me in solving the issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Following are the errors&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/opt/fsl-qoriq/3.1/sysroots/x86_64-fslsdk-linux/usr/libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/9.3.0/real-ld: &lt;FONT color="#FF0000"&gt;cannot find /usr/lib/libc.so.6&lt;/FONT&gt;&lt;BR /&gt;/opt/fsl-qoriq/3.1/sysroots/x86_64-fslsdk-linux/usr/libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/9.3.0/real-ld: &lt;FONT color="#FF0000"&gt;cannot find /usr/lib/libc_nonshared.a&lt;/FONT&gt;&lt;BR /&gt;/opt/fsl-qoriq/3.1/sysroots/x86_64-fslsdk-linux/usr/libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/9.3.0/real-ld: &lt;FONT color="#FF0000"&gt;cannot find /usr/lib/ld-linux-aarch64.so.1&lt;/FONT&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;I am using net-snmp in my application code&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 31 Oct 2023 04:28:26 GMT</pubDate>
    <dc:creator>dibyarekha</dc:creator>
    <dc:date>2023-10-31T04:28:26Z</dc:date>
    <item>
      <title>lib path for ls1043ardb</title>
      <link>https://community.nxp.com/t5/Layerscape/lib-path-for-ls1043ardb/m-p/1749136#M13569</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using ls1043ardb, I want to compile my application program. I am following LSDKYOCTOUG.pdf , I want to know the lib path in the &lt;STRONG&gt;build_ls1043ardb&lt;/STRONG&gt;&amp;nbsp;folder. In my Makefile I want to mention the lib path&lt;/P&gt;&lt;P&gt;Please let me know&lt;/P&gt;&lt;P&gt;I have found the path at&amp;nbsp;&lt;STRONG&gt;build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-mfgtool/1.0-r0/recipe-sysroot/usr/lib&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;is this correct path?&amp;nbsp;&lt;/STRONG&gt;&lt;/U&gt;&lt;STRONG&gt; if No, &lt;FONT color="#FF0000"&gt;&lt;U&gt;Please tell me the correct path&lt;/U&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if I am using this path, while cross-compiling I am getting library linking error.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It is searching the libraries in /usr/lib path.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Or I am using wrong toolchain for cross-compiling&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;if the toolchain problem is there &lt;FONT color="#FF0000"&gt;please tell me which toolchain I should use&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please help me in solving the issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Following are the errors&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/opt/fsl-qoriq/3.1/sysroots/x86_64-fslsdk-linux/usr/libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/9.3.0/real-ld: &lt;FONT color="#FF0000"&gt;cannot find /usr/lib/libc.so.6&lt;/FONT&gt;&lt;BR /&gt;/opt/fsl-qoriq/3.1/sysroots/x86_64-fslsdk-linux/usr/libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/9.3.0/real-ld: &lt;FONT color="#FF0000"&gt;cannot find /usr/lib/libc_nonshared.a&lt;/FONT&gt;&lt;BR /&gt;/opt/fsl-qoriq/3.1/sysroots/x86_64-fslsdk-linux/usr/libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/9.3.0/real-ld: &lt;FONT color="#FF0000"&gt;cannot find /usr/lib/ld-linux-aarch64.so.1&lt;/FONT&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;I am using net-snmp in my application code&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 04:28:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/lib-path-for-ls1043ardb/m-p/1749136#M13569</guid>
      <dc:creator>dibyarekha</dc:creator>
      <dc:date>2023-10-31T04:28:26Z</dc:date>
    </item>
  </channel>
</rss>

