Missing -lpthread for libssl / libcrypto (LibreSSL) when compiling U-Boot

Andre Heider a.heider at gmail.com
Wed Oct 13 01:23:16 PDT 2021

Hi Rafał,

On 13/10/2021 10:10, Rafał Miłecki wrote:
> *** Manual pkg-config test ***
> I'm not sure if I test it correctly but output looks OK:
> $ 
> PATH=/home/rmilecki/openwrt/openwrt-master-bcm4908/staging_dir/host/bin:$PATH 
> ./staging_dir/host/bin/pkg-config --libs libssl libcrypto
> -L/lib64 -lssl -lcrypto

I think -L should point at ./staging_dir/host/lib or whereever the 
libraris from the libressl host package are, since we're building 
against that and not against your system open/libressl?


More information about the openwrt-devel mailing list