Project

General

Profile

Actions

Bug #1745

closed

compile error when used with SSL support

Added by Anonymous about 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
03/06/2013
Due date:
% Done:

0%

Estimated time:

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)'

Actions #1

Updated by Wim Dumon about 11 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?

Actions #2

Updated by Koen Deforche over 10 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF