MySQL Forums
Forum List  »  Connector/C++

Re: Installing a C++ connector on CentOS
Posted by: S v
Date: August 19, 2013 02:35PM

Instead of trying to make it work with the dynamic libraries that were found under :
/usr/lib64/ (I had any libraries because I've ran : yum install boost)
I've decided to try with static ones. After I've downloaded boost : I just had to point to the parent directory :

cmake . -DBOOST_ROOT:STRING=/home/boost_1_54_0/
and the cmake finished without a problem.

One might try to make the cmake process work with the dynamic libraries, but the CMakeLists.txt file should be edited accordingly. for example

SET(Boost_USE_STATIC_LIBS TRUE)
should be changed.

Options: ReplyQuote


Subject
Views
Written By
Posted
8543
S v
August 12, 2013 03:07PM
Re: Installing a C++ connector on CentOS
2789
S v
August 19, 2013 02:35PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.