[Privoxy-devel] building with libressl

Lee ler762 at gmail.com
Sun Dec 6 16:45:51 UTC 2020


Is it supposed to be possible to build Privoxy using libressl instead
of openssl?

I tried building privoxy with openssl and that worked.  But the
openssl license isn't compatable with the gpl, so I can't distribute a
privoxy binary that include openssl - correct?

So I uninstalled openssl to make _sure_ I don't include it by mistake,
build libressl and do the
  ./configure --with-openssl  ..etc
and configure dies with

configure:6768: checking for CRYPTO_new_ex_data in -lcrypto
configure:6793: i686-w64-mingw32-gcc -o conftest.exe -pipe -O2
-fstack-protector-strong -D_FORTIFY_SOURCE=2 -march=native -Wall
-Wshadow -DWINVER=0x501 -mwindows -D__MINGW_USE_VC2005_COMPAT
-I/source/libressl-3.3.0/include  -fstack-protector-strong
-Wl,--nxcompat -Wl,--dynamicbase,--export-all-symbols
-L/source/libressl-3.3.0/crypto/ -L/source/libressl-3.3.0/ssl
-L/source/libressl-3.3.0/tls -static conftest.c -lcrypto  -lws2_32
-lz 1>&5
/usr/lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld:
cannot find -lcrypto
collect2: error: ld returned 1 exit status

Lee


More information about the Privoxy-devel mailing list