Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with WINE #58

Open
phil294 opened this issue Jun 7, 2017 · 1 comment
Open

Compatibility with WINE #58

phil294 opened this issue Jun 7, 2017 · 1 comment

Comments

@phil294
Copy link

phil294 commented Jun 7, 2017

When trying to run a windows program with wine, I get LD_PRELOAD cannot be preloaded (see below)

$ .wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe 
ERROR: ld.so: object '/home/phi/bin/stderred/build/libstderred.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/phi/bin/stderred/build/libstderred.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
$ .wine/drive_c/Program\ Files/AutoHotkey/AutoHotkey.exe /ErrorStdOut 1.ahk
ERROR: ld.so: object '/home/phi/bin/stderred/build/libstderred.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/phi/bin/stderred/build/libstderred.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Z:\home\phi\1.ahk (3) : ==> This line does not contain a recognized action.
     Specifically: some_nonsense

None of this is red.

@eigengrau
Copy link

eigengrau commented Jun 7, 2017

It’s possible to use the syntax/usr/${LIB}/libstderred.so in LD_PRELOAD, where ${LIB} will contextually expand to either lib or lib32, etc. However, this will still result in error messages by ld.so unless you have the 32-bit build of stderred installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants