Jump to content

MySQL plugin compilation error


Mellnik

Recommended Posts

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

Link to comment

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) 
  

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...