Old 26th August 2005, 01:38   #1
ubergeek
Junior Member
 
Join Date: Aug 2002
Location: michigandia
Posts: 7
Send a message via AIM to ubergeek
sc_trans_freebsd on 5.x

Hey there,

Tonight, i was working on starting up a small little shoutcast station on my freebsd 5.4 machine. The plan is to run both sc_trans and sc_serv on the same machine, and not waste my time with bandwidth troubles, etc.

Well, after getting shoutcast running, i downloaded and configured sc_trans, but i ran into a problem when i executed the sc_trans_freebsd binary.

/usr/libexec/ld-elf.so.1: Shared object "libm.so.2" not found, required by "sc_trans_freebsd"

I do have libm.so installed, so i tried symlinking it to libm.so.2 and it threw back the following error:

/usr/libexec/ld-elf.so.1: Shared object "libc_r.so.4" not found, required by "sc_trans_freebsd"

So, then i tried symlinking /usr/lib/libc_r.so to /usr/lib/libc_r.so.4 and it's now throwing back this error:

/usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol "__stderrp"

So, then i did some reading, and tried installing the 4.x compat ports, and now it's throwing back this error:

/usr/libexec/ld-elf.so.1: /usr/local/lib/compat/libm.so.2: Undefined symbol "__infinity"


Then, i did some looking at the sc_trans_freebsd, and it tells me that it was made for freebsd 4.x .

So, here are my questions: 1) Are there any plans to make a version of sc_trans for freebsd 5? 2) Is there any way to make this program function on freebsd 5.x? 3) Are there any alternative programs that will function the same way as sc_trans ?

Have a nice day.
ubergeek is offline   Reply With Quote
Old 26th August 2005, 06:08   #2
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,942
install the 4.x compatibilty libraries from the ports collection.
Jay is offline   Reply With Quote
Old 26th August 2005, 20:40   #3
ubergeek
Junior Member
 
Join Date: Aug 2002
Location: michigandia
Posts: 7
Send a message via AIM to ubergeek
I did. It still doesn't work.
ubergeek is offline   Reply With Quote
Old 4th July 2006, 19:29   #4
O2Spyral
Junior Member
 
Join Date: Jun 2006
Posts: 11
Send a message via AIM to O2Spyral Send a message via Yahoo to O2Spyral
I'm getting the same thing. Undefined symbol "__infinity". Anyone got a solution to this?
O2Spyral is offline   Reply With Quote
Old 5th July 2006, 15:27   #5
hackerdork
Forum King
 
hackerdork's Avatar
 
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
Try this
su (root)

cd /usr/ports/misc/compat4x/

make clean install && rehash

then run /usr/local/etc/rc.d/*compat*.sh

You wont have to do this again if you reboot the BSD server.

try running sc_trans , see if you get the same errors?

If your ports/packages are fubar, you need to fix em!

man pkgdb (using pkgdb -fF).

Cheers

~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough.
search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn.
hackerdork is offline   Reply With Quote
Old 5th July 2006, 23:29   #6
O2Spyral
Junior Member
 
Join Date: Jun 2006
Posts: 11
Send a message via AIM to O2Spyral Send a message via Yahoo to O2Spyral
--(compat4x)--> # /usr/local/etc/rc.d/*compat*.sh
-bash: /usr/local/etc/rc.d/*compat*.sh: No such file or directory
O2Spyral is offline   Reply With Quote
Old 5th July 2006, 23:36   #7
O2Spyral
Junior Member
 
Join Date: Jun 2006
Posts: 11
Send a message via AIM to O2Spyral Send a message via Yahoo to O2Spyral
Also:

[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument: Cannot update the pkgdb!]: Cannot update the pkgdb!]
O2Spyral is offline   Reply With Quote
Old 6th July 2006, 00:21   #8
O2Spyral
Junior Member
 
Join Date: Jun 2006
Posts: 11
Send a message via AIM to O2Spyral Send a message via Yahoo to O2Spyral
Sorry, I should probably clarify that we're using 6.0-RELEASE. Not 5.x.
O2Spyral is offline   Reply With Quote
Old 6th July 2006, 01:43   #9
hackerdork
Forum King
 
hackerdork's Avatar
 
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
You must be su (root)...

thats cool . im using 6.0-release as well

pkgdb -fF , check for stale depencies.

try this too:
/sbin/ldconfig -m /usr/local/lib/compat

is that fails, then the compat5x libraries are not found.

PM me if you need more help. 6.x works great for me.

~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough.
search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn.
hackerdork is offline   Reply With Quote
Old 17th October 2006, 22:52   #10
stillsly
Junior Member
 
Join Date: Oct 2006
Posts: 1
I met wit this problem too.. sc_serv runin on hosting server
freebsd 5.4, and i wish to run sc_trans there 2. but i cant do su(root) .. may be some one could compile sc_trans with freebsd 5.4 libs..
stillsly is offline   Reply With Quote
Old 20th October 2006, 17:28   #11
hackerdork
Forum King
 
hackerdork's Avatar
 
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
ubergeek

you pm'd me and said you dont have root access, then you never did install the 4x or 5x compat libs. If you have downloaded the 5x version, you dont need anything else on a 5.4 freeBSD box! if you downloaded the 4.x version of sc_trans, then you do need the 4x libs. You can only install this stuff as ROOT/su

~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough.
search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn.
hackerdork is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

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

Forum Jump