Project

General

Profile

Unable to install Wt on Mac OS X 10.9.2

Added by Rajeev Gajbhiye over 8 years ago

I am trying to install Wt on OS X 10.9.2 as per instruction on http://redmine.webtoolkit.eu/projects/wt/wiki/Installing_Wt_on_Mac_OS_X_Lion. I am using boost 1.54. I am getting following error:

Undefined symbols for architecture x86_64:

"_TLSv1_1_client_method", referenced from:

boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in Client.o

"_TLSv1_1_method", referenced from:

boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in Client.o

"_TLSv1_1_server_method", referenced from:

boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in Client.o

"_TLSv1_2_client_method", referenced from:

boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in Client.o

"_TLSv1_2_method", referenced from:

boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in Client.o

"_TLSv1_2_server_method", referenced from:

boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in Client.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Can anyone please help me in resolving this problem?

Regards,

Rajeev.


Replies (1)

RE: Unable to install Wt on Mac OS X 10.9.2 - Added by Rajeev Gajbhiye over 8 years ago

Resolved it!!

It turned out that I had two versions of ssl library. One under /usr/lib, while other being inside /opt/local/lib (which was installed via macports). The cmake discovered one under /usr/lib. I changed both include and lib to /opt/local/include and /opt/local/lib/libssl.dylib respectively. Thereafter compilation was smooth.

Regards,

Rajeev.

    (1-1/1)