Kernel panic after failing to load libssl.so.1.0.0 #kernel


aravind.chittapur@...
 

I have patched busybox httpd with open ssl APIs to support https. I have patched Makefile.flags to include opessl library as below.
-------------------------------------
--- busybox-1.23.2/Makefile.flags 2020-05-25 13:52:54.424147022 +0200
+++ busybox-1.23.2/Makefile_edit.flags 2020-05-25 14:18:23.328520511 +0200
@@ -126,6 +126,10 @@
 LDLIBS += m
 endif
 
+# Openssl Library
+#LDLIBS += openssl
+LDLIBS += m ssl
+
 ifeq ($(CONFIG_PAM),y)
 # libpam uses libpthread, so for static builds busybox must be linked to
 # libpthread. On some platforms that requires an explicit -lpthread, so
--------------------------------------------------------
I am able to rebake busybox without any errors. I tested the https functionality by pushing the busybox binary using adb to the /data/ folder. 
When I flash the firmware image to the board, while booting the kernel I get the following error.
"/bin/sh: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory"
After this Kernel panic happens. 
libssl.so.1.0.0 is present in /usr/lib. I don't why it fails to load. I need help in resolving this problem.

Thanks,
Aravind


Join yocto@lists.yoctoproject.org to automatically receive all group messages.