[PATCH] imx-boot: add back LD_LIBRARY_PATH exporting


Ming Liu <liu.ming50@...>
 

From: Ming Liu <liu.ming50@...>

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: c=
annot open shared object file: No such file or directory

Signed-off-by: Ming Liu <liu.ming50@...>
---
recipes-bsp/imx-mkimage/imx-boot_1.0.bb | 3 +++
1 file changed, 3 insertions(+)

diff --git a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb b/recipes-bsp/imx-mk=
image/imx-boot_1.0.bb
index a54b439d..08431b39 100644
--- a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
+++ b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
@@ -126,6 +126,9 @@ compile_mx8x() {
fi
}
do_compile() {
+ # mkimage_uboot requires libssl.so.1.1 from ${STAGING_LIBDIR_NATIVE}
+ export LD_LIBRARY_PATH=3D${STAGING_LIBDIR_NATIVE}:$LD_LIBRARY_PATH
+
# mkimage for i.MX8
# Copy TEE binary to SoC target folder to mkimage
if ${DEPLOY_OPTEE}; then
--=20
2.28.0


Otavio Salvador
 

Em seg., 5 de out. de 2020 às 09:41, Ming Liu <liu.ming50@...> escreveu:

From: Ming Liu <liu.ming50@...>

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

Signed-off-by: Ming Liu <liu.ming50@...>
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


Ming Liu <liu.ming50@...>
 


Otavio Salvador <otavio.salvador@...> 於 2020年10月5日 週一 下午3:43寫道:

Em seg., 5 de out. de 2020 às 09:41, Ming Liu <liu.ming50@...> escreveu:
>
> From: Ming Liu <liu.ming50@...>
>
> 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
>
> Signed-off-by: Ming Liu <liu.ming50@...>

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