Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: bf1942 missing dependency libncurses5:i386 v2 #4333

Closed
o4ier opened this issue Oct 13, 2023 · 3 comments
Closed

[Bug]: bf1942 missing dependency libncurses5:i386 v2 #4333

o4ier opened this issue Oct 13, 2023 · 3 comments

Comments

@o4ier
Copy link

o4ier commented Oct 13, 2023

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 o4ier added the type: bug Something isn't working label Oct 13, 2023
@o4ier o4ier changed the title [Bug]: [Bug]: bf1942 missing dependency libncurses5:i386 v2 Oct 13, 2023
@dgibbs64
Copy link
Member

dgibbs64 commented Nov 25, 2023

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
Copy link
Member

Another suggestion for this is to run the LinuxGSM docker container

@dgibbs64
Copy link
Member

Closing as solution is to enable EPEL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants