Bug #78702 Router plugin dependencies are not portable
Submitted: 5 Oct 2015 11:47 Modified: 20 Oct 2015 1:44
Reporter: Jorge Jordao Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Router Severity:S2 (Serious)
Version:2.0.1 OS:Any
Assigned to: CPU Architecture:Any

[5 Oct 2015 11:47] Jorge Jordao
Description:
When moving the Router installation to a different path or machine and setting the LD_LIBRARY_PATH to the new location, plugin dependencies do not work: routing is unable to find logger.so, fabric routing is unable to find fabric_cache.so.

This issue was introduced on master branch during the 28 Sep - 2 Oct week.

How to repeat:
Move Router installation to a different path and set the LD_LIBRARY_PATH to the new location.
[14 Oct 2015 10:50] Jorge Jordao
Posted by developer:
 
Fixed in master branch
[20 Oct 2015 1:44] Philip Olson
Posted by developer:
 
Fixed as of the upcoming MySQL Router 2.0.2 release, and here's the changelog entry:

After installing router to a non-default location (such as, using
DCMAKE_INSTALL_PREFIX), setting LD_LIBRARY_PATH to the new location had no
affect, thus causing plugin usage to fail.

Thank you for the bug report.