Mubeen Baig

Libncursesw.so.5: cannot open shared object file:

Recommended Posts

Hello, i recently got vps with Ubuntu 19.04 and i have successfully installed OGP in it. When i started MTA server x64 using it, I got following error in log file:

libncursesw.so.5: cannot open shared object file: No such file or directory
ERROR: Could not load ./x64/core.so
* Check installed data files.
Press enter to continue...

I checked google for all possible fixes but still i am getting this issue. I have already installed that required lib but its not helping at all. I also have installed 32 bit libraries, tried to install ncurses manually but same issue. Kindly help me with it.

Share this post


Link to post

Try:

apt-get install libncursesw5-dev

If that doesn't work, what is the output of:

ldd ./x64/core.so

 

Share this post


Link to post

Ok, from that ldd command i figured out i was still missing 32 bit libraries of libncurses. Since its ubuntu 19 so it is not possible to install them using apt-get install command directly. Although i installed it manually but yet i was missing them somehow. When i did apt-get install lib32ncurses, i couldn't get the package.
So i fixed it with following commands from a guide i found just now:

sudo dpkg --add-architecture i386 
sudo apt-get update 
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1

Thanks for your support. You may close the thread now thanks.

Share this post


Link to post

Ok. Thanks for posting the solution.

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.