Mellnik Posted October 13, 2013 Posted October 13, 2013 The MySQL plugin gives me an error: /usr/bin/ld: /home/mta/multitheftauto-modules-read-only/mta-mysql/luaimports/libluaimports.a(luaimports.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /home/mta/multitheftauto-modules-read-only/mta-mysql/luaimports/libluaimports.a: could not read symbols: Bad value On Ubuntu 12 After running: ./configure make
MTA Team ccw Posted October 13, 2013 MTA Team Posted October 13, 2013 Maybe this: autoreconf -ifv ./configure make Type any errors it gives in to google
Mellnik Posted October 13, 2013 Author Posted October 13, 2013 Doesn't work either. Yes also looking on google.
MTA Team ccw Posted October 13, 2013 MTA Team Posted October 13, 2013 Could be that your compiling a 64 bit module. It would need to be 32 bit for MTA
Mellnik Posted October 13, 2013 Author Posted October 13, 2013 Oh, I tried it on another machine with 32bit, no error appeared, but it looks like no .so has been output. I also searched for it: find -name 'mta_mysql.so'
MTA Team ccw Posted October 13, 2013 MTA Team Posted October 13, 2013 Might be called something else. Look for .so files
Mellnik Posted October 13, 2013 Author Posted October 13, 2013 I used "find -name '*.so'" to search for it But only this one was found: mellnik@ubuntu:~/multitheftauto-modules-read-only/mta-mysql$ find -name '*.so' ./src/.libs/libmta_mysql.so While compiling I noticed this: ranlib .libs/libmta_mysql.a creating libmta_mysql.la (cd .libs && rm -f libmta_mysql.la && ln -s ../libmta_mysql.la libmta_mysql.la)
MTA Team ccw Posted October 13, 2013 MTA Team Posted October 13, 2013 I guess libmta_mysql.so is what you need. Also, can I ask why you are compiling rather than using a binary?
Mellnik Posted October 13, 2013 Author Posted October 13, 2013 Because I wanted to link it with MySQL 5.5 rather than 5.1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now