Skip to contentSkip to conversation

imx-boot: add back LD_LIBRARY_PATH exporting

PATCH In review Ming Liu 2 participants 3 messages Oct 5, 2020 – Oct 7, 2020 Arm i.MX and Layerscape

lore
Share & tools
lore

Ming Liu

author
#0 lore raw

PATCH 1/1 imx-boot: add back LD_LIBRARY_PATH exporting

From: Ming Liu <[email protected]>

It was dropped by commit 65100fad:
[ imx-mkimage: upgrade to version 1.0 ]

after that, the following error was observed again:
| ./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot.itb
| ./mkimage_uboot: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

---
 recipes-bsp/imx-mkimage/imx-boot_1.0.bb | 3 +++
 1 file changed, 3 insertions(+)
recipes-bsp/imx-mkimage/imx-boot_1.0.bb +3 -0
index a54b439d..08431b39 100644
@@ -126,6 +126,9 @@ compile_mx8x() {
     fi
 }
 do_compile() {
+    # mkimage_uboot requires libssl.so.1.1 from ${STAGING_LIBDIR_NATIVE}
+    export LD_LIBRARY_PATH=${STAGING_LIBDIR_NATIVE}:$LD_LIBRARY_PATH
+
     # mkimage for i.MX8
     # Copy TEE binary to SoC target folder to mkimage
     if ${DEPLOY_OPTEE}; then
Signature · 1 line
2.28.0
#1 lore raw

Em seg., 5 de out. de 2020 às 09:41, Ming Liu <[email protected]> escreveu:

Quoted 11 lines

From: Ming Liu <[email protected]>

It was dropped by commit 65100fad:
[ imx-mkimage: upgrade to version 1.0 ]

after that, the following error was observed again:
| ./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot.itb
| ./mkimage_uboot: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Please open a PR with it.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750
author
#2 lore raw

Hi, Otavio:

https://github.com/Freescale/meta-freescale/pull/515

the best,
thank you

Otavio Salvador <[email protected]> 於 2020年10月5日 週一 下午3:43寫道:

Quoted 23 lines

Em seg., 5 de out. de 2020 às 09:41, Ming Liu <[email protected]> escreveu:

Quoted 9 lines

From: Ming Liu <[email protected]>

It was dropped by commit 65100fad:
[ imx-mkimage: upgrade to version 1.0 ]

after that, the following error was observed again:
| ./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot.itb
| ./mkimage_uboot: error while loading shared libraries: libssl.so.1.1:

cannot open shared object file: No such file or directory

Quoted 2 lines

Please open a PR with it.

--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750