Go Back   Steam Users' Forums > Dedicated Server Discussions > Source DS (Linux)

Reply
 
Thread Tools Display Modes
Old 09-20-2007, 08:28 AM   #1
rowan
 
Guest
Posts: n/a
cannot open shared object file

Hi guys,

Wonder if you can help me out here. My auto install scripts have stopped working for the past week.

I get this error message:

[server2@box5 scrds]$ ./steam -command update -game "Counter-Strike Source" -dir .
./steam: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
[server2@box5 scrds]$

Is it me or steam?

Any ideas?

Thanks in advance
 
Reply With Quote
Old 09-20-2007, 08:46 AM   #2
zl-jm
 
Guest
Posts: n/a
Hi

First sorry for my bad english.

I had this problem too after the last steam's update.
In fact, just after that :

Quote:
Getting version 23 of Steam HLDS Update Tool
Downloading. . . . . . . . . . . .
Steam Linux Client updated, please retry the command
My OS is a debian 4.0 with linux kernel 2.6.22 - 64bit

Now steam need libz.so.1...

The libz.so.1 was present but not for 32 bit use.

So i installed ia32-libs, and now that works fine :

try :

Code:
apt-get install ia32-libs

I wish that will help you

Last edited by zl-jm: 09-20-2007 at 09:00 AM. Reason: so bad english...
  Reply With Quote
Old 09-20-2007, 10:24 AM   #3
rowan
 
Guest
Posts: n/a
Sorry i should have said - i am using CentOS

and got this :

[root@box5 home]# yum install ia32-libs
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages from CentOS-4 - Updates
Finished
Excluding Packages from CentOS-4 - Base
Finished
Excluding Packages from CentOS-4 - Addons
Finished
Parsing package install arguments
No Match for argument: ia32-libs
Nothing to do

Last edited by rowan: 09-20-2007 at 10:38 AM.
  Reply With Quote
Old 09-20-2007, 01:14 PM   #4
rowan
 
Guest
Posts: n/a
No joy so far
  Reply With Quote
Old 09-20-2007, 01:14 PM   #5
zl-jm
 
Guest
Posts: n/a
make ldd on steam executable and paste result. It could maybe help people to advise you.

and what about :

yum install zlib-devel

?
  Reply With Quote
Old 09-20-2007, 01:30 PM   #6
rowan
 
Guest
Posts: n/a
what is a ldd ?

and that command didn't fix the problem
  Reply With Quote
Old 09-20-2007, 01:41 PM   #7
Suicidal_Ion
 
Guest
Posts: n/a
From "man ldd":

ldd prints the shared libraries required by each program or shared library specified on the command line.


Shows you what shared libraries is needed by the program. This is an ldd on my server (FC4 Intel)

bash-3.00$ ldd srcds_i686
linux-gate.so.1 => (0x00bc5000)
libm.so.6 => /lib/libm.so.6 (0x00b3d000)
libdl.so.2 => /lib/libdl.so.2 (0x00d0f000)
libc.so.6 => /lib/libc.so.6 (0x00be4000)
/lib/ld-linux.so.2 (0x00bc6000)
bash-3.00$


as root, you will most likely need to install zlib-devel

Like zl-jm said, as root, do "yum install zlib-devel"

And that should help you out.

I have these packages installed:

[root@35197 ~]# yum list | grep -i zlib
zlib.i386 1.2.2.2-5.fc4 installed
zlib-devel.i386 1.2.2.2-5.fc4 installed
[root@35197 ~]#

Both of those would probably have to be installed. Hope this helps.

--Ion
  Reply With Quote
Old 09-20-2007, 01:45 PM   #8
zl-jm
 
Guest
Posts: n/a
ldd command returns the list of required libraries and if they are installed

Code:
user@ns24784:~/game_css1$ ldd steam
        linux-gate.so.1 =>  (0xffffe000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf7fa4000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf7f93000)
        libz.so.1 => /usr/lib32/libz.so.1 (0xf7f7f000)
        libm.so.6 => /lib32/libm.so.6 (0xf7f5a000)
        libc.so.6 => /lib32/libc.so.6 (0xf7e2f000)
        /lib/ld-linux.so.2 (0xf7fb1000)

i think srcds_i686 has no problem, just steam update program.

Last edited by zl-jm: 09-20-2007 at 01:48 PM.
  Reply With Quote
Old 09-20-2007, 01:52 PM   #9
Suicidal_Ion
 
Guest
Posts: n/a
Ahh right, good call.



bash-3.00$ ldd steam
linux-gate.so.1 => (0x00bc5000)
/lib/libNoVersion.so.1 (0x001d7000)
libdl.so.2 => /lib/libdl.so.2 (0x00d0f000)
libpthread.so.0 => /lib/obsolete/linuxthreads/libpthread.so.0 (0x00f70000)
libm.so.6 => /lib/obsolete/linuxthreads/libm.so.6 (0x009c9000)
libc.so.6 => /lib/obsolete/linuxthreads/libc.so.6 (0x00e26000)
/lib/ld-linux.so.2 (0x00bc6000)
bash-3.00$
  Reply With Quote
Old 09-20-2007, 02:21 PM   #10
rowan
 
Guest
Posts: n/a
[server2@box5 scrds]$ ldd steam
/lib/libNoVersion.so.1 (0xf7ffb000)
linux-gate.so.1 => (0xffffe000)
libdl.so.2 => /lib/libdl.so.2 (0xf7fed000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf7f9a000)
libz.so.1 => not found
libm.so.6 => /lib/libm.so.6 (0xf7f77000)
libc.so.6 => /lib/libc.so.6 (0xf7e4b000)
/lib/ld-linux.so.2 (0x00196000)
[server2@box5 scrds]$


am i missing anything?
  Reply With Quote
Old 09-20-2007, 03:03 PM   #11
rowan
 
Guest
Posts: n/a
ok solution to the problem:

libz.so.1 was missing for some strange reason

got another libz.so.1 and copied it to /lib and /usr/lib

install now works:

./steam -command update -game "Counter-Strike Source" -dir .
Checking bootstrapper version ...
Updating Installation

I hope this helps anyone else who is unfortunate enough to encounter this issue
  Reply With Quote
Reply

Go Back   Steam Users' Forums > Dedicated Server Discussions > Source DS (Linux)


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 Off
HTML code is Off



All times are GMT -7. The time now is 04:50 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2014, All Rights Reserved.