osp icon indicating copy to clipboard operation
osp copied to clipboard

Building lighthttpd with wolfssl

Open hey3e opened this issue 1 year ago • 2 comments

I am trying to build lighthttpd-1.4.51 with wolfssl 5.6.3. I followed the instructions:

wolfssl: /configure --enable-lighty --prefix=/usr/local && make -j8 && sudo make install && sudo ldconfig

ls /usr/local/lib: image

lighthttpd: ./configure --with-wolfssl=yes --prefix=/usr/local/lib --without-bzip2 --without-zlib --without-pcre

It showes: image

Then I also tried to replace --with-wolfssl=yes with --with-wolfssl=/usr/local, it is still not working.

hey3e avatar Aug 29 '23 07:08 hey3e

Hi @hey3e ,

I gave this a try here and I'm unable to reproduce the issue you're seeing. However I do note that lighttpd 1.4.51 is old, looks like it was released in 2018 which predates wolfSSL 5.6.3. Please retry with the latest lighttpd 1.4 release, 1.4.71 and let me know if it helps. If not, please attach your full lighttpd config.log here.

Note that lighttpd's wolfSSL support is upstreamed, so you will not need to apply any patches.

kareem-wolfssl avatar Aug 29 '23 18:08 kareem-wolfssl

@hey3e please use the latest lighttpd release, currently lighttpd 1.4.76.

I filed a pull request to update the doc https://github.com/wolfSSL/osp/pull/182/files include the following in the README

lighttpd 1.4.56 and later provide lighttpd mod_wolfssl with native support for wolfSSL. Using the most recent lighttpd stable release is recommended.

gstrauss avatar Jul 03 '24 19:07 gstrauss