<?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>i.MX Processors中的主题 Yocto : Adding glibc libraries to the rootfs</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Adding-glibc-libraries-to-the-rootfs/m-p/734278#M114280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am building binaries for our custom board(iMX7) using Yocto-morty. I need some libraries such as UTF-32.so,&amp;nbsp;UTF-16.so,&amp;nbsp;UTF-7.so from glibc package for bluetooth file tranfer. But these libraries are not available in the rootfs, only files available under /usr/lib/gconv are&amp;nbsp;gconv-modules and ISO8859-1.so. So I am trying to add these libraries by adding new bbappend file glibc_2.24.bbappend with the following content&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-----------------------------------------------------------------------------------------------------------------------------------&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FILES_${PN} += "${libdir}/gconv/*"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;do_install_locale_append() {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; cp -r ${dest}${libdir}/gconv ${D}${libdir}/&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-----------------------------------------------------------------------------------------------------------------------------------&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But it results in the following error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: glibc-2.24-r0 do_populate_sysroot: The recipe glibc is trying to install files into a shared area when those files already exist. Those files and their manifest location are:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;build_dir/tmp/sysroots/esomimx7d/usr/lib/gconv/ISO-2022-CN.so&amp;nbsp; Matched in b'manifest-esomimx7d-glibc-locale.populate_sysroot'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;build_dir/tmp/sysroots/esomimx7d/usr/lib/gconv/ARMSCII-8.so Matched in b'manifest-esomimx7d-glibc-locale.populate_sysroot'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;......&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Then I tried to remove the glibc-locale from the image but due to some dependency issues I could not do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone help me to add the above mentioned libraries to the rootfs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;C.Senthillkumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jan 2018 14:17:26 GMT</pubDate>
    <dc:creator>senthilkumarcha</dc:creator>
    <dc:date>2018-01-18T14:17:26Z</dc:date>
    <item>
      <title>Yocto : Adding glibc libraries to the rootfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Adding-glibc-libraries-to-the-rootfs/m-p/734278#M114280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am building binaries for our custom board(iMX7) using Yocto-morty. I need some libraries such as UTF-32.so,&amp;nbsp;UTF-16.so,&amp;nbsp;UTF-7.so from glibc package for bluetooth file tranfer. But these libraries are not available in the rootfs, only files available under /usr/lib/gconv are&amp;nbsp;gconv-modules and ISO8859-1.so. So I am trying to add these libraries by adding new bbappend file glibc_2.24.bbappend with the following content&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-----------------------------------------------------------------------------------------------------------------------------------&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FILES_${PN} += "${libdir}/gconv/*"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;do_install_locale_append() {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; cp -r ${dest}${libdir}/gconv ${D}${libdir}/&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-----------------------------------------------------------------------------------------------------------------------------------&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But it results in the following error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: glibc-2.24-r0 do_populate_sysroot: The recipe glibc is trying to install files into a shared area when those files already exist. Those files and their manifest location are:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;build_dir/tmp/sysroots/esomimx7d/usr/lib/gconv/ISO-2022-CN.so&amp;nbsp; Matched in b'manifest-esomimx7d-glibc-locale.populate_sysroot'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;build_dir/tmp/sysroots/esomimx7d/usr/lib/gconv/ARMSCII-8.so Matched in b'manifest-esomimx7d-glibc-locale.populate_sysroot'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;......&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Then I tried to remove the glibc-locale from the image but due to some dependency issues I could not do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone help me to add the above mentioned libraries to the rootfs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;C.Senthillkumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 14:17:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-Adding-glibc-libraries-to-the-rootfs/m-p/734278#M114280</guid>
      <dc:creator>senthilkumarcha</dc:creator>
      <dc:date>2018-01-18T14:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto : Adding glibc libraries to the rootfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Adding-glibc-libraries-to-the-rootfs/m-p/734279#M114281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Senthilkumar Chandran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’ve seen that you posted this question in an external forum and it has been answered there. I’m adding the link in case it could help other community users:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/48334645/yocto-adding-glibc-libraries-to-the-rootfs"&gt;https://stackoverflow.com/questions/48334645/yocto-adding-glibc-libraries-to-the-rootfs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 21:30:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-Adding-glibc-libraries-to-the-rootfs/m-p/734279#M114281</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2018-01-31T21:30:48Z</dc:date>
    </item>
  </channel>
</rss>

