N
N
Nikita Parfenovich2015-09-26 00:10:47
linux
Nikita Parfenovich, 2015-09-26 00:10:47

Squid 3.5.8, 3.5.9 won't compile. How to overcome the error?

Hello. Such a problem. Squid does not compile. An error occurs:

bio.cc:1003:53: error: 'SSLv3_method' was not declared in this scope
             const SSL_METHOD *method = SSLv3_method();

libssl-dev installed. Compilation was done on both Debian and Arch. Both x64. Remarkably, it compiles fine on x86. All dependencies are installed, including those needed to build Squid

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
Zhenya Doev, 2016-03-03
@nagibat0r

The problem is solved quite simply vi src/lib/bio.cc and change twice

//#if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
// const SSL_METHOD *method = TLS_method();
//#else
const SSL_METHOD *method = SSLv23_method();
//#endif

K
ken3012, 2015-09-26
@ken3012

compile with without ssl ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question