Vice City: Multiplayer

VC:MP Discussion => Support => Topic started by: Drake on Apr 25, 2015, 11:25 AM

Title: mpsvrrel64 error!
Post by: Drake on Apr 25, 2015, 11:25 AM
When I try to run 64bit of the server in linux then I get this error :
./mpsvrrel64: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by ./mpsvrrel64)

32bit of the server works fine.
Title: Re: mpsvrrel64 error!
Post by: . on Apr 25, 2015, 11:35 AM
Similar issue can be found here (http://forum.vc-mp.org/?topic=528.0).
Title: Re: mpsvrrel64 error!
Post by: Drake on Apr 25, 2015, 11:39 AM
I have Debian 64bit installed and not CentOS.

Might need a different solution!

Edit :

Tried this cmd as you said in that issue :
strings /lib/x86_64-linux-gnu/libc.so.6 | grep GLIBC
Output:
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_PRIVATE
GNU C Library (Debian EGLIBC 2.13-38+deb7u8) stable release version 2.13, by Roland McGrath et al.
Title: Re: mpsvrrel64 error!
Post by: . on Apr 25, 2015, 11:52 AM
Which Debian 7 or 6 ?
Title: Re: mpsvrrel64 error!
Post by: Drake on Apr 25, 2015, 11:53 AM
Quote from: S.L.C on Apr 25, 2015, 11:52 AMWhich Debian 7 or 6 ?

Debian 7
Title: Re: mpsvrrel64 error!
Post by: . on Apr 25, 2015, 12:10 PM
Hmm... sometimes these OS templates are very outdated and in some cases are extremely outdated. Could you run something like:
apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade && sudo apt-get clean
Title: Re: mpsvrrel64 error!
Post by: Drake on Apr 25, 2015, 12:17 PM
Ran all of that.
Nothing updated.
Everything is up-to-date.

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I use Webmin so its very easy to update things and so everything is up-to-date.

Title: Re: mpsvrrel64 error!
Post by: . on Apr 25, 2015, 12:25 PM
You just need to update the glibc version on your system. Searching for similar issues on Debian it turns out that the glibc version that comes by default is a bit outdated. Turns out there's multiple solutions/ideas (link (http://unix.stackexchange.com/questions/85505/need-to-install-glibc-2-14-on-wheezy), link (http://superuser.com/questions/537683/how-to-fix-lib-x86-64-linux-gnu-libc-so-6-version-glibc-2-14-not-found), link (https://github.com/atom/atom/issues/2020)) to solve this. Basically, you'll need the glibc from the experimental branches.
Title: Re: mpsvrrel64 error!
Post by: Drake on Apr 25, 2015, 12:34 PM
Quote from: S.L.C on Apr 25, 2015, 12:25 PMYou just need to update the glibc version on your system. Searching for similar issues on Debian it turns out that the glibc version that comes by default is a bit outdated. Turns out there's multiple solutions/ideas (link (http://unix.stackexchange.com/questions/85505/need-to-install-glibc-2-14-on-wheezy), link (http://superuser.com/questions/537683/how-to-fix-lib-x86-64-linux-gnu-libc-so-6-version-glibc-2-14-not-found), link (https://github.com/atom/atom/issues/2020)) to solve this. Basically, you'll need the glibc from the experimental branches.

It would be better if the developers fix this issue as not much people will be able to solve this kind of issue with all these commands.
I wonder if it can be fixed or not.

I remember using the old 64bit server, i think 3month ago.
It worked without any issue.

@S.L.C are those commands safe?

If not then instead I will use 32bit version rather than using those commands until this gets fixed in the upcoming updates.
Title: Re: mpsvrrel64 error!
Post by: . on Apr 25, 2015, 12:40 PM
Quote from: Drake on Apr 25, 2015, 12:34 PMIf not then instead I will use 32bit version rather than using those commands until this gets fixed in the upcoming updates.

Does your VPS have more than 4Gb or RAM? If not, then you should just use x32 bit. I see no reason for x64 unless your VPS has RAM that you cannot address with an x32 bit OS.
Title: Re: mpsvrrel64 error!
Post by: Drake on Apr 25, 2015, 12:45 PM
Quote from: S.L.C on Apr 25, 2015, 12:40 PMDoes your VPS have more than 4Gb or RAM? If not, then you should just use x32 bit. I see no reason for x64 unless your VPS has RAM that you cannot address with an x32 bit OS.

Yea I know that its useless.
My VPS has only 2GB RAM in it.
Just asked because I cant figure it out why the problem was occuring.

I would rather use 32bit then.
Thank You.
Title: Re: mpsvrrel64 error!
Post by: Drake on Apr 25, 2015, 12:55 PM
Well now I am getting another error in mysql plugin which happens to be same error as the above one :

Plugin error >> dlopen() 'plugins/mysql04rel32.so' failed: /lib/i386-linux-gnu/i686/cmov/libc.so.6: version `GLIBC_2.17' not found (required by plugins/mysql04rel32.so)
Failed to load plugin: mysql04rel32
Title: Re: mpsvrrel64 error!
Post by: . on Apr 25, 2015, 01:10 PM
Look at the links I gave you. Basically that means that the plugin was compiled with a fairly recent version of GCC, most likely from the experimental branches. Therefore, you must also google and find out how to install glibc from the experimental branches. But pay close attention.

Make sure that you create a different user for that or make a script that sets up an environment variable that makes the plugin to use the updated glibc instead of the old one. You can also make the new one the default choice but then some programs that use the old version will fail and so on. But then the server would be forced to use the new one. Now you see the mess here?

Anyway, I'm surprised by this screw up as well. Seems that the mysql plugin was compiled with an experimental compiler even thought it didn't had to. The code in those plugins isn't quite experimental to be necessary to use a recent compiler. Just wait until the devs see this and probably recompile the plugins. And do it properly this time.

The problem is that many people provide these binaries. And that's why you get these inconsistencies.
Title: Re: mpsvrrel64 error!
Post by: Drake on Apr 25, 2015, 01:17 PM
I probably should not mess with it!
A single mistake can lead to death of my VPS :P 

Personally I dont use MySQL but there are many people who do use it.
It should be fixed by the devs ASAP.
Thank You again SLC.

Title: Re: mpsvrrel64 error!
Post by: . on Apr 25, 2015, 01:23 PM
Here's one more suggestion if you'd like. Compile the plugin your self.

Install the compiler:
apt-get install build-essentialInstall the MySQL development stuff:
apt-get install libmysqlclient-dev libmysqld-dev
Get the plugin source. Enter the directory of the plugin and issue a make command:
make
I haven't tried to compile the plugin my self. But I'll probably look at it later on just to be sure.
Title: Re: mpsvrrel64 error!
Post by: Gudio on Apr 25, 2015, 03:25 PM
cat /etc/apt/sources.listYou might upgrade to Debian wheezy.
Title: Re: mpsvrrel64 error!
Post by: Drake on Apr 26, 2015, 12:09 AM
Quote from: Gudio on Apr 25, 2015, 03:25 PMcat /etc/apt/sources.listYou might upgrade to Debian wheezy.

Is'nt Debian 7 actually named wheezy?
Title: Re: mpsvrrel64 error!
Post by: soulshaker on Apr 26, 2015, 06:49 AM
You might be using Minimal version of Debian 7. Get a non Minimal version
Title: Re: mpsvrrel64 error!
Post by: . on Apr 26, 2015, 08:31 AM
Quote from: soulshaker on Apr 26, 2015, 06:49 AMYou might be using Minimal version of Debian 7. Get a non Minimal version

Doesn't matter. A minimal version of Debian simply doesn't include Apache, Bind9, Samba and a couple of other softwares related to either web-development or servers in general. It's not the minimal thing that's causing the issue. It's simply Debian which is and was, always outdated in therms of softwares.

Try Ubuntu if you have it in your template images. As much as I hate Ubuntu you should at least give it a try :D
Title: Re: mpsvrrel64 error!
Post by: Stormeus on Apr 27, 2015, 06:34 PM
As it turns out, the build server we've been using is actually using an unstable build of Debian, and not Wheezy or Squeeze. I'm going to be running a Squeeze VM from home for building and new binaries should be out within the next day or two.
Title: Re: mpsvrrel64 error!
Post by: Gudio on Apr 27, 2015, 07:10 PM
Quote from: Drake on Apr 26, 2015, 12:09 AMIs'nt Debian 7 actually named wheezy?
I asked you to paste the result of cat /etc/apt/sources.listI use Debian 7 with no issues. It can be caused by outdated/unsupported repositories and they must be changed to newer to make your system work well with the 0.4 server.
Quote from: soulshaker on Apr 26, 2015, 06:49 AMYou might be using Minimal version of Debian 7. Get a non Minimal version
That's why soulshaker is partially right.
Title: Re: mpsvrrel64 error!
Post by: Stormeus on Apr 28, 2015, 11:06 AM
Pleaae note that the latest version of Debian is Debian 8 (jessie) now.