MySQL Forums
Forum List  »  Connector/C++

shared library installation location
Posted by: Ephraim Stevens
Date: July 11, 2018 05:51AM


When installing the mysql connector, I provide the following flag to CMAKE:


After performing the:

cmake --build . --target install step, the mysql connector header files are installed under the /home/estevens/include as expected. However the shared library file ( and it's revelant softlinks ( and get installed directly under the build directory I use for compiling the software. These files never get deployed to /home/estevens/lib64, or /home/estevens/lib as conventionally expected.

Is there an additional cmake flag I can provide to force this behavior, or must I copy over the shraed library files manually after they are compiled. Normally, -DCMAKE_INSTALL_PREFIX is sufficient. But it appears not to be in this case.

Thank you.

Options: ReplyQuote

Written By
shared library installation location
July 11, 2018 05:51AM

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.