Bug #1745
closedcompile error when used with SSL support
0%
Description
Please, help me to solve this (this appears while linking my project with wt/wthttp) :
/usr/local/lib/libwthttp.a(Request.o): In function `http::server::Request::sslInfo() const':
/home/wt/src/http/Request.C:132: undefined reference to `Wt::Ssl::x509ToWSslCertificate(x509_st*)'
/home/wt/src/http/Request.C:141: undefined reference to `Wt::Ssl::x509ToWSslCertificate(x509_st*)'
/home/wt/src/http/Request.C:159: undefined reference to `Wt::WSslInfo::WSslInfo(Wt::WSslCertificate const&, std::vector<Wt::WSslCertificate, std::allocatorWt::WSslCertificate > const&, Wt::WValidator::Result)'
Updated by Wim Dumon almost 12 years ago
- Status changed from New to Feedback
- Assignee deleted (
Koen Deforche)
If you build a static lib, you'll also have to specify all libraries on which the static lib depends in your link command. Looks like you did not add the ssl libraries?
Updated by Koen Deforche over 11 years ago
- Status changed from Feedback to Closed