Problems
#9

Okay, may you try this out?

Quote:

1. We then navigated to the SAMP Servers folder then into the /plugins folder. Using the ldd command we can see that mysql.so file is missing a library and the mysql.so file does not have the correct permissions.
root@308882 [/home/plaproje/.gameservers/samp_0/plugins]# ldd mysql.so
ldd: warning: you do not have execution permission for `./mysql.so'
libmysqlclient_r.so.15 => not found
libpthread.so.0 => /lib/libpthread.so.0 (0xb7f4b000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7e60000)
libm.so.6 => /lib/libm.so.6 (0xb7e36000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7e17000)
libc.so.6 => /lib/libc.so.6 (0xb

2. We got libmysqlclient_r.so.15 and moved it to the /usr/lib folder not LIB64 as the LIB64 only supports 64 bit classes and this is a 32 bit class.

3. We then ran the process LDCONFIG via command line to create the necessary links and cache to the most recent shared libraries.

4. We needed to change the permissions for the mysql.so file in the plugins folder as well to have the execute bit set for the file. chmod +x mysql.so.

5. We then navigated to the SAMP Servers folder in the /plugins folder. Using the ldd command we can see that mysql.so file is not there and working.
root@308882 [/home/plaproje/.gameservers/samp_0/plugins]# ldd mysql.so
libmysqlclient_r.so.15 => /usr/lib/libmysqlclient_r.so.15 (0xb7d69000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7d4e000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7c63000)
libm.so.6 => /lib/libm.so.6 (0xb7c39000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7c1a000)
libc.so.6 => /lib/libc.so.6 (0xb7a8a000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7a5a000)
libnsl.so.1 => /lib/libnsl.so.1 (0xb7a3f000)
/lib/ld-linux.so.2 (0xb7ee7000)
libfreebl3.so => /lib/libfreebl3.so (0xb79f0000)
libdl.so.2 => /lib/libdl.so.2 (0xb79ea000)

Or, have you tried to install with these commands in below?

yum install gcc
yum install gpp
yum install mysql

Thank you.
Reply


Messages In This Thread
Problems - by CrazyChoco - 06.11.2012, 21:53
Re: Problems - by Jikesh - 07.11.2012, 02:36
Re: Problems - by CrazyChoco - 07.11.2012, 04:42
Re: Problems - by Mark™ - 07.11.2012, 05:27
Re: Problems - by mSlat3r - 07.11.2012, 05:44
Re: Problems - by CrazyChoco - 07.11.2012, 16:58
Re: Problems - by CrossUSAAF - 07.11.2012, 17:23
Re: Problems - by CrazyChoco - 07.11.2012, 17:36
Re: Problems - by CrossUSAAF - 07.11.2012, 17:49
Re: Problems - by CrazyChoco - 07.11.2012, 17:51

Forum Jump:


Users browsing this thread: 1 Guest(s)