(newbie) weird thing with linux applications

(newbie) weird thing with linux applications

Post by PANG RA » Sat, 29 Dec 2001 15:10:14

Hi, gurus

here's something weird with my freebsd box that I have absolutely no idea:

The realplayer ran fine yesterday, then I boot into win2k mode, then I
rebooted into freebsd mode, then I run reaplyer, then it crashed with
signal 11.

I tried to use gdb to work with the core file, then it says that
/lib/libm.so.6 cannot be found. Then I found a libm.so.6 in
/compat/linux/lib directory. Then I su'ed and did a
cd /; ln -s /compat/linux/lib
then realplayer came back to life ...

I tried to read /etc/rc.conf and linux_enable was YES. /etc/rc mentioned
something like /compat/linux/sbin/ldconfig. Then I did a

Forgiveness# /compat/linux/sbin/ldconfig -p | grep libm
        libmenu.so.4 (libc6) => /usr/lib/libmenu.so.4
        libmenu.so.3.0 (libc5) => /usr/i486-linux-libc5/lib/libmenu.so.3.0
        libm.so.6 (libc6) => /lib/libm.so.6
        libm.so.5 (libc5) => /usr/i486-linux-libc5/lib/libm.so.5

It seemed that the directory was screwed up, but next time if libmenu.so.4
is referred to by some linux application then there's nothing I can do.

So cound anyone give any insight? The strange thing is, it worked just

Thanks in advance
Ran Pang
SE 99

tel: (905)529-5619


1. weird csh thing

anyone care to explain??  (I`m in csh)

$ set p = "w | tail +3 "
$ echo $p
w | tail +3
$ $p
Usage: w [ -hlsuw ] [ user ]
$ w | tail +3
benjo    ttyp3    10:13pm           41      4  -sh
benjo    ttyp4    10:17pm         3:22      4  -csh
$ exit
$ exit

Process shell finished

shouldn't "$p" have the same effect as "w | tail +3" ?

Ranjan Bagchi - At Large.  Well Kinda.  |  what kind of person

        caen,                           |  just to write haiku?
        math.lsa].umich.edu             |  

2. nis, nfs, autofs: auto.master, auto.misc, auto.home help please

3. weird ant things

4. PATCH 2.4: scsi and BLK_STATS

5. XV does -weird- things

6. launch program X with file Y

7. Weird Thing: sb module hangs every 2nd boot?

8. KDE 2 beta 4 requires XFree 4.0?

9. weird qconfig thing

10. Weird things in csh (and kernel?)

11. Newbie: What's the 1st things to do to install linux?

12. Disklabel seeing weird things

13. Weird little thing