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

Cannot open shared object file: No such file or directory) #6

Open
DraX89 opened this issue Jan 2, 2015 · 5 comments
Open

Cannot open shared object file: No such file or directory) #6

DraX89 opened this issue Jan 2, 2015 · 5 comments

Comments

@DraX89
Copy link

DraX89 commented Jan 2, 2015

Hi! Im looking forward in getting this set up for my raspberry project. I'm running raspbian and I opened mySQL using root and tried to create the function with
CREATE FUNCTION sys_eval RETURNS STRING SONAME 'lib_mysqludf_sys.so';
but it gives me this error:
Can't open shared library 'lib_mysqludf_sys.so' (errno: 0 /usr/lib/mysql/plugin/lib_mysqludf_sys.so: cannot open shared object file: No such file or directory)
Where is this library?
I did install libmysqlclient15-dev.

@DraX89
Copy link
Author

DraX89 commented Jan 2, 2015

Oh my bad, its in the folder... I copied the lib_mysqludf_sys.so in the /usr/lib/mysql/plugin/ folder but it still gives me the same error..

@juanjoleaf
Copy link

Hi An-Dre, edit the Makefile file, it should be like this:

LIBDIR=/usr/lib/mysql/plugin

Working on RPI with Raspbian Kernel version: 3.18

@gabviv73
Copy link

Same thing under Debian Wheezy 64: juanjoleaf fix works

@kakasal
Copy link

kakasal commented May 20, 2019

Ho to fix it?

@ufukomer
Copy link

ufukomer commented Nov 18, 2019

Mine put lib_mysqludf_amqp.so under /usr/lib/x86_64-linux-gnu/mariadb18/plugin/. Does anyone know how can I configure plugin path? I've run configure and make using predefined MYSQL_PLUGINDIR but it does not work.

Edit: I'm only using mysql nothing about mariadb.

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

5 participants