Modify

Ticket #9273 (new Bugs)

Opened 6 months ago

Last modified 4 months ago

error: ‘::SSL_CTX_clear_options’ has not been declared

Reported by: Blake McBride <blake@…> Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.54.0 Severity: Problem
Keywords: Cc:

Description

Greetings,

I built and installed boost 1.54.0 on a Mac OS/X 10.6.8 utilizing GCC 4.2.1. I did:

sudo ./b2 install

It proceeded for a long time and ended with:

...
darwin.compile.c++ bin.v2/libs/wave/build/darwin-4.2.1/release/link-static/threading-multi/cpplexer/re2clex/aq.o
darwin.compile.c++ bin.v2/libs/wave/build/darwin-4.2.1/release/link-static/threading-multi/cpplexer/re2clex/cpp_re.o
darwin.archive bin.v2/libs/wave/build/darwin-4.2.1/release/link-static/threading-multi/libboost_wave.a
common.copy /usr/local/lib/libboost_wave.a
...failed updating 6 targets...
...skipped 4 targets...
...updated 1016 targets...
Blake-Mac-17:boost_1_54_0 blake$ 

I presume the build was successful. Now, when I try to build an app that uses it, I get:

In file included from /usr/local/include/boost/asio/ssl/context.hpp:786,
                 from /usr/local/include/boost/asio/ssl.hpp:19,
                 from /Users/blake/Backup/wt-3.3.1/src/Wt/Http/Client.C:25:
/usr/local/include/boost/asio/ssl/impl/context.ipp: In member function ‘boost::system::error_code boost::asio::ssl::context::clear_options(long int, boost::system::error_code&)’:
/usr/local/include/boost/asio/ssl/impl/context.ipp:249: error: ‘::SSL_CTX_clear_options’ has not been declared
make[2]: *** [src/CMakeFiles/wt.dir/Wt/Http/Client.o] Error 1
make[1]: *** [src/CMakeFiles/wt.dir/all] Error 2
make: *** [all] Error 2

It seems to me the problem is in boost. Any help would sure be appreciated.

Thanks.

Blake McBride?

Attachments

Change History

comment:1 Changed 6 months ago by viboes

  • Owner set to olli
  • Component changed from None to context

comment:2 Changed 6 months ago by olli

  • Owner changed from olli to chris_kohlhoff

seems to be a problem of boost.asio (SSL) and not boost.context

comment:3 Changed 6 months ago by olli

  • Component changed from context to asio

comment:4 Changed 4 months ago by marco.serantoni@…

Is resolved in development repository, SSL_CTX_clear_options was not present in the previous releases of OpenSSL and this condition is now handled.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.