Neproify

bcrypt module problem

Recommended Posts

Hello, I installed bcrypt module(https://github.com/pzduniak/ml_bcrypt). My vps is running debian 7.0 64bit. Logs:

[06:46:13] MODULE: Unable to load mods/deathmatch/modules/ml_bcrypt_32.so (/usr/ 
lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required 
by /home/neproify/mtasa/mods/deathmatch/modules/ml_bcrypt_32.so)) 
  

This occur on both 32 and 64 bit servers.

Share this post


Link to post

Try updating:

apt-get update 
apr-get upgrade 

Share this post


Link to post

Thank you for help, but error still occurs. I tried update, upgrade and dist-upgrade.

@edit

I used

strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX 

And i've got this versions:

  
GLIBCXX_3.4 
GLIBCXX_3.4.1 
GLIBCXX_3.4.2 
GLIBCXX_3.4.3 
GLIBCXX_3.4.4 
GLIBCXX_3.4.5 
GLIBCXX_3.4.6 
GLIBCXX_3.4.7 
GLIBCXX_3.4.8 
GLIBCXX_3.4.9 
GLIBCXX_3.4.10 
GLIBCXX_3.4.11 
GLIBCXX_3.4.12 
GLIBCXX_3.4.13 
GLIBCXX_3.4.14 
GLIBCXX_3.4.15 
GLIBCXX_3.4.16 
GLIBCXX_3.4.17 
GLIBCXX_DEBUG_MESSAGE_LENGTH 
  

Maybe I need dev version of gcc?

@edit2

I installed gcc-4.8 and now this error occurs:

[09:23:20] MODULE: Unable to load mods/deathmatch/modules/ml_bcrypt_32.so (/home 
/neproify/mtasa/mods/deathmatch/modules/ml_bcrypt_32.so: undefined symbol: _strd 
up) 
  

It looks it's problem with code. I changed 245 line from this file: https://github.com/pzduniak/ml_bcrypt/b ... /wrapper.c

from _strdup to strdup and it compiles and run fine.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.