06-17-2012, 08:12 AM | #16 |
Zealot
Posts: 138
Karma: 12324
Join Date: Dec 2011
Location: CZ
Device: Kindle 4 non-touch
|
knc1: thanks for help
zeb: try knc1's advices. Also check variable with shared libraries paths or use ldconfig as mentioned For example look here: http://www.cyberciti.biz/faq/linux-s...-library-path/ 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). |
06-17-2012, 12:56 PM | #17 |
Connoisseur
Posts: 73
Karma: 2634
Join Date: Sep 2010
Device: none
|
Thanks knc1. This is what I get:
Code:
$ ldd Fastboot\ GUI linux-gate.so.1 => (0xf770c000) libmono-2.0.so.1 => not found libc.so.6 => /usr/lib32/libc.so.6 (0xf7535000) /lib/ld-linux.so.2 (0xf770d000) |
06-17-2012, 01:00 PM | #18 | |
Connoisseur
Posts: 73
Karma: 2634
Join Date: Sep 2010
Device: none
|
Quote:
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 +++ |
|
06-17-2012, 01:05 PM | #19 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Antivir is famous for false positive reports (as are other well-known antivirus tools). Even so, they do not (and cannot) catch the vast majority of viruses created in the past year or so, which require network traffic analysis to detect their "phone home" behavior. That is why several antivirus programs have become huge sandboxed network-snooping "big brother" suites that bog down computers (while still not very effective).
This is also why most companies that do secure computing put TWO computers on their employees desktops (one connected only to the internet for email and web browsing, and the other connected to the internal secure LAN for mission-critical apps), and they have VERY strict guidelines about what can be installed on computers connected to the internal network. So, PROBABLY a false positive. |
06-17-2012, 01:39 PM | #20 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
If it is looking for one 32bit library, those others that it did find probably need to be 32bit also - the application just hasn't run far enough to blow up on that problem at this point. Once you install multi-lib support - this will all be handled for you. |
|
06-18-2012, 02:23 AM | #21 | |
Connoisseur
Posts: 73
Karma: 2634
Join Date: Sep 2010
Device: none
|
Quote:
|
|
06-18-2012, 04:59 AM | #22 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
That is the 32bit version. |
|
06-18-2012, 05:25 AM | #23 | |
Connoisseur
Posts: 73
Karma: 2634
Join Date: Sep 2010
Device: none
|
Quote:
|
|
06-18-2012, 06:00 AM | #24 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
OK, next choice, can you get a Linux-VServer kernel for the ArchLinux distribution? (Probably so - ArchLinux is pretty techy) Then just run a 32bit Linux-VServer context on your 64bit host. And run the application in the 32bit Linux-VServer instance (once you fight with passing X11 in/out of the guest instance). Another choice - Since this is a rarely used service application - run it from a 32bit, "Linux LiveCD" instance. I would suggest Knoppix. Follow its direction to put it on a USB stick (one command), the first time you start the USB version it will ask if you want a persistent file, agree. Then install 32bit mono and this application into the USB/Knoppix. |
|
06-18-2012, 09:09 AM | #25 | |
Connoisseur
Posts: 73
Karma: 2634
Join Date: Sep 2010
Device: none
|
Quote:
|
|
06-18-2012, 09:14 AM | #26 |
BLAM!
Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
What he builds against won't help you if you don't have the right software for the right arch on your end. (And, besides, Mono isn't a run of the mill "bundle 'o funcs" lib, it's a VM/Interpreter/Whatever for C#, so static linking is out of the question).
|
06-18-2012, 09:18 AM | #27 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
I think that the only reason you are seeing reports of /usr/lib32 is because that is the last place the loader looked in its list of places to search. |
|
06-18-2012, 09:59 AM | #28 |
Connoisseur
Posts: 73
Karma: 2634
Join Date: Sep 2010
Device: none
|
Well, hostar said he would release the source code. In that case I can wait for this and try to see how this works on my system.
@NiLuJe: As far as I know, Arch does not provide multilib for mono, I am unsure if this is normal or an overlook from the packagers. |
06-18-2012, 10:00 AM | #29 |
Connoisseur
Posts: 73
Karma: 2634
Join Date: Sep 2010
Device: none
|
Yes but I have the libraries in /usr/lib. So the loader should find them before looking somewhere else.
|
06-18-2012, 10:04 AM | #30 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
|
|
Tags |
debricking, fastboot, gui, linux, windows |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
fastboot for windows to downgrade | sigster | Kindle Developer's Corner | 7 | 06-15-2012 12:47 PM |
Fastboot not working | aditya3098 | Kindle Developer's Corner | 10 | 05-12-2012 01:44 PM |
fastboot for win32 | geekmaster | Kindle Developer's Corner | 30 | 03-13-2012 02:39 PM |
Fastboot Manifesto | geekmaster | Kindle Developer's Corner | 102 | 03-12-2012 04:30 PM |
help me get out of fastboot kindle nontouch please | 123123 | Kindle Developer's Corner | 30 | 02-10-2012 05:14 AM |