Jump to content

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.

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.

Link to post
  • 7 months later...
Good afternoon, I also have the same problem with a VPS that I buy.

libncursesw.so.5: cannot open shared object file: no
such file or directory exists ERROR: Could not load ./x64/core.so
* Verify the installed data files.
Press Enter to continue ...

Using the steps given by Mubeen I could not solve my problem, can you help me?


Link to post
  • 5 months later...

Hi, took me a while to get in touch with this post.
With newer versions of Ubuntu, this problem seems more complicated. Problem is that you already have libncurses.so.5 but it is not recognized by the system. Easy way to fix it is to run the following command:
sudo apt-get install -y libncursesw


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.

  • Create New...