wolfssh icon indicating copy to clipboard operation
wolfssh copied to clipboard

update libwolfssl search for older tools and static library

Open JacobBarthelmeh opened this issue 1 year ago • 2 comments

ZD17497

Issue of autotools finding a static libwolfssl was reported on Ubuntu 20 and reproduced on Ubuntu 18. On newer Ubuntu versions (and autotools) such as Ubuntu 22 it is able to find the static library without this change.

JacobBarthelmeh avatar Mar 11 '24 18:03 JacobBarthelmeh

Steps to reproduce on Ubuntu 18 :

sudo rm -rf /usr/local/lib/libwolfssl*
cd wolfssl
./configure --enable-ssh --enable-static --disable-shared && make && sudo make install
cd ../wolfssh
./autogen.sh
./configure

JacobBarthelmeh avatar Mar 11 '24 18:03 JacobBarthelmeh

Possibly should be solved by adding -lpthread and -lm when doing the search for libwolfssl.a on older Ubuntu OS's.

JacobBarthelmeh avatar Mar 14 '24 15:03 JacobBarthelmeh