shared library installation location
Greetings,
When installing the mysql connector, I provide the following flag to CMAKE:
-DCMAKE_INSTALL_PREFIX=/home/estevens
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 (libmysqlcppconn8.so.1.8.0.11) and it's revelant softlinks (libmysqlcppconn8.so and libmysqlcppconn8.so.1) 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.
Subject
Views
Written By
Posted
shared library installation location
1996
July 11, 2018 05:51AM
658
July 17, 2018 10:42AM
755
July 18, 2018 06:23AM
574
July 23, 2018 04:27AM
522
July 23, 2018 09:44AM
578
August 02, 2018 09:24AM
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.