AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   Why doesn't my SourceMod work on Linux? (https://forums.alliedmods.net/showthread.php?t=330018)

FuHua 01-17-2021 04:44

Why doesn't my SourceMod work on Linux?
 
Hmm.. This is the first time I use sourcemod on linux, and when I copy it to the csgo folder, it doesn't work. I don't know what I did wrong because I have been using sourcemod on Windows for a long time.
My English is not good, so I use translation software. Thank you for reading.

https://imgur.com/a/6g63nIX

DJ Tsunami 01-17-2021 07:00

Re: Why doesn't my SourceMod work on Linux?
 
You cannot copy your SourceMod installation from Windows to Linux, you need to download Metamod:Source and SourceMod for Linux:

https://metamodsource.net/downloads.php?branch=stable
https://www.sourcemod.net/downloads.php?branch=stable

When you have installed those, you can copy your configs and plugins from your Windows server.

FuHua 01-17-2021 10:57

Re: Why doesn't my SourceMod work on Linux?
 
Quote:

Originally Posted by DJ Tsunami (Post 2732936)
You cannot copy your SourceMod installation from Windows to Linux, you need to download Metamod:Source and SourceMod for Linux:

https://metamodsource.net/downloads.php?branch=stable
https://www.sourcemod.net/downloads.php?branch=stable

When you have installed those, you can copy your configs and plugins from your Windows server.

Thank you for your reply, but this is not my problem... I have used the linux version from the beginning.

TomL. 01-18-2021 05:32

Re: Why doesn't my SourceMod work on Linux?
 
Make sure you are downloading the linux version of both meta and sourcemod.
If that's the case you can try executing this from terminal:
Quote:

Originally Posted by TomL. (Post 2731615)
Code:

add-apt-repository multiverse
dpkg --add-architecture i386
apt-get update
apt-get install lib32gcc1 lib32stdc++6


If that doesn't do the trick please tell me what linux distribution you are using.

FuHua 01-18-2021 14:47

Re: Why doesn't my SourceMod work on Linux?
 
Quote:

Originally Posted by TomL. (Post 2733062)
Make sure you are downloading the linux version of both meta and sourcemod.
If that's the case you can try executing this from terminal:


If that doesn't do the trick please tell me what linux distribution you are using.

Thanks but my system does not have these packages...it is CentOS 7.6

TomL. 01-18-2021 14:53

Re: Why doesn't my SourceMod work on Linux?
 
It's been a while but I think these are the libs for centos...
But I haven't checked myself :/
Code:

yum install glibc.i686 libstdc++.i686

FuHua 01-18-2021 20:30

Re: Why doesn't my SourceMod work on Linux?
 
Quote:

Originally Posted by TomL. (Post 2733167)
It's been a while but I think these are the libs for centos...
But I haven't checked myself :/
Code:

yum install glibc.i686 libstdc++.i686

Thank you. After I set the user and user group of the folder to root, it starts to work.

TomL. 01-19-2021 00:24

Re: Why doesn't my SourceMod work on Linux?
 
Well, you don't want to run the game server as root so I would highly recommend you to check your permissions and fix them without having to use root.

micazoid 01-24-2021 13:45

Re: Why doesn't my SourceMod work on Linux?
 
also look if your user you want to run the gameserver of is the owner of sourcemod and metamod

Edit:
Woops, 3 days old thread xD


All times are GMT -4. The time now is 08:35.

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