Changes between Version 67 and Version 68 of InstallingFACT++


Ignore:
Timestamp:
01/03/21 18:17:27 (4 years ago)
Author:
tbretz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallingFACT++

    v67 v68  
    243243where the provided path is the extacted directory.
    244244
     245Note that if MySQL++ is preinstalled, it might (verly likely) link to existing system libraries (e.g. MariaDB's mysqlclient library). This often leads to connection problems due to an unsupported SSL connection.
     246
     247The solution is to get the MySQL++ release tarball (from https://tangentsoft.com/mysqlpp/home) and compile it yourself against your mysqclient library.
     248
     249After extraction, change into their directory and execute something like
     250{{{
     251./configure --with-mysql-lib=~/mysql-8.0.22-linux-glibc2.17-x86_64-minimal/lib -with-mysql-include=~/mysql-8.0.22-linux-glibc2.17-x86_64-minimal/include
     252make
     253}}}
     254
     255It can happen that make fails because mysql uses its own libssl which is not linked by the configure script. In this case do
     256
     257{{{
     258LD_LIBRARY_PATH=~/mysql-8.0.22-linux-glibc2.17-x86_64-minimal/lib/private/:$LD_LIBRARY_PATH make
     259}}}
     260
     261Now run your cmake (as before) with these additonal options (it is adviced to do that in an empty build directory):
     262{{{
     263-DMYSQLPP_INCLUDE_DIR=~/mysql++-3.2.5/lib
     264-DMYSQLPP_LIBRARY=~/mysql++-3.2.5/libmysqlpp.so
     265}}} 
     266