[MXS-561] Maxscale ignores --libdir(-B) startup option Created: 2016-01-28  Updated: 2016-01-28  Resolved: 2016-01-28

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: 1.2.1
Fix Version/s: 1.3.0

Type: Bug Priority: Major
Reporter: Aleksey Hariton Assignee: Johan Wikman
Resolution: Fixed Votes: 0
Labels: None


 Description   

Trying to run:

LD_LIBRARY_PATH="/home/user/maxscale/lib64/maxscale/" bin/maxscale -B /home/user/maxscale/lib64/maxscale/ -f /home/user/maxscale/maxscale.cnf

In /home/user/maxscale/maxscale.cnf:

[maxscale]
...
libdir=/home/maxscale/lib64/maxscale/
...

In error log:

016-01-28 15:24:03   Error : Unable to find library for module: maxinfo. Module dir: /usr/lib64/maxscale
2016-01-28 15:24:03   Error : Unable to load Router module "maxinfo".
                              Ensure that libmaxinfo.so exists in one of the following directories :
                              - /usr/lib64/maxscale
                              - /home/user/maxscale/lib64/maxscale/

always used /usr/lib64/maxscale.



 Comments   
Comment by markus makela [ 2016-01-28 ]

This has already been fixed for 1.3.0 but in the process of confirming this I've found out that the short version of the --language option -N doesn't work. This bug can be found in MXS-562.

Generated at Thu Feb 08 04:00:15 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.