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

Can't install on Ubuntu 16.04.5 LTS "Unable to locate package libmysqlclient15-dev" #21

Open
schworak opened this Issue Jul 23, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@schworak

schworak commented Jul 23, 2018

I am running Ubuntu 16.04.5 LTS, MySQL 14.14 Distrib 5.7.22, for Linux (x86_64)

I have tried the install.sh script and I get the error:

ERROR: You need libmysqlclient development software installed
to be able to compile this UDF, on Debian/Ubuntu just run:
apt-get install libmysqlclient15-dev

But when I try to install that I get "Unable to locate package libmysqlclient15-dev"

When I try to install with out the "15" in the name I get a message saying I have the latest version:
"libmysqlclient-dev is already the newest version (5.7.22-1ubuntu14.04)"

Any thoughts on how to fix this issue?

@gibrit

This comment has been minimized.

Show comment
Hide comment
@gibrit

gibrit Jul 31, 2018

here is what i did . and now publishing message with mysql on redis .

sudo apt install libmysqlclient-dev

change makefile with described as in the last comment ,
#3

gcc -m64 -fPIC -Wall -I/usr/include/mysql -I. -shared lib_mysqludf_sys.c -o /usr/lib/mysql/plugin/lib_mysqludf_sys.so -L/usr/lib/x86_64-linux-gnu/libstdc++.so.6

then did what daper described on #4

apparmor disable profile described as on this link

gibrit commented Jul 31, 2018

here is what i did . and now publishing message with mysql on redis .

sudo apt install libmysqlclient-dev

change makefile with described as in the last comment ,
#3

gcc -m64 -fPIC -Wall -I/usr/include/mysql -I. -shared lib_mysqludf_sys.c -o /usr/lib/mysql/plugin/lib_mysqludf_sys.so -L/usr/lib/x86_64-linux-gnu/libstdc++.so.6

then did what daper described on #4

apparmor disable profile described as on this link

@schworak

This comment has been minimized.

Show comment
Hide comment
@schworak

schworak Aug 1, 2018

That solved my problem! Thanks so much for the assist.

schworak commented Aug 1, 2018

That solved my problem! Thanks so much for the assist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment