You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thank you for writing this. I look forward to it working.
I'm getting a build error when trying to "make": gcc -Wall -I/usr/include/mysql -I. -shared lib_mysqludf_sys.c -o /usr/lib/lib_mysqludf_sys.so /usr/bin/ld: /tmp/ccqmuRkb.o: relocation R_X86_64_32 against .rodata' can not be used when making a shared object; recompile with -fPIC
/tmp/ccqmuRkb.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [install] Error 1`
I'm trying to build this on RHEL 6.3, with the Percona server (devel packages included). Any ideas?
The text was updated successfully, but these errors were encountered:
I know it's a 4 months old issue but I got it working by editing the Makefile. Had to include two new parameters in the gcc call -fPIC and -DMYSQL_DYNAMIC_PLUGIN so it looked like this:
First off, thank you for writing this. I look forward to it working.
I'm getting a build error when trying to "make":
gcc -Wall -I/usr/include/mysql -I. -shared lib_mysqludf_sys.c -o /usr/lib/lib_mysqludf_sys.so /usr/bin/ld: /tmp/ccqmuRkb.o: relocation R_X86_64_32 against.rodata' can not be used when making a shared object; recompile with -fPIC/tmp/ccqmuRkb.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [install] Error 1`
I'm trying to build this on RHEL 6.3, with the Percona server (devel packages included). Any ideas?
The text was updated successfully, but these errors were encountered: