LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

[Bug]: bf1942 missing dependency libncurses5:i386 v2

Open o4ier opened this issue 10 months ago • 2 comments

User story

As a user I want that the server starts without a missing library error.

Game

Battlefield 1942

Linux distro

RedHat 9

Command

command: start

Further information

OS is AlmaLinux9 x64, which is a clone of RHEL9. Needed package would be ncurses-compat-libs:i686, which is not available The x86_64-Version of ncurses-compat-libs does not help, as a Symlink created by myself from /usr/lib/libncurses.so.5 to /usr/lib64/libncurses.so.5 creates a wrong ELF class: ELFCLASS64 error in the output

So bf1942 is broken on EL9, I haven't found a source for libncurses5:i686 yet.

Maybe you can help?

(if this sounds familiar to you: contents are slightly copied from #3097 )

Relevant log output

./start.sh: using statically linked binary
./bf1942_lnxded: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

Steps to reproduce

  1. install bt1942 server
  2. try to start the server

o4ier avatar Oct 13 '23 15:10 o4ier

https://access.redhat.com/solutions/6907421 looks like its available in epel

I got this working by copying libncurses.so.5 and libtinfo.so.5 from ubuntu 22.04 and added export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${serverfiles}"

I should be able to implement a fix for this.

My other question is whats the best way to run bf1942? As its difficult to find decent details on how to run the client

dgibbs64 avatar Nov 25 '23 23:11 dgibbs64

Another suggestion for this is to run the LinuxGSM docker container

dgibbs64 avatar Feb 28 '24 22:02 dgibbs64

Closing as solution is to enable EPEL

dgibbs64 avatar Jun 13 '24 13:06 dgibbs64