WolfSSL and Haproxy compiling issues

Hello Everyone,
I am facing some issues having HAproxy-3.0.3 and 2.9 to be compiled against WolfSSL 5.7.2 and 5.6.6.
when I try to run haproxy service I get the following error:
haproxy: symbol lookup error: haproxy: undefined symbol: wolfSSL_X509_INFO_free

I made sure that the haproxy service is correctly linked to libwolfssl.so.42
Any ideas for troubleshooting or does anyone face this issue before?

INSTALL has guidelines howto compile WolfSSL and Haproxy.

I just compiled it succesfully:

lukas@dev:~/haproxy-3.0$ ./haproxy -vv | grep -e HAProxy\ version -e wolfSSL
HAProxy version 3.0.3-3f4ef2-28 2024/08/16 - https://haproxy.org/
Built with OpenSSL version : wolfSSL 5.6.6
Running on OpenSSL version : wolfSSL 5.6.6
lukas@dev:~/haproxy-3.0$

More compilation tipps can be found in this thread, however reading INSTALL as well as compilation warnings and following it’s suggestions usually does the job.

Thanks, I had to add the /opt/wolfssl-5.7.2/lib to the library search path