1 |
Gustavo Felisberto posted <4318DEEB.60808@g.o>, excerpted below, |
2 |
on Sat, 03 Sep 2005 00:23:23 +0100: |
3 |
|
4 |
> I'm trying to LD_PRELOAD some 32 bits libs to use with 32 bits apps. |
5 |
> file ./libartsdsp.so.0 ./libartsc.so.0 /lib32/libdl-2.3.5.so |
6 |
> /opt/skype/skype.bin |
7 |
> ./libartsdsp.so.0: ELF 32-bit LSB shared object, Intel 80386, |
8 |
> version 1 (SYSV), not stripped |
9 |
> ./libartsc.so.0: ELF 32-bit LSB shared object, Intel 80386, |
10 |
> version 1 (SYSV), not stripped |
11 |
> /lib32/libdl-2.3.5.so: ELF 32-bit LSB shared object, Intel 80386, |
12 |
> version 1 (SYSV), stripped |
13 |
> /opt/skype/skype.bin: ELF 32-bit LSB executable, Intel 80386, version 1 |
14 |
> (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), stripped |
15 |
> |
16 |
> These are the libs and the executable, and what happens is: |
17 |
> LD_PRELOAD=./libartsdsp.so.0:./libartsc.so.0:/lib32/libdl-2.3.5.so |
18 |
> /opt/skype/skype.bin |
19 |
> ERROR: ld.so: object './libartsdsp.so.0' from LD_PRELOAD cannot be |
20 |
> preloaded: ignored. |
21 |
> ERROR: ld.so: object './libartsc.so.0' from LD_PRELOAD cannot be |
22 |
> preloaded: ignored. |
23 |
> ERROR: ld.so: object '/lib32/libdl-2.3.5.so' from LD_PRELOAD cannot be |
24 |
> preloaded: ignored. |
25 |
> |
26 |
> Any ideas? |
27 |
|
28 |
Shot in the dark... your LD_PRELOAD is using mostly (but not all) |
29 |
relative paths. What happens if you try all absolute paths? Might as well |
30 |
try all relative as well, while you are at it. |
31 |
|
32 |
-- |
33 |
Duncan - List replies preferred. No HTML msgs. |
34 |
"Every nonfree program has a lord, a master -- |
35 |
and if you use the program, he is your master." Richard Stallman in |
36 |
http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html |
37 |
|
38 |
|
39 |
-- |
40 |
gentoo-amd64@g.o mailing list |