Here's a minimal development environment - if it works for you - then likely it is due to your main development environment:
----- ``` docker build --tag ubuntu:devel.1 -f ./Dockerfile # run the container docker run -it --rm ubuntu:devel.1 /bin/bash
# ... an inside the container shell ... #!/bin/bash
mkdir -p /builddir/build/wolfssl cd /builddir/build/wolfssl/
git clone https://github.com/wolfSSL/wolfssl.git
cd wolfssl/
git checkout v5.6.3-stable
./autogen.sh ./configure \ --enable-all --enable-pkcs11 --enable-static --enable-writedup \ --disable-aligndata --disable-shared --disable-examples \ --disable-jni --disable-crl-monitor ```
----- ``` # Dockerfile # create a minimal development container from ubuntu:22.04 run apt-get update -y; \ apt-get install -y git gcc g++ flex bison libmysqlclient-dev make autoconf pkg-config \ automake libtool libssl-dev libcurl4-openssl-dev libxml2-dev libpcre3-dev \ bsdmainutils ```