Thread: Tools Fastboot GUI
View Single Post
Old 06-17-2012, 02:00 PM   #18
zeb
Connoisseur
zeb plays well with otherszeb plays well with otherszeb plays well with otherszeb plays well with otherszeb plays well with otherszeb plays well with otherszeb plays well with otherszeb plays well with otherszeb plays well with otherszeb plays well with otherszeb plays well with others
 
Posts: 73
Karma: 2634
Join Date: Sep 2010
Device: none
Quote:
Originally Posted by hostar View Post
And try to run Fastboot-GUI over strace:

strace -o outFile ./Fastboot\ GUI

in outFile will be seen paths, where libraries are loaded from
(and other things).
Thanks hostar. The strace dump givces me something:
Code:
execve("./Fastboot GUI", ["./Fastboot GUI"], [/* 66 vars */]) = 0
brk(0)                                  = 0x9e6b000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf77cf000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=205391, ...}) = 0
mmap2(NULL, 205391, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf779c000
close(3)                                = 0
open("/usr/lib32/tls/i686/sse2/libmono-2.0.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib32/tls/i686/sse2", 0xffffffffff9180a0) = -1 ENOENT (No such file or directory)
open("/usr/lib32/tls/i686/libmono-2.0.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib32/tls/i686", 0xffffffffff9180a0) = -1 ENOENT (No such file or directory)
open("/usr/lib32/tls/sse2/libmono-2.0.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib32/tls/sse2", 0xffffffffff9180a0) = -1 ENOENT (No such file or directory)
open("/usr/lib32/tls/libmono-2.0.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib32/tls", 0xffffffffff9180a0) = -1 ENOENT (No such file or directory)
open("/usr/lib32/i686/sse2/libmono-2.0.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib32/i686/sse2", 0xffffffffff9180a0) = -1 ENOENT (No such file or directory)
open("/usr/lib32/i686/libmono-2.0.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib32/i686", 0xffffffffff9180a0) = -1 ENOENT (No such file or directory)
open("/usr/lib32/sse2/libmono-2.0.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib32/sse2", 0xffffffffff9180a0) = -1 ENOENT (No such file or directory)
open("/usr/lib32/libmono-2.0.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib32", {st_mode=S_IFDIR|0755, st_size=36864, ...}) = 0
writev(2, [{"./Fastboot GUI", 14}, {": ", 2}, {"error while loading shared libra"..., 36}, {": ", 2}, {"libmono-2.0.so.1", 16}, {": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}], 10) = 130
exit_group(127)                         = ?
+++ exited with 127 +++
Apparently it looks for /usr/lib32, but mono is in /usr/lib. My system is an Archlinux 64 bits. There are no multilibs or lib32- for mono, only /usr/lib. Which Linux version do you use?
zeb is offline   Reply With Quote