wolfSSL / osp

wolfSSL Open Source project ports
https://www.wolfssl.com
20 stars 32 forks source link

Building lighthttpd with wolfssl #156

Open hey3e opened 10 months ago

hey3e commented 10 months ago

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.

kareem-wolfssl commented 10 months ago

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.

gstrauss commented 4 days ago

@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.