Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-561

Maxscale ignores --libdir(-B) startup option

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.3.0
    • Component/s: Core
    • 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.

        Attachments

          Activity

            People

            • Assignee:
              johan.wikman Johan Wikman
              Reporter:
              aleksey_hariton Aleksey Hariton
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: