-
Notifications
You must be signed in to change notification settings - Fork 218
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
64bits recompilation fails. Error with header files #18
Comments
I've compiled the library on a VirtualBox with a Ubuntu 16.04.1 image. Here I had to install the headers "manually":
|
@kheush You might need to edit
by
|
Keep telling
but there is no libmysqlclient15-dev for raspberry. After install |
sudo gcc -march=armv8-a -fPIC -Wall -I/usr/include/mysql -I /usr/include/mariadb/server -I /usr/include/mariadb/server/private/ -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 is what I used to get the install to work - |
Hi,
Experiencing issue with 64bits recompilation (Red Hat Enterprise Linux Server release 6.8).
Command attempted (edited from Makefile):
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/lib64/libstdc++.so.6.0.13
Error received:
lib_mysqludf_sys.c:40:23: error: my_global.h: No such file or directory
lib_mysqludf_sys.c:41:20: error: my_sys.h: No such file or directory
lib_mysqludf_sys.c:43:19: error: mysql.h: No such file or directory
lib_mysqludf_sys.c:44:21: error: m_ctype.h: No such file or directory
lib_mysqludf_sys.c:45:22: error: m_string.h: No such file or directory
make: *** [install] Error 1
Any idea where issue could be coming from?
One feedback from different forum suggested change of libraries at mysql end? Looking into by trying to install/use udf shipped with mysql?
Looking into it.
Any other suggestion if you have experienced the same will be of help.
Thanks
The text was updated successfully, but these errors were encountered: