Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No paths allowed for shared library (At installation) #17

Open
kheush opened this issue Oct 20, 2017 · 2 comments
Open

No paths allowed for shared library (At installation) #17

kheush opened this issue Oct 20, 2017 · 2 comments

Comments

@kheush
Copy link

kheush commented Oct 20, 2017

Hi All,
I am using:
MySQL 5.1.73 on Red Hat Enterprise Linux Server release 6.8 (Santiago)
When trying to install, I get following error : ERROR 1124 (HY000): No paths allowed for shared library
Has anyone faced the same issue and managed to find a fix.
Any input would be appreciated.
Thanks,
Alassane

@eugeneYWang
Copy link

So in makefile file, the first line libdir is clearly the destination of shared library ( the result of compilation, the .so file) since libdir is repeated in the second line of compile command.

So you probably should check if you have writing privilege to the destination.

You might also want to check if you should change that libdir to plugin directory in mysql. A lot of current solutions have changed it in order to install successfully.

@leiless
Copy link

leiless commented May 15, 2021

The shared library must be located in the plugin directory (the directory named by the plugin_dir system variable). The library must be in the plugin directory itself, not in a subdirectory.

13.7.4.4 INSTALL PLUGIN Statement
https://dev.mysql.com/doc/refman/8.0/en/install-plugin.html
INSTALL PLUGIN - MariaDB Knowledge Base
https://mariadb.com/kb/en/install-plugin/

Solutions:

  • Change plugin_dir in my.cnf, put your library file into that directory.
  • Or, copy your library file into SELECT @@plugin_dir;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants