SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 06/01/2019, 01:32 AM   #1
RevCeo
Little Clucker
 
RevCeo's Avatar
 
Join Date: Aug 2013
Location: United Kingdom
Posts: 24
Reputation: 0
Default Run time error 19: "File or function is not found"

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, (C)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]    (c) 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..
RevCeo is offline   Reply With Quote
Old 06/01/2019, 06:24 AM   #2
RoboN1X
Huge Clucker
 
RoboN1X's Avatar
 
Join Date: Feb 2011
Location: Indonesia
Posts: 334
Reputation: 57
Default Re: Run time error 19: "File or function is not found"

You need to reinstall / update MySQL Plugin https://forum.sa-mp.com/showthread.php?t=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.
__________________
Need Help? Use Search, WIKI, and FAQ
RoboN1X is offline   Reply With Quote
Old 06/01/2019, 07:20 AM   #3
ch1ps
Little Clucker
 
Join Date: May 2011
Posts: 26
Reputation: 0
Default Re: Run time error 19: "File or function is not found"

You need 32 bit libraries, also use mysql_static.so
__________________

Samp-Rp English Version Beta testing
ch1ps is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] Ajuda - "Run time error 19: "File or function is not Found" UserUnk0wn Português/Portuguese 6 04/01/2017 01:46 PM
[Ajuda] erro ao compilar - Run time error 19: "File or function is not found" LeandroCQC Português/Portuguese 3 23/01/2014 02:31 PM
Script[gamemodes/v1.amx]: Run time error 19: "File or function is not found" 31fahmi Scripting Help 6 06/03/2013 01:47 PM
"Run time error 19: "File or function is not found" TouR Help Archive 2 18/06/2010 11:04 AM


All times are GMT. The time now is 11:17 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.