Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2.2, 10.2(EOL)
-
None
Description
Starting with 10.2.2, I am unable to specify the install location of libmariadb.so and its documentation files.
Currently, it forcefully installs to /usr/lib/mariadb/libmariadb.so and also does poor detection for the build system to be x86_64 to change that to be /usr/lib64/mariadb/libmariadb.so.
The first part would require me to install a ldconfig entry for apps and libraries to find the libmariadb.so at runtime.
The CPU detection breaks cross-compiling and multi-arch options.
Please fix this regression such that -DINSTALL_LIBDIR=<value> would install to ${CMAKE_INSTALL_PREFIX}/${INSTALL_LIBDIR}/libmariadb.so