cannot find -lmysqlclient
Posted by: Jakub Kleemann
Date: February 16, 2020 09:53AM

Hey the problem is as the subject says but also full error:

In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from init.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from server.h:26,
from librarymodule.c:19:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from server.h:26,
from codextended.c:35:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[COMMON]
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from cvar.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from cmd.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from files.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from msg.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from curl.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[GAME]
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from shared.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from script.h:21,
from script.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from server.h:26,
from bg_pmove.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from bg_public.h:18,
from bg_misc.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from script.h:21,
from g_utils.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from script.h:21,
from g_spawn.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from g_active.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from q_math.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[SERVER]
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from server.h:26,
from sv_snapshot.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from server.h:26,
from sv_commands.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from server.h:26,
from sv_client.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from server.h:26,
from sv_world.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from bg_public.h:18,
from sv_game.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from server.h:26,
from sv_init.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from server.h:26,
from net_chan.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from server.h:26,
from sv_main.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from server.h:26,
from x_clientcmds.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from server.h:26,
from unix_net.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[SCRIPT]
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from pre.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from script.h:21,
from scr_bots.c:1:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from script.h:21,
from scr_misc.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from script.h:21,
from scr_io.c:23:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from script.h:21,
from scr_method_player.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from script.h:21,
from scr_string.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from script.h:21,
from scr_fields.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from script.h:21,
from scr_method_entity.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from script.h:21,
from scr_math.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from script.h:21,
from scr_waypoints.c:29:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/mysql/mysql.h:80,
from shared.h:45,
from script.h:21,
from scr_mysql.c:18:
/usr/include/mysql/mysql_com.h:1034:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
/usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libmysqlclient.so when searching for -lmysqlclient
/usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libmysqlclient.a when searching for -lmysqlclient
/usr/bin/ld: cannot find -lmysqlclient
collect2: error: ld returned 1 exit status
Done.

Options: ReplyQuote


Subject
Views
Written By
Posted
cannot find -lmysqlclient
1658
February 16, 2020 09:53AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.