Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update libwolfssl search for older tools and static library #665

Closed
wants to merge 2 commits into from

Conversation

JacobBarthelmeh
Copy link
Contributor

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 JacobBarthelmeh self-assigned this Mar 11, 2024
@JacobBarthelmeh
Copy link
Contributor Author

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
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants