PXC shared-compat package ld.so.conf has wrong directory

Bug #1615089 reported by Kenny Gryp on 2016-08-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC
Fix Released
Undecided
EvgeniyPatlan

Bug Description

[root@pxc1 lib64]# rpm -ql Percona-XtraDB-Cluster-shared-compat-57.x86_64
/etc/ld.so.conf.d/percona-xtradb-cluster-shared-5.7.12-x86_64.conf
/usr/lib64/mysql
/usr/lib64/mysql/libmysqlclient.so.18.1.0
/usr/lib64/mysql/libmysqlclient_r.so.18.1.0
/usr/share/doc/Percona-XtraDB-Cluster-shared-compat-57-5.7.12
/usr/share/doc/Percona-XtraDB-Cluster-shared-compat-57-5.7.12/COPYING
/usr/share/doc/Percona-XtraDB-Cluster-shared-compat-57-5.7.12/README

[root@pxc1 lib64]# cat /etc/ld.so.conf.d/percona-xtradb-cluster-shared-5.7.12-x86_64.conf
/usr/lib64/
[root@pxc1 lib64]# ldconfig
[root@pxc1 lib64]# pt-show-grants
install_driver(mysql) failed: Attempt to reload DBD/mysql.pm aborted.
Compilation failed in require at (eval 6) line 3.

 at /bin/pt-show-grants line 1353.
[root@pxc1 lib64]# vi /etc/ld.so.conf.d/percona-xtradb-cluster-shared-5.7.12-x86_64.conf
[root@pxc1 lib64]# ldconfig
[root@pxc1 lib64]# cat /etc/ld.so.conf.d/percona-xtradb-cluster-shared-5.7.12-x86_64.conf
/usr/lib64/mysql
[root@pxc1 lib64]# pt-show-grants
-- Grants dumped by pt-show-grants

The correct file is in place for Percona-Server-shared-compat:

[vagrant@perconaserver ~]$ rpm -ql Percona-Server-shared-compat-57
/etc/ld.so.conf.d/mysql-x86_64.conf
/usr/lib64/mysql
/usr/lib64/mysql/libmysqlclient.so.18.1.0
/usr/lib64/mysql/libmysqlclient_r.so.18.1.0
/usr/share/doc/Percona-Server-shared-compat-57-5.7.14
/usr/share/doc/Percona-Server-shared-compat-57-5.7.14/COPYING
/usr/share/doc/Percona-Server-shared-compat-57-5.7.14/README
[vagrant@perconaserver ~]$ cat /etc/ld.so.conf.d/mysql-x86_64.conf
/usr/lib64/mysql
[vagrant@perconaserver ~]$ pt-show-grants
-- Grants dumped by pt-show-grants

Changed in percona-xtradb-cluster:
assignee: nobody → EvgeniyPatlan (evgeniy-patlan)
EvgeniyPatlan (evgeniy-patlan) wrote :
Changed in percona-xtradb-cluster:
status: New → Fix Committed
Changed in percona-xtradb-cluster:
milestone: none → future-5.6
Changed in percona-xtradb-cluster:
status: Fix Committed → Fix Released

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXC-673

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

Other bug subscribers