Raised This Month: $ Target: $400
 0% 

Solved Sourcemod and metamod don't work on WSL2 Ubuntu 20.04 LTS


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 06-09-2022 , 10:50   Re: Sourcemod and metamod don't work on WSL2 Ubuntu 20.04 LTS
Reply With Quote #6

Quote:
failed to dlopen /home/steam/SRCDS/csgo/addons/metamod/bin/linux64/server.so error=/home/steam/SRCDS/csgo/addons/metamod/bin/linux64/server.so: wrong ELF class: ELFCLASS64
Unable to load plugin "addons/metamod/bin/linux64/server"
failed to dlopen /home/steam/SRCDS/csgo/addons/metamod/bin/server.so error=/home/steam/SRCDS/csgo/addons/metamod/bin/server.so: failed to map segment from shared object
Unable to load plugin "addons/metamod/bin/server"
I've some problem, csgo starting, but metamod not works..

Quote:
RUN dpkg --add-architecture i386 && apt-get update && apt-get install -y \
locales \
net-tools \
iputils-ping \
binutils \
gdb \
lib32gcc-s1 \
lib32stdc++6 \
lib32z1 \
libsdl2-2.0-0:i386 \
tar \
wget \
curl \
tmux \
installed latest mm and sm

Quote:
-rw-r--r-- 1 steam steam 27024 Jul 12 2021 server.so
-rw-r--r-- 1 steam steam 27044 Jul 12 2021 server_i486.so
steam@8ba41fcb0241:~/SRCDS/csgo/addons/metamod/bin$ pwd
/home/steam/SRCDS/csgo/addons/metamod/bin
steam@8ba41fcb0241:~/SRCDS/csgo/addons/metamod/bin$ cd linux64/
steam@8ba41fcb0241:~/SRCDS/csgo/addons/metamod/bin/linux64$ ls -l
total 340
-rw-r--r-- 1 steam steam 308864 Jul 12 2021 metamod.2.csgo.so
-rw-r--r-- 1 steam steam 33240 Jul 12 2021 server.so
steam@8ba41fcb0241:~/SRCDS/csgo/addons/metamod/bin/linux64$
Quote:
Linux 8ba41fcb0241 5.13.0-46-generic #51-Ubuntu SMP Sat May 21 019:51 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Quote:
21.10
Yes! Fixed. Move out lib from bin dir. Works on Hyper-V, WSL2, Ubuntu 22.04 LTS
`sudo mv /home/pro/CSGO/bin/libgcc_s.so.1 ~`

Last edited by ZASTRELIS; 06-10-2022 at 01:55.
ZASTRELIS is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode