FelipeMallmann Posted November 26, 2012 Share Posted November 26, 2012 Hello guys, I'm really new in MTA, and that's probably my first topic here. When I try to turn on my server in a linux host, this problem appears: libreadline.so.5: cannot open shared object file: No such file or directory ERROR: Loading mod (/root/dayz/mods/deathmatch/deathmatch.so) failed! Press Q to shut down the server! And The solution I found at the wiki is: If you get a problem with such as "libreadline.so.5: cannot open shared object file: No such file or directory.", it can be solved on Debian by doing this: wget [url=http://ftp.uk.debian.org/debian/pool/main/r/readline5/libreadline5_5.2-7_i386.deb]http://ftp.uk.debian.org/debian/pool/ma ... 7_i386.deb[/url] dpkg -X libreadline5_5.2-7_i386.deb temp cp -d temp/lib/libreadline.so.5* /usr/lib32/ But I don't even know what Debian is, and where to write this codes.. can someone help? Link to comment
Anderl Posted November 26, 2012 Share Posted November 26, 2012 Debian is an operation system, lolz. For your problem: You gotta install libreadline over SSH. Link to comment
FelipeMallmann Posted November 26, 2012 Author Share Posted November 26, 2012 Please help me, what I need to do and how? Link to comment
uhm Posted November 26, 2012 Share Posted November 26, 2012 Have you rented an MTA server? Then contact the staff of that company to do that solution. Have you rented a VPS or dedicated server, or do you own or have access to a linux server? In that case you'll probably have used Putty before to connect remotely to that server, that's the SSH part. Do it again and you'll have access to Debian via a console. That's where you type that wget ......... lib32/ stuff. If you don't know about Putty, then I wonder how exactly you installed MTASA or even run it, but then download "PuTTY". In the window type the IP address of your server. Choose SSH as connection type. After that you can login with user credentials. After that you can type those commands. If you're on Debian with a GUI: go to Applications and then choose Terminal Bonus pro tip: select and copy the "wget ......... lib32/" stuff in Windows, then right click anywhere in the PuTTY terminal window to paste it Let me know if it worked Link to comment
FelipeMallmann Posted November 26, 2012 Author Share Posted November 26, 2012 Yes, I've putty.. 1- wget http://ftp.uk.debian.org/debian/pool/ma ... 7_i386.deb worked, but the others codes didn't What I need to do now? Link to comment
Anderl Posted November 26, 2012 Share Posted November 26, 2012 apt-get update; apt-get install dpkg And then run the codes that didn't work. Link to comment
FelipeMallmann Posted November 26, 2012 Author Share Posted November 26, 2012 apt-get update; apt-get install dpkg And then run the codes that didn't work. Same error: command not found Link to comment
Anderl Posted November 26, 2012 Share Posted November 26, 2012 Without knowing which system you're using it's impossible to tell you the right commands. Check if your system is CentOS, if it is use these commands: yum update; yum install dpkg; The code above that says that is for Debian won't apply for that system, anyway. Link to comment
FelipeMallmann Posted November 26, 2012 Author Share Posted November 26, 2012 Without knowing which system you're using it's impossible to tell you the right commands. Check if your system is CentOS, if it is use these commands: yum update; yum install dpkg; The code above that says that is for Debian won't apply for that system, anyway. yum update worked fine, but yum install dpkg says> Setting Up install process no package dpkg available Error:: nothing to do EDIT: I saw in another topic: "Once you do so, try installing the package again. If it still says it can't find the package, install readline-common package and try installing libreadline5 again." But how can I install readline-common package? Link to comment
uhm Posted November 27, 2012 Share Posted November 27, 2012 Ah ok yeah. dpkg is also a Debian command. But you're on a 64 bit version of CentOS or Fedora. Try this: yum install compat-readline5-static Though this also seems to install to /lib64/libreadline.so.5 /lib64/libreadline.so.5.2 The whole deal is that it oughta install to /lib32/ I honestly have no concrete steps that could help you. I guess find a readline5.5 package for 32 bit CentOS and then install it. Alternatively you can reinstall your server to a 32 bit version, if MTA is the only thing you're running. Source: http://pkgs.org/centos-6-rhel-6/centos- ... 4.rpm.html Link to comment
Anderl Posted November 27, 2012 Share Posted November 27, 2012 Alternatively, you could also try this dpkg package for CentOS: http://pkgs.org/centos-5-rhel-5/epel-x8 ... 4.rpm.html. Link to comment
FelipeMallmann Posted November 27, 2012 Author Share Posted November 27, 2012 Just did yum install compat-readline5-static And then "gta ligar"(my cmd to turn the server on) and it worked. Thanks you two!!! Link to comment
uhm Posted November 27, 2012 Share Posted November 27, 2012 ayo always good when it turns out to be not as difficult keep on codin! Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now