[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mc and mathematics




I have a problem with mc not running on my bo box, but the exact same
program runs fine on all my other debian boxes. 

gum# mc
mc: can't resolve symbol 'log'
mc: can't resolve symbol 'sqrt'
mc: can't resolve symbol 'cos'
mc: can't resolve symbol 'sin'
mc: can't resolve symbol 'pow'
mc: can't resolve symbol 'log10'
mc: can't resolve symbol 'exp'
mc: can't resolve symbol 'tan'
mc: can't resolve symbol 'atan'
mc: can't resolve symbol 'asin'
mc: can't resolve symbol 'acos'
gum#

I ran "strace mc" on my hamm box and found that mc opens these libraries:-
open("/etc/ld.so.cache"
open("/usr/lib/libc5-compat/libgpm.so.1"
open("/usr/lib/libc5-compat/libslang.so.0.99.34"
open("/lib/libc.so.5"
open("/lib/libncurses.so.3.0"
open("/lib/libm.so.5"


The strace on the problem box is much the same except that it dies before
opening libm.so.5, which is there, BTW.

open("/etc/ld.so.cache"
open("/usr/lib/libgpm.so.1"
open("/usr/lib/libslang.so.0.99.34"
open("/lib/libc.so.5"
open("/lib/libncurses.so.3.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 249856, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40114000
 [stuff deleted for clarity]
mmap(0x4014d000, 13444, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4014d000
close(3)                                = 0
mprotect(0x40114000, 198134, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
munmap(0x40008000, 3973)                = 0
write(2, "mc: can\'t resolve symbol \'log\'"..., 31mc: can't resolve symbol 'log'
) = 31
write(2, "mc: can\'t resolve symbol \'sqrt"..., 32mc: can't resolve symbol 'sqrt'
etc,etc

Any help in fixing this is much appreciated.  
Lindsay
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lindsay Allen   <allen@cleo.murdoch.edu.au>  Perth, Western Australia
voice +61 8 9316 2486    32.0125S 115.8445E    vk6lj      Debian Unix
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: