Shoutcast starting problem.

kanomen

Verified User
Joined
Dec 27, 2006
Messages
27
I was using shoutcast on my server but after restarted my server there is an error occured.

/libexec/ld-elf.so.1: Shared object "libpthread.so.1" not found, required by "sc_serv"

What you offer me to do ?

Thanks.
Kind Regards.
 
You have got to install the libpthread, or add the path, where the libpthread.1 is installed in your the LD_LIBRARY_PATH or make a link from where the location of th e libs to /usr/lib.

Try locate libpthread.so.1
and post outcome here

Maybe u could post the OS here and the specific error's
 
Last edited:
server# locate libpthread.so.1
server# locate libpthread.so.1
server# locate libpthread.so
/usr/lib/libpthread.so
/usr/lib/libpthread.so.2
server# locate libpthread.so.2
/usr/lib/libpthread.so.2
server# locate libpthread.so.0
server# locate libpthread
/usr/lib/libpthread.a
/usr/lib/libpthread.so
/usr/lib/libpthread.so.2
/usr/lib/libpthread_p.a
server#
 
I searched google and found this help try it and maybe it will work.

Code:
fix it by doing this:

su (root)
cd /usr/ports/misc/compat5x
make clean install
rehash

Now fireup shoutcast (5x binary) should work for ya
 
I do like this :) it's funny but solved totally.

su (root)
cd /usr/ports/misc/compat5x
make deinstall
make clean install
rehash
 
I have tried this until Im blue in the face and I get a error. Im new to servers so I may not be trying it exactly like im supposed to.

I have tried this, :

su root
cd /usr/ports/misc/compat5x
make deinstall
make clean install
rehash

When i Try this is what I get:

$ su (root)
Syntax error: word unexpected (expecting ")")
$ cd /usr/ports/misc/compat5x
$ make clean install
===> Cleaning for localedata-5.4
===> Cleaning for compat5x-i386-5.4.0.8_7
===> Vulnerability check disabled, database not found
mkdir: /usr/ports/distfiles: Permission denied
*** Error code 1

Stop in /usr/ports/misc/compat5x.
$ rehash

Do I need to edit that for my machine? When I try it, it tells me that hash cant be found and that i have insufficient permission to make file. I rent the server and have full access. So my guess is im trying something wrong.

I installed the shoutcast then used the ./sc_serv and I got the smae error that the author of this post got as well. EXCEPT I never got mine started. :-( Please help a newbie out.
 
Last edited:
I have tried this until Im blue in the face and I get a error. Im new to servers so I may not be trying it exactly like im supposed to.

I have tried this, :

su (root)
cd /usr/ports/misc/compat5x
make deinstall
make clean install
rehash

When i Try this is what I get:



Do I need to edit that for my machine? When I try it, it tells me that hash cant be found and that i have insufficient permission to make file. I rent the server and have full access. So my guess is im trying something wrong.

I installed the shoutcast then used the ./sc_serv and I got the smae error that the author of this post got as well. EXCEPT I never got mine started. :-( Please help a newbie out.

U dont type su (root) u type su root [enter] then typ in password for root and then try the other lines
 
Ok I tried that and i typed in su admin (root wouldnt work) and something happened but not what should have I dont think. Here is what I got and you can tell where i typed in each line from the above fix.

$ su admin
Password:
$ cd /usr/ports/misc/compat5x
$ make deinstall
===> Switching to root credentials for 'deinstall' target
su: Sorry
*** Error code 1

Stop in /usr/ports/misc/compat5x.
$ make clean install
===> Cleaning for localedata-5.4
===> Cleaning for compat5x-i386-5.4.0.8_7
===> Vulnerability check disabled, database not found
mkdir: /usr/ports/distfiles: Permission denied
*** Error code 1

Stop in /usr/ports/misc/compat5x.
$ rehash
rehash: not found

Im so stuck now. :-( the install went smooth all the way to this point.

I forgot to mention that I am using freebsd 6 with DA obviously.
 
Last edited:
If u need any help contact me on ICQ,msn (email same as emailadress ) or via email my adress is hans (at) tind dot nl
 
Ok thx. Much appreciated. I added you to msn. I hope I added the correct email.
 
Make sure you are installing the program as root user:

Code:
su -
cd /usr/ports/misc/compat5x
make deinstall reinstall clean
 
Actually, I tried that as well and got the same permission denied error. And the funny part is, its my box. So I dont know why i would have a permission issue. BUT Ill give it a go one more time as admin and see what happens. ;-)

This is what I get if I try logged in as root user
$ cd /usr/ports/misc/compat5x
$ make deinstall reinstall clean
===> Switching to root credentials for 'deinstall' target
su: Sorry
*** Error code 1

Stop in /usr/ports/misc/compat5x.

I dont understand why it says switching credentials to root if thats what Im logged in as.
 
Last edited:
U added the right adress (assuming u are Ray )
Ill contact u later on the day ( its now noon here so u should be asleep lol )

If u see me online on msn pm me and ill help u out ( as much as i can )
 
yep. thats me. ;-) Sry I havent been on msn lately. Ill leave it on incase you sneak on and have a few minutes to spare. Im normally on yahoo, but as I said, Ill go ahead and run msn.

And thx again
 
Back
Top