PDA

View Full Version : Cannot install libmysqlclient-dev



buLLeT_
24th March 2018, 22:04
root@borisc:~# apt-get install libmysqlclient-dev:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libmysqlclient-dev:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libmysqlclient-dev:i386' has no installation candidate

Mitch
25th March 2018, 09:13
E: Package 'libmysqlclient-dev:i386' has no installation candidate


Which Linux distro and version?

Did you follow this guide?

https://killtube.org/showthread.php?2454-CoD2-Setup-CoD2-on-your-ubuntu-14-04-server&highlight=Libcod+ubuntu

buLLeT_
25th March 2018, 14:08
Using ubuntu 64bit, I followed that tutorial

I complie libcod


root@borisc:~/libcod# ./doit.sh cod2_1_0

Choose Your MySQL variant:

0. MySQL disabled. (default)

1. Default MySQL variant: A classic MySQL implentation
made by kung and izno.
Multiple connections, multiple threads,
good for servers that use
remote MySQL sessions, IRC stuff, and etc.

2. VoroN's MySQL variant. My own MySQL implentation.
Native callbacks, native arguments,
single connection, single thread,
good for local MySQL session,
less cpu usage, less memory usage.

Press a key to continue...
##### COMPILE cod2_1_0 CRACKING.CPP #####
##### COMPILE cod2_1_0 GSC.CPP #####
##### COMPILE cod2_1_0 GSC_BOTS.CPP #####
##### COMPILE cod2_1_0 GSC_ENTITY.CPP #####
##### COMPILE cod2_1_0 GSC_EXEC.CPP #####
##### COMPILE cod2_1_0 GSC_MEMORY.CPP #####
##### COMPILE cod2_1_0 GSC_MYSQL.CPP #####
##### COMPILE cod2_1_0 GSC_PLAYER.CPP #####
##### WARNING: SQLite lib not found, SQLite compilation skipped #####
##### COMPILE cod2_1_0 GSC_UTILS.CPP #####
##### COMPILE cod2_1_0 GSC_WEAPONS.CPP #####
##### COMPILE cod2_1_0 LIBCOD.CPP #####
##### LINKING libcod2_1_0.so #####


Error


/root/_bin/cod2/cod2_lnxded_1_0a: error while loading shared libraries: libmysql.so.16: cannot open shared object file: No such file or directory

maxdamage99
25th March 2018, 18:13
Your try compile libcod, you can use compiled libcod version

IzNoGoD
25th March 2018, 19:27
did you even do the dpkg command from the guide, followed by an apt-get update?