Linux OB: libz.so.1 not found

All other Source.Python topics and issues.
User avatar
BackRaw
Senior Member
Posts: 537
Joined: Sun Jul 15, 2012 1:46 am
Location: Germany
Contact:

Linux OB: libz.so.1 not found

Postby BackRaw » Tue Oct 01, 2013 5:52 am

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
Attachments
sp error.jpg
Omega_K2
Senior Member
Posts: 227
Joined: Sat Jul 07, 2012 3:05 am
Location: Europe
Contact:

Postby Omega_K2 » Tue Oct 01, 2013 6:59 am

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
Libraries: k2tools
Plugins (any): GSRPG (soon) | Pretty Status List | MySQLAds (soon)
Plugins (game-specific): None atm

If you happen to find a bug or need help, either post in the release threads or contact me in IRC gamesurge.net:6667 / #sourcepython
User avatar
BackRaw
Senior Member
Posts: 537
Joined: Sun Jul 15, 2012 1:46 am
Location: Germany
Contact:

Postby BackRaw » Thu Oct 03, 2013 3:21 am

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 :(
Omega_K2
Senior Member
Posts: 227
Joined: Sat Jul 07, 2012 3:05 am
Location: Europe
Contact:

Postby Omega_K2 » Thu Oct 03, 2013 3:40 am

Install the 32 bit package. If it's a system wide package, you don't need to copy it at all.
Libraries: k2tools

Plugins (any): GSRPG (soon) | Pretty Status List | MySQLAds (soon)

Plugins (game-specific): None atm



If you happen to find a bug or need help, either post in the release threads or contact me in IRC gamesurge.net:6667 / #sourcepython
User avatar
BackRaw
Senior Member
Posts: 537
Joined: Sun Jul 15, 2012 1:46 am
Location: Germany
Contact:

Postby BackRaw » Mon Oct 07, 2013 11:39 pm

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!

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 44 guests