1 |
On 20/07/17 06:11, tuxic@××××××.de wrote: |
2 |
> On 07/20 04:51, Nikos Chantziaras wrote: |
3 |
>> On 19/07/17 19:57, tuxic@××××××.de wrote: |
4 |
>>> Hi, |
5 |
>>> |
6 |
>>> My Buspirate v36a needs a newer firmware. |
7 |
>>> Unfortunately the flasher software is only |
8 |
>>> available in 32bit and I run a 64bit modern |
9 |
>>> Gentoo. |
10 |
>> |
11 |
>> Is this the tool? |
12 |
>> |
13 |
>> https://github.com/DangerousPrototypes/Bus_Pirate/blob/master/package/BPv3-firmware/pirate-loader_lnx |
14 |
>> |
15 |
>> That is a dynamically linked executable. I just ran it on my 64-bit Gentoo: |
16 |
>> [...] |
17 |
> |
18 |
> Now it this case changes from "weird" to "mysterious": |
19 |
> |
20 |
> I downloaded that file. Here it has the checksum (md5) |
21 |
> |
22 |
> 97122ea9062bbabcd04b2ffdee7b1bb8 pirate-loader_lnx |
23 |
|
24 |
Same md5sum here. So we have the same binary. |
25 |
|
26 |
> "file pirate-loader_lnx"says: |
27 |
> pirate-loader_lnx: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.8, with debug_info, not stripped |
28 |
|
29 |
Same here. |
30 |
|
31 |
|
32 |
> but "ldd" states: |
33 |
> ldd ./pirate-loader_lnx |
34 |
> not a dynamic executable |
35 |
|
36 |
That's where I get a different result. Here, I get: |
37 |
|
38 |
$ ldd pirate-loader_lnx |
39 |
linux-gate.so.1 (0xf776a000) |
40 |
libc.so.6 => /lib32/libc.so.6 (0xf7570000) |
41 |
/lib/ld-linux.so.2 (0xf776b000) |
42 |
|
43 |
(Btw, I assume you did "chmod +x pirate-loader_lnx" on it.) |
44 |
|
45 |
|
46 |
> How can "dynamically linked" and "not a dynamic executable" can be |
47 |
> true simultanously? |
48 |
|
49 |
That is weird. Can it be that you're not using a multilib configuration? |
50 |
What is the output of: |
51 |
|
52 |
$ eix -e glibc |
53 |
|
54 |
Does it list the "multilib" USE flag as enabled? Does /lib32/libc.so.6 |
55 |
exist? |