Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

bash: ./setup_dxup.sh: can't execute binary file #7

Open
axredneck opened this issue May 12, 2018 · 8 comments
Open

bash: ./setup_dxup.sh: can't execute binary file #7

axredneck opened this issue May 12, 2018 · 8 comments

Comments

@axredneck
Copy link

I got DXUP 32-bit build from Appveyor, copied DXVK's files according to readme, and that's what i get when i try to run setup_dxup.sh from terminal:
[redneck@pylesos dxup-32bit]$ ./setup_dxup.sh
bash: ./setup_dxup.sh: не удаётся запустить бинарный файл: Ошибка формата выполняемого файла
(translates as "can't execute binary file: executable file format error")
Maybe i use this script wrong way?

@axredneck
Copy link
Author

As far as i understand script somehow tries to run itself as binary file, not as script.

@axredneck axredneck changed the title ./setup_dxup.sh: ./setup_dxup.sh: can't execute binary file bash ./setup_dxup.sh: can't execute binary file May 12, 2018
@axredneck axredneck changed the title bash ./setup_dxup.sh: can't execute binary file bash: ./setup_dxup.sh: can't execute binary file May 12, 2018
@TedHartDavis
Copy link

Interesting!
Have you tried bash ./setup_dxup.sh?

@axredneck
Copy link
Author

@TedsterTech yes i did:
[redneck@pylesos dxup-32bit]$ bash ./setup_dxup.sh
./setup_dxup.sh: ./setup_dxup.sh: не удаётся запустить бинарный файл

@misyltoad
Copy link
Owner

chmod +x ?

@axredneck
Copy link
Author

Issue #11 has a workaround

@axredneck
Copy link
Author

@Joshua-Ashton chmod +x doesn't help but dos2unix does.

@vanyasem
Copy link

Prefix LC_ALL=C to ./setup_dxup.sh to temporarily switch your locale to C so that the error will be in English instead of Russian. That has nothing to do with the issue itself, just an advice.

@axredneck
Copy link
Author

axredneck commented Jun 22, 2018

Strange but with LC_ALL=C it works:

[redneck@pylesos dxup-32bit]$ LC_ALL=C ./setup_dxup.sh
WINEPREFIX is not set, continue? (y/N)
y
[1/7] d3d10:
    [1/2] Creating override... The operation completed successfully.
    [2/2] Creating link to d3d10.dll... Done.
[2/7] d3d10_1:
    [1/2] Creating override... The operation completed successfully.
    [2/2] Creating link to d3d10_1.dll... Done.
[3/7] d3d10_original:
    [1/2] Creating override... The operation completed successfully.
    [2/2] Creating link to d3d10_original.dll... Done.
[4/7] dxgi:
    [1/2] Creating override... The operation completed successfully.
    [2/2] Creating link to dxgi.dll... Done.
[5/7] dxgi_original:
    [1/2] Creating override... The operation completed successfully.
    [2/2] Creating link to dxgi_original.dll... Done.
[5/7] d3d11:
    [1/2] Creating override... The operation completed successfully.
    [2/2] Creating link to d3d11.dll... Done.
[7/7] d3dx10_43:
    [1/2] Creating override... The operation completed successfully.
    [2/2] Creating link to d3dx10_43.dll... Done.

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

No branches or pull requests

4 participants