Page 1 of 1

Linux OB: libz.so.1 not found

Posted: Tue Oct 01, 2013 5:52 am
by BackRaw
Hi guys,

everytime I try

Code: Select all

plugin_load addons/source_python
I get this:
The attachment sp error.jpg is no longer available


Is there a workaround? I really wanna try this plugin right now :D

Posted: Tue Oct 01, 2013 6:59 am
by Omega_K2
The obvious solution: Install libz.so.1 and put it in library search paths.

Edit: If you are linux novice, these are solutions common for any programm:

1) Though Package Manager
- Try to find relevant packages in your distributions package manager (search google, there might be a tool for searching for files in packages - like apt-file in ubuntu)
- Install the package

2) Download the package/library from another disribution
- Locate the file in another package in another distributions
- Locate possible dependencies as well ( use ldd for that)
- Now you've several possiblities:
-- a) Install libs sytem wide [would not do that]
-- b) Install libs in a local accessable foder - ie. create a local library folder, and start the server with LD_LIBRARY_PATH=/the/folder/
-- c) Dump the libs in server's bin/

3) Build it yourself
- Locate the sourcecode of the file with the appropinate version
- Compile it yourself
- Proceed like step 2

Posted: Thu Oct 03, 2013 3:21 am
by BackRaw
Omega_K2 wrote:The obvious solution: Install libz.so.1 and put it in library search paths.

Edit: If you are linux novice, these are solutions common for any programm:

1) Though Package Manager
- Try to find relevant packages in your distributions package manager (search google, there might be a tool for searching for files in packages - like apt-file in ubuntu)
- Install the package

2) Download the package/library from another disribution
- Locate the file in another package in another distributions
- Locate possible dependencies as well ( use ldd for that)
- Now you've several possiblities:
-- a) Install libs sytem wide [would not do that]
-- b) Install libs in a local accessable foder - ie. create a local library folder, and start the server with LD_LIBRARY_PATH=/the/folder/
-- c) Dump the libs in server's bin/

3) Build it yourself
- Locate the sourcecode of the file with the appropinate version
- Compile it yourself
- Proceed like step 2


The package name is "zlib", I'm using Arch Linux x64. I installed it already, copied the file to SteamCMD/servers/css/bin, chown'd it to my user account, didn't change a thing :(

Posted: Thu Oct 03, 2013 3:40 am
by Omega_K2
Install the 32 bit package. If it's a system wide package, you don't need to copy it at all.

Posted: Mon Oct 07, 2013 11:39 pm
by BackRaw
Omega_K2 wrote:Install the 32 bit package. If it's a system wide package, you don't need to copy it at all.


Gonna try that thanks :)

EDIT:

Code: Select all

pacman -S lib32-zlib
did the trick!