SA-MP Forums Archive
AntiCheat by Gamer_Z : (libsampgdk.so.2: cannot open shared object file: No such file or directory) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: AntiCheat by Gamer_Z : (libsampgdk.so.2: cannot open shared object file: No such file or directory) (/showthread.php?tid=403441)



AntiCheat by Gamer_Z : (libsampgdk.so.2: cannot open shared object file: No such file or directory) - petrux - 30.12.2012

Hello !
I host my server on a VPS with Debian 64bits.
I want to install this : AntiCheat by Gamer_Z

But I got this message in logs :
Код:
[13:00:30]  Loading plugin: mysql.so
[13:00:35] 

  > MySQL plugin R7 successfully loaded.

[13:00:35]   Loaded.
[13:00:35]  Loading plugin: AntiCheatPlugin.so
[13:00:35]   Failed (libsampgdk.so.2: cannot open shared object file: No such file or directory)
Anyone know what can I do ? (SampGdk doesn't seems to work)

Thanks !


Re: AntiCheat by Gamer_Z : (libsampgdk.so.2: cannot open shared object file: No such file or directory) - Dusan01 - 30.12.2012

It should be fine if you install with
Код:
--prefix=/usr/local
so the files are put in standard locations. If it still doesn't work you can set the
Код:
LD_LIBRARY_PATH
variable to point out to you server root when running the server, for example:

Код:
LD_LIBRARY_PATH=/home/user/samp03 ./samp03svr
See the Library Path section here:
http://www.yolinux.com/TUTORIALS/Lib...ndDynamic.html


Re : AntiCheat by Gamer_Z : (libsampgdk.so.2: cannot open shared object file: No such file or directory) - petrux - 30.12.2012

I already tried that, but it doesn't work ...
The new SampGDK (3.1.3) don't have any "libsampgdk.so.2", it's maybe for this reason ?


Re: AntiCheat by Gamer_Z : (libsampgdk.so.2: cannot open shared object file: No such file or directory) - Gamer_Z - 30.12.2012

my packages always include the installers for libraries they use. the old sampgdk is in the zip file.


Re : AntiCheat by Gamer_Z : (libsampgdk.so.2: cannot open shared object file: No such file or directory) - petrux - 31.12.2012

Gamer_Z : The last package is not with the good library I think... (Or I did something wrong )
I've made it working by download an older version of your anticheat, and take the libsampgdk.so.2.2.3 (or 2.2.2, I don't know), put it in /usr/lib, and rename it to libsampgdk.so.2

Thanks !


Re : AntiCheat by Gamer_Z : (libsampgdk.so.2: cannot open shared object file: No such file or directory) - petrux - 31.12.2012

No, it will crash :
Take the libsampgdk.so.*** (Don't remember) in the new package, rename it to libsampgdk.so.2, and put it in /usr/lib.


Re: AntiCheat by Gamer_Z : (libsampgdk.so.2: cannot open shared object file: No such file or directory) - Scienziatopazzo - 02.01.2013

@Gamer_Z I use a 64-bit sistem (Windows Server 2012), when I load the plugin it says "Failed.", why?


Re : AntiCheat by Gamer_Z : (libsampgdk.so.2: cannot open shared object file: No such file or directory) - Ultrascipter - 16.02.2014

UP !