1 |
On 3/9/2005 1:23:23, Gustavo Felisberto (humpback@g.o) wrote: |
2 |
> I'm trying to LD_PRELOAD some 32 bits libs to use with 32 bits apps. |
3 |
> file ./libartsdsp.so.0 ./libartsc.so.0 /lib32/libdl-2.3.5.so |
4 |
> /opt/skype/skype.bin |
5 |
> ../libartsdsp.so.0: ELF 32-bit LSB shared object, Intel 80386, |
6 |
> version 1 (SYSV), not stripped |
7 |
> ../libartsc.so.0: ELF 32-bit LSB shared object, Intel 80386, |
8 |
> version 1 (SYSV), not stripped |
9 |
> /lib32/libdl-2.3.5.so: ELF 32-bit LSB shared object, Intel 80386, |
10 |
> version 1 (SYSV), stripped |
11 |
> /opt/skype/skype.bin: ELF 32-bit LSB executable, Intel 80386, version 1 |
12 |
> (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), |
13 |
> stripped |
14 |
> These are the libs and the executable, and what happens is: |
15 |
> LD_PRELOAD=./libartsdsp.so.0:./libartsc.so.0:/lib32/libdl-2.3.5.so |
16 |
> /opt/skype/skype.bin |
17 |
> ERROR: ld.so: object './libartsdsp.so.0' from LD_PRELOAD cannot be |
18 |
> preloaded: ignored. |
19 |
> ERROR: ld.so: object './libartsc.so.0' from LD_PRELOAD cannot be |
20 |
> preloaded: ignored. |
21 |
> ERROR: ld.so: object '/lib32/libdl-2.3.5.so' from LD_PRELOAD cannot be |
22 |
> preloaded: ignored. |
23 |
> |
24 |
> Any ideas? |
25 |
|
26 |
My guess would be that it can't find other 32-bit libraries that it needs, |
27 |
like libpthread.so, libc.so and ld-linux.so. Try setting LD_LIBRARY_PATH to /lib32, if that's where they are. I'm not an amd64 user, but I'd guess /lib32 isn't in ld.so.conf by default. |
28 |
|
29 |
Kev. |
30 |
|
31 |
|
32 |
|
33 |
-- |
34 |
gentoo-amd64@g.o mailing list |