https://bugs.winehq.org/show_bug.cgi?id=53546
Bug ID: 53546 Summary: ERROR: ld.so: object XXX from /etc/ld.so.preload cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. Product: Wine Version: 7.14 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: wuzy01@qq.com Distribution: ---
Environment: ArchLinux 5.18.15-arch1-1
Step to Reproduce:
1. Install required packages, `sudo pacman -S wine`, `yay -S rl_custom_isearch`, the latter will add two lines to `/etc/ld.so.perload`:
``` /usr/lib/librl_custom_isearch.so /usr/lib/librl_custom_function.so ```
2.
``` ❯ wine --version ERROR: ld.so: object '/usr/lib/librl_custom_isearch.so' from /etc/ld.so.preload cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. ERROR: ld.so: object '/usr/lib/librl_custom_function.so' from /etc/ld.so.preload cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. wine-7.14 ```
The ERROR always occur for any wine's program.
The origin issue is https://github.com/lincheney/rl_custom_isearch/issues/4.
https://bugs.winehq.org/show_bug.cgi?id=53546
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- It's not possible to preload 64-bit libraries in a 32-bit binary like wine. You can safely ignore the warnings.
https://bugs.winehq.org/show_bug.cgi?id=53546
--- Comment #2 from Wu Zhenyu wuzy01@qq.com --- (In reply to Alexandre Julliard from comment #1)
It's not possible to preload 64-bit libraries in a 32-bit binary like wine. You can safely ignore the warnings.
Thanks. How can I disable the output of these ERROR? I try `export WINEDEBUG=-all` but useless.
https://bugs.winehq.org/show_bug.cgi?id=53546
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #3 from Zeb Figura z.figura12@gmail.com --- (In reply to Wu Zhenyu from comment #2)
(In reply to Alexandre Julliard from comment #1)
It's not possible to preload 64-bit libraries in a 32-bit binary like wine. You can safely ignore the warnings.
Thanks. How can I disable the output of these ERROR? I try `export WINEDEBUG=-all` but useless.
The messages come from ld.so, not Wine. You might be able to mess with ld.so environment variables (LD_DEBUG?).
https://bugs.winehq.org/show_bug.cgi?id=53546
--- Comment #4 from Wu Zhenyu wuzy01@qq.com --- I refer https://man7.org/linux/man-pages/man8/ld-linux.so.8.html and try `export LD_DEBUG_OUTPUT=/tmp`, but it cannot work. The ERROR still occur.
https://bugs.winehq.org/show_bug.cgi?id=53546
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Gijs Vermeulen gijsvrm@gmail.com --- Closing INVALID.