[MCOL-602] RPATH set incorrectly Created: 2017-03-02  Updated: 2017-04-28  Resolved: 2017-03-22

Status: Closed
Project: MariaDB ColumnStore
Component/s: None
Affects Version/s: 1.1.0
Fix Version/s: 1.1.0

Type: Bug Priority: Critical
Reporter: Andrew Hutchings (Inactive) Assignee: Daniel Lee (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Sprint: 2017-5, 2017-6

 Description   

This was caused during the switch to libmysqlclient instead of libdrizzle.

RPATH gets set correctly and then overwritten to point to MariaDB's lib directory. It needs to point to both.



 Comments   
Comment by Andrew Hutchings (Inactive) [ 2017-03-02 ]

A way to test:

objdump -x /usr/local/mariadb/columnstore/bin/postConfigure | grep RPATH

Should return:

  RPATH                /usr/local/mariadb/columnstore/lib:/usr/local/mariadb/columnstore/mysql/lib

Comment by Ben Thompson (Inactive) [ 2017-03-09 ]

Reviewed and merged

Comment by Daniel Lee (Inactive) [ 2017-03-22 ]

Build verified: 1.1.0 Github

[root@localhost mariadb-columnstore-server]# git show
commit 24f5065dba978ef4ec6ea8cb4bfd9728321941bd
Author: david hill <david.hill@mariadb.com>
Date: Mon Mar 20 09:57:25 2017 -0500

[root@localhost mariadb-columnstore-engine]# git show
commit c1d38e0a8b8d73b710cd9a4356dc19708a717277
Author: David Hill <david.hill@mariadb.com>
Date: Mon Mar 20 16:52:29 2017 -0500

[root@localhost ~]# objdump -x /usr/local/mariadb/columnstore/bin/postConfigure | grep RPATH
RPATH /usr/local/mariadb/columnstore/lib:/usr/local/mariadb/columnstore/mysql/lib

Generated at Thu Feb 08 02:22:19 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.