Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3925

fix mysql_remap library detection

Add voteWatch issue
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • sometime
    • Plugins
    • None

    Description

      The mysql_remap plugin failed to find libmysqlclient on CentOS6 and CentOS7 because this library is installed in /usr/lib/mysql rather than a default search path.

      I poked around a both and I think that you are supposes to use the mysql_config tool to detect the linker flags. On CentOS7 with MariaDB, the mariadb-devel package installs this, however on CentOS6, the mysql-devel package does not install it. Both packages ship a mysql.m4 autoconf macro that uses mysql_config to do the detection.

      I think the right approach here is to pull in the autoconf macro and document that building this requires mysql_config.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jamespeach James Peach

              Dates

                Created:
                Updated:

                Slack

                  Issue deployment