RPATH is incorrect when INSTALL_LIBDIR is set

Bug #1558376 reported by Alexander Pyhalov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
New
Undecided
Unassigned

Bug Description

When I build percona 5.7 with -DINSTALL_LIBDIR=lib/amd64, some percona libraries and utilities are linked with incorrect RPATH. The reason is code in percona-server-5.7.10-3/configure.cmake. I used the following patch to fix it, but it seems also not quite correct as it doesn't work for cases when bindir is also not bin (for example, bin/amd64):

Revision history for this message
Alexander Pyhalov (alp-rsu) wrote :
tags: added: contribution pkg
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

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

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

Other bug subscribers

Remote bug watches

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