Jump to content

Server not starting on Ubuntu 22.04


Recommended Posts

/lib/x86_64-linux-gnu/libncursesw.so.5: version `NCURSESW_5.1.20000708' not found (required by ./x64/core.so)
ERROR: Could not load ./x64/core.so
* Check installed data files.
Press enter to continue...

I tried everything from the post here: https://forum.multitheftauto.com/topic/121715-libncurseswso5-cannot-open-shared-object-file/

Nothing helped, not sure is anyone having this issue as well.

This is basically the same issue from this post with no replies: https://forum.multitheftauto.com/topic/140753-cant-start-the-server-on-unbuntu-224/

Also I'm not sure if this is relevant or not but this is on Docker container, dockerfile is pretty simple:

# Base image
FROM ubuntu:latest

RUN dpkg --add-architecture i386

# Update the package list
RUN apt-get update && apt-get upgrade -y
RUN dpkg --add-architecture i386
RUN apt-get update
# Install dependencies
RUN apt-get install zip bash tar unzip lib32z1 lib32ncurses5-dev screen wget -y

# Use wanted MTA:SA version

# Copy the MTA:SA tar.xz file to the container
COPY install/${MTA_VERSION}/multitheftauto_linux_x64.tar.gz .
# Copy the MTA:SA baseconfig.tar.gz file to the container
COPY install/${MTA_VERSION}/baseconfig.tar.gz .

# Unpack the MTA:SA tar.xz file
RUN tar -xzf multitheftauto_linux_x64.tar.gz -C /opt/
# Unpack the MTA:SA baseconfig.tar.gz file
RUN tar -xzf baseconfig.tar.gz -C /opt/multitheftauto_linux_x64/mods/deathmatch/

# Clean up after unpacking the tar.xz files
RUN rm multitheftauto_linux_x64.tar.gz
RUN rm baseconfig.tar.gz

RUN ln -s /usr/lib/x86_64-linux-gnu/libtinfo.so.6 /usr/lib/x86_64-linux-gnu/libtinfo.so.5
RUN ln -s /usr/lib/x86_64-linux-gnu/libncursesw.so.6 /usr/lib/x86_64-linux-gnu/libncursesw.so.5

# Expose the MTA:SA ports
EXPOSE 22003/tcp 22005/tcp 22126/udp

# Start the MTA:SA server
ENTRYPOINT ["/opt/multitheftauto_linux_x64/mta-server64"]

Also version I'm using is downloaded from here: https://linux.multitheftauto.com/dl/multitheftauto_linux_x64.tar.gz

Complete solution is identical to this one here:

Only difference is that I'm trying to update to 1.6.0 version.

Link to comment

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...