|
|
#1 |
|
Junior Member
|
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. |
|
|
|
|
|
#2 |
|
Moderator Alumni
Join Date: May 2000
Location: Next Door
Posts: 8,942
|
install the 4.x compatibilty libraries from the ports collection.
-Jay | Radio Toolbox.com |
|
|
|
|
|
#3 |
|
Junior Member
|
I did. It still doesn't work.
|
|
|
|
|
|
#4 |
|
Junior Member
|
I'm getting the same thing. Undefined symbol "__infinity". Anyone got a solution to this?
|
|
|
|
|
|
#5 |
|
Forum King
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. |
|
|
|
|
|
#6 |
|
Junior Member
|
--(compat4x)--> # /usr/local/etc/rc.d/*compat*.sh
-bash: /usr/local/etc/rc.d/*compat*.sh: No such file or directory |
|
|
|
|
|
#7 |
|
Junior Member
|
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!] |
|
|
|
|
|
#8 |
|
Junior Member
|
Sorry, I should probably clarify that we're using 6.0-RELEASE. Not 5.x.
|
|
|
|
|
|
#9 |
|
Forum King
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. |
|
|
|
|
|
#10 |
|
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.. |
|
|
|
|
|
#11 |
|
Forum King
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. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|