Jump to content
  • 0

Eroare libmysqlclient.so.18


Andronache

Question

Salutare. Am si eu  o problema. Recent am adaugat in gm meu un sistem de clan cu ajutorul si scriptul lui @Dennis12. si am modificat baza de date in asa fel incat sa nu se buguiasca si acum nu mai merge gm, nu il mai porneste. Intai imi dadea ca nu exista libmysqlclient.so.18 in folder, l-am descarcat de pe net, l-am pus acolo si acuma nu imi merge si imi da eroarea asta in server log.

 

[13:47:27] 
[13:47:27] Server Plugins
[13:47:27] --------------
[13:47:27]  Loading plugin: mysql.so
[13:47:27]   Failed (/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by plugins/mysql.so))
[13:47:27]  Loading plugin: sscanf.so
[13:47:27] 

Putin ajutor va rog?

Link to comment
Share on other sites

14 answers to this question

Recommended Posts

  • 0

Nu prea ai ce face. Ce versiune de mysql folosesti?

Pentru ca punand librari prin folderul root al serverului nu va rezolva nimic, librariile trebuie instalate in sistemul de operare(cum instalezi Visual c++ pe windows asa instalezi si GCC/libstdc++pe linux). Tot ce poti e sa iti rogi firma de host sa actualizeze sistemul de operare si sa instaleze ultimele versiuni ale librarilor pentru a putea folosi toate pluginele de samp actualizate( ZeroPing dupa ce le dadusem tichet(probabil si alti au dat) la 1-2 luni au instalat CentoS 7 + tot ce era nevoie) si asa am putut folosi mysql r40+ si altele

Edited by Banditul
Link to comment
Share on other sites

  • 0

Cel de la host mi-a zis ca e versiunea de centos 7

NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

Mai trebuie sa mai instaleze ceva pe langa versiunea asta ca sa pot folosi tot ce am nevoie?

Link to comment
Share on other sites

  • 0

Sistemul de clan are in cod formatarea bazei de date in felul urmator:

 format(QUERY, sizeof QUERY, "UPDATE `users` SET `user_clanstats` = '%d %d %d %d %d' WHERE `user_id` = '%d' LIMIT 1;", PlayerInfo[playerid][pClan], PlayerInfo[playerid][pClanRank], PlayerInfo[playerid][pClanTag],
              PlayerInfo[playerid][pClanDays], PlayerInfo[playerid][pClanWarns], PlayerInfo[playerid][pSQLID]); 

Iar gm meu are in felul urmator

 mysql_format(SQL, var, sizeof(var), "UPDATE `users` SET `Money`='%d' WHERE `name`='%s'",GetPlayerCash(playerid), PlayerInfo[playerid][pNormalName]);
                    mysql_tquery(SQL,var,"",""); 

Poate influenta asta eroarea pe care o da? Acuma cel care detine hostul incearca sa instaleze ce e de instalat pe host poate rezolva. Intre timp e posibil sa fie si de la mine problema?

Link to comment
Share on other sites

  • 0

Ti s'a dat mura'n gura, ce tot mai vrei? Iti zice destul de clar eroare ce'ti lipseste, daca cei de la host ti'au spus deja ca folosesc ca S.O CENTOS7 tu la ce'i bagi debian? Descarca omule de pe github de la mysql r41-4(versiunea pe care o folosesti tu) pe CENTOS7, fisierele din arhiva le urci direct prin FTP si dai restart.

Link to comment
Share on other sites

  • 0

Usor frate, ce-ai. Am facut asta de n ori :)) Hostul si-a facut upgrade la librarii si acum imi arata eroarea asta:
 

 [15:25:36]  Loading plugin: libmysqlclient.so
[15:25:36]   Failed (plugins/libmysqlclient.so: invalid ELF header) 

Si asta

 [15:25:36]    Error: Function not registered: 'cache_get_row_count'
[15:25:36]    Error: Function not registered: 'cache_get_field_content'
[15:25:36]    Error: Function not registered: 'cache_get_field_count'
[15:25:36]    Error: Function not registered: 'cache_get_row'
[15:25:36]    Error: Function not registered: 'CreateDynamicRectangle'
[15:25:36]    Error: Function not registered: 'SSCANF_Init'
[15:25:36]    Error: Function not registered: 'SSCANF_Join'
[15:25:36]    Error: Function not registered: 'SSCANF_Leave'
[15:25:36]    Error: Function not registered: 'cache_get_field_content_int'
[15:25:36]    Error: Function not registered: 'sscanf'
[15:25:36]    Error: Function not registered: 'mysql_format'
[15:25:36]    Error: Function not registered: 'mysql_tquery'
[15:25:36]    Error: Function not registered: 'mysql_escape_string'
[15:25:36]    Error: Function not registered: 'mysql_query'
[15:25:36]    Error: Function not registered: 'cache_delete'
[15:25:36]    Error: Function not registered: 'cache_insert_id'
[15:25:36]    Error: Function not registered: 'IsValidDynamicObject'
[15:25:36]    Error: Function not registered: 'DestroyDynamicObject'
[15:25:36]    Error: Function not registered: 'CreateDynamicObject'
[15:25:36]    Error: Function not registered: 'SetDynamicObjectMaterialText'
[15:25:36]    Error: Function not registered: 'AttachDynamicObjectToVehicle'
[15:25:36]    Error: Function not registered: 'cache_get_data'
[15:25:36]    Error: Function not registered: 'CreateDynamic3DTextLabel'
[15:25:36]    Error: Function not registered: 'DestroyDynamic3DTextLabel'
[15:25:36]    Error: Function not registered: 'Streamer_SetFloatData'
[15:25:36]    Error: Function not registered: 'UpdateDynamic3DTextLabelText'
[15:25:36]    Error: Function not registered: 'mysql_close'
[15:25:36]    Error: Function not registered: 'cache_get_field_content_float'
[15:25:36]    Error: Function not registered: 'CreateDynamicPickup'
[15:25:36]    Error: Function not registered: 'CreateDynamicMapIcon'
[15:25:36]    Error: Function not registered: 'mysql_unprocessed_queries'
[15:25:36]    Error: Function not registered: 'DestroyDynamicPickup'
[15:25:36]    Error: Function not registered: 'mysql_log'
[15:25:36]    Error: Function not registered: 'mysql_connect'
[15:25:36]    Error: Function not registered: 'CountDynamicObjects'
[15:25:36]    Error: Function not registered: 'CountDynamicPickups'
[15:25:36]    Error: Function not registered: 'MoveDynamicObject'
[15:25:36]    Error: Function not registered: 'cache_get_row_int'
	

 

Inainte mergea totul cum trebuie, acum nu stiu de ce se intampla toate erorile astea

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.