PAM installation fails using mysql 5.7 packages

Bug #1560235 reported by Agustín
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
percona-pam-for-mysql
New
Undecided
Unassigned
Ubuntu
New
Undecided
Unassigned

Bug Description

Following installation instructions on https://www.percona.com/doc/percona-pam-for-mysql/installation.html yields the following errors, when using mysql 5.7 community packages:

shell> ./configure
...
checking for mysql_config... /usr/bin/mysql_config
checking for pam_start in -lpam... yes
checking mysql/plugin.h usability... no
checking mysql/plugin.h presence... no
checking for mysql/plugin.h... no
configure: error: Unable to find MySQL development headers. Please install them

Some additional information:

shell> pkg-config --cflags mysqlclient
-fstack-protector -m64 -fabi-version=2 -fno-omit-frame-pointer -I/usr/include/mysql

shell> rpm -qa | grep -i mysql
mysql57-community-release-el6-7.noarch
mysql-community-common-5.7.11-1.el6.x86_64
mysql-community-client-5.7.11-1.el6.x86_64
mysql-community-libs-5.7.11-1.el6.x86_64
mysql-community-libs-compat-5.7.11-1.el6.x86_64
mysql-community-server-5.7.11-1.el6.x86_64
mysql-community-devel-5.7.11-1.el6.x86_64

shell> # cat /etc/redhat-release
CentOS release 6.5 (Final)

shell> find / -name "*plugin.h"
/usr/include/mysql/plugin.h
/usr/include/mysql/mysql/plugin.h
/usr/include/mysql/mysql/client_plugin.h

Uploading config.log file, too.

Tags: i67120
Revision history for this message
Agustín (agustin-gallego) wrote :
Revision history for this message
Bogdan (bogdar) wrote :

I'm affected with this bug on Ubuntu 16 LTS as well,

configure:12126: result: no
configure:12126: checking mysql/plugin.h presence
configure:12126: gcc -E -isystem /usr/include/mysql conftest.c
In file included from /usr/include/mysql/mysql/services.h:26:0,
                 from /usr/include/mysql/mysql/plugin.h:59,
                 from conftest.c:23:
/usr/include/mysql/mysql/service_srv_session_info.h:31:53: fatal error: violite.h: No such file or directory
compilation terminated.

There are no such file in MySQL 5.7 community edition bundled with Ubuntu, for some reasons I have to use Oracle's flavor of MySQL.

Could you please fix build for MySQL 5.7 ?

Revision history for this message
Joe (joegrasse) wrote :

Just curious if there are plans to upgrade the pam module to support mysql 5.7?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.