Run time error 19: "File or function is not found" - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Run time error 19: "File or function is not found" (
/showthread.php?tid=662582)
Run time error 19: "File or function is not found" -
RevCeo - 06.01.2019
Hi there,
I need some help from you guys. Ive been trying to get this up and runnin for while now.
I get this now after ive updated all inc and stuff..
Code:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team
[02:37:51]
[02:37:51] Server Plugins
[02:37:51] --------------
[02:37:51] Loading plugin: crashdetect.so
[02:37:51] CrashDetect v4.10 is OK.
[02:37:51] Loaded.
[02:37:51] Loading plugin: streamer.so
[02:37:51]
*** Streamer Plugin v2.7.4 by Incognito loaded ***
[02:37:51] Loaded.
[02:37:51] Loading plugin: mysql.so
[02:37:51] Failed (libmysqlclient_r.so.16: wrong ELF class: ELFCLASS64)
[02:37:51] Loading plugin: sscanf.so
[02:37:51]
[02:37:51] ===============================
[02:37:51] sscanf plugin loaded.
[02:37:51] Version: 2.8.1
[02:37:51] © 2012 Alex "Y_Less" Cole
[02:37:51] ===============================
[02:37:51] Loaded.
[02:37:51] Loading plugin: CVector.so
[02:37:51] -------------------------------------------------------
[02:37:51] - -
[02:37:51] - Vectoral Pawn v1.0 Loaded -
[02:37:51] - by Skyline. -
[02:37:51] - -
[02:37:51] -------------------------------------------------------
[02:37:51] Loaded.
[02:37:51] Loaded 4 plugins.
[02:37:51]
[02:37:51] Filterscripts
[02:37:51] ---------------
[02:37:51] Loading filterscript 'yom_buttons.amx'...
[02:37:51] Loaded 1 filterscripts.
[02:37:51] [debug] Run time error 19: "File or function is not found"
[02:37:51] [debug] mysql_connect
[02:37:51] [debug] mysql_stat
[02:37:51] [debug] mysql_tquery
[02:37:51] [debug] cache_get_row_count
[02:37:51] [debug] cache_get_field_count
[02:37:51] [debug] cache_get_row
[02:37:51] [debug] cache_get_row_int
[02:37:51] [debug] mysql_close
[02:37:51] [debug] mysql_errno
[02:37:51] [debug] cache_get_field_content
[02:37:51] [debug] cache_get_field_content_int
[02:37:51] [debug] mysql_escape_string
[02:37:51] [debug] mysql_query
[02:37:51] [debug] cache_affected_rows
[02:37:51] [debug] cache_get_field_content_float
[02:37:51] [debug] Run time error 19: "File or function is not found"
[02:37:51] [debug] mysql_connect
[02:37:51] [debug] mysql_stat
[02:37:51] [debug] mysql_tquery
[02:37:51] [debug] cache_get_row_count
[02:37:51] [debug] cache_get_field_count
[02:37:51] [debug] cache_get_row
[02:37:51] [debug] cache_get_row_int
[02:37:51] [debug] mysql_close
[02:37:51] [debug] mysql_errno
[02:37:51] [debug] cache_get_field_content
[02:37:51] [debug] cache_get_field_content_int
[02:37:51] [debug] mysql_escape_string
[02:37:51] [debug] mysql_query
[02:37:51] [debug] cache_affected_rows
[02:37:51] [debug] cache_get_field_content_float
[02:37:51] Script[gamemodes/new.amx]: Run time error 19: "File or function is not found"
[02:37:51] Number of vehicle models: 0
I hope to hear from someone soon..
Re: Run time error 19: "File or function is not found" -
RoboN1X - 06.01.2019
You need to reinstall / update MySQL Plugin
https://sampforum.blast.hk/showthread.php?tid=56564 (>= R33), choose
R39-6 for the latest series of R33. Recompile your code if needed.
Code:
[02:37:51] Loading plugin: mysql.so
[02:37:51] Failed (libmysqlclient_r.so.16: wrong ELF class: ELFCLASS64)
This error indicates the plugin failed to load and it can happen due to missing dependencies/bad installation (i.e. installing 32 bits program on 64 bits operating system).
What is your linux distro & version?
Do upgrade / install mysql-client on your system (or use static version of plugin mysql_static.so) and make sure you have the ia-32 libs package installed or the 32 bits architecture library that suits your system.
Re: Run time error 19: "File or function is not found" -
ch1ps - 06.01.2019
You need 32 bit libraries, also use mysql_static.so