* Kernel panic after failing to load libssl.so.1.0.0 #kernel
@ 2020-09-30 7:00 aravind.chittapur
2020-09-30 21:56 ` [yocto] " Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: aravind.chittapur @ 2020-09-30 7:00 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 1190 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1563 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [yocto] Kernel panic after failing to load libssl.so.1.0.0 #kernel
2020-09-30 7:00 Kernel panic after failing to load libssl.so.1.0.0 #kernel aravind.chittapur
@ 2020-09-30 21:56 ` Khem Raj
2020-10-06 9:10 ` aravind.chittapur
0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2020-09-30 21:56 UTC (permalink / raw)
To: aravind.chittapur; +Cc: yocto
you need to add openssl to RDEPENDS for busybox.
On Wed, Sep 30, 2020 at 12:00 AM <aravind.chittapur@gmail.com> wrote:
>
> 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
>
>
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Kernel panic after failing to load libssl.so.1.0.0 #kernel
2020-09-30 21:56 ` [yocto] " Khem Raj
@ 2020-10-06 9:10 ` aravind.chittapur
0 siblings, 0 replies; 3+ messages in thread
From: aravind.chittapur @ 2020-10-06 9:10 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 86 bytes --]
Copying libssl.so.1.0.0 to boot initrd image solved the problem.
Thanks,
Aravind
[-- Attachment #2: Type: text/html, Size: 98 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-10-06 9:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-30 7:00 Kernel panic after failing to load libssl.so.1.0.0 #kernel aravind.chittapur
2020-09-30 21:56 ` [yocto] " Khem Raj
2020-10-06 9:10 ` aravind.chittapur
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox