Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-11008

Connector/C integration does not respect INSTALL_LIBDIR or INSTALL_DOCDIR

    XMLWordPrintable

Details

    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

      Attachments

        Activity

          People

            wlad Vladislav Vaintroub
            grknight Brian Evans
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.