James Peach created TS-3925:
-------------------------------
Summary: fix {{mysql_remap}} library detection
Key: TS-3925
URL: https://issues.apache.org/jira/browse/TS-3925
Project: Traffic Server
Issue Type: Bug
Components: Plugins
Reporter: James Peach
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}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)