Boost C++ Libraries: Ticket #9273: error: ‘::SSL_CTX_clear_options’ has not been declared
https://svn.boost.org/trac10/ticket/9273
<p>
Greetings,
</p>
<p>
I built and installed boost 1.54.0 on a Mac OS/X 10.6.8 utilizing GCC 4.2.1. I did:
</p>
<pre class="wiki">sudo ./b2 install
</pre><p>
It proceeded for a long time and ended with:
</p>
<pre class="wiki">...
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$
</pre><p>
I presume the build was successful. Now, when I try to build an app that uses it, I get:
</p>
<pre class="wiki">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
</pre><p>
It seems to me the problem is in boost. Any help would sure be appreciated.
</p>
<p>
Thanks.
</p>
<p>
Blake <a class="missing wiki">McBride</a>
</p>
en-usBoost C++ Libraries/htdocs/site/boost.png
https://svn.boost.org/trac10/ticket/9273
Trac 1.4.3viboesSun, 20 Oct 2013 23:19:42 GMTcomponent changed; owner set
https://svn.boost.org/trac10/ticket/9273#comment:1
https://svn.boost.org/trac10/ticket/9273#comment:1
<ul>
<li><strong>owner</strong>
set to <span class="trac-author">olli</span>
</li>
<li><strong>component</strong>
<span class="trac-field-old">None</span> → <span class="trac-field-new">context</span>
</li>
</ul>
TicketolliMon, 21 Oct 2013 05:36:50 GMTowner changed
https://svn.boost.org/trac10/ticket/9273#comment:2
https://svn.boost.org/trac10/ticket/9273#comment:2
<ul>
<li><strong>owner</strong>
changed from <span class="trac-author">olli</span> to <span class="trac-author">chris_kohlhoff</span>
</li>
</ul>
<p>
seems to be a problem of boost.asio (SSL) and not boost.context
</p>
TicketolliMon, 21 Oct 2013 05:37:20 GMTcomponent changed
https://svn.boost.org/trac10/ticket/9273#comment:3
https://svn.boost.org/trac10/ticket/9273#comment:3
<ul>
<li><strong>component</strong>
<span class="trac-field-old">context</span> → <span class="trac-field-new">asio</span>
</li>
</ul>
Ticketmarco.serantoni@…Mon, 30 Dec 2013 19:59:29 GMT
<link>https://svn.boost.org/trac10/ticket/9273#comment:4 </link>
<guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9273#comment:4</guid>
<description>
<p>
Is resolved in development repository, SSL_CTX_clear_options was not present in the previous releases of OpenSSL and this condition is now handled.
</p>
</description>
<category>Ticket</category>
</item>
<item>
<dc:creator>chris_kohlhoff</dc:creator>
<pubDate>Mon, 05 May 2014 07:35:06 GMT</pubDate>
<title>status changed; resolution set
https://svn.boost.org/trac10/ticket/9273#comment:5
https://svn.boost.org/trac10/ticket/9273#comment:5
<ul>
<li><strong>status</strong>
<span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span>
</li>
<li><strong>resolution</strong>
→ <span class="trac-field-new">fixed</span>
</li>
</ul>
<p>
Was fixed in <a class="changeset" href="https://svn.boost.org/trac10/changeset/86463" title="Support older versions of OpenSSL that don't supply SSL_CTX_clear_options.">r86463</a> and included in boost 1.55.
</p>
Ticket