-
Notifications
You must be signed in to change notification settings - Fork 46
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
Linux bin execution error #36
Comments
Sorry, no way to reproduce this currently.
in terminal and get some feedback? |
I actually cannot run it from terminal... Getting exec format error, even though arch of my VM and the program is the same (x86-64):
Could it be because it's been compiled as a shared object? Both the OSX and Win32 version of the same file are executables:
|
All shared objects are localized with edited ELFs. |
I see the same issue (cannot execute binary file: Exec format error) on WSL/Ubuntu 18.04. But there is something odd but I am not sure whether this is related to the problem. Since
showed binary is "not stripped", I run strip just to see what happens and I got an error:
Strip is failing with exactly the same error message on a native Ubuntu although the binary itself is running there without a problem. Could it be that the ELF structure of msdfgen.linux is broken? I did a quick check with readelf but did not spot anything unusual yet. |
@zellm Might related to this NixOS/patchelf/issues/10 |
PR really welcomed!
I've tried to build them in my new linux vm but having hard time get the binary working with TravisCI. |
PR is here: #37 but Travis is also failing for me: https://travis-ci.org/soimy/msdf-bmfont-xml/builds/534678791?utm_source=github_status&utm_medium=notification Can you point me to how I have to patch the binary with
Could we not just take the libraries from the system and update the ones used in Travis? |
Thanks for the effort! |
Sorry for the delayed answer. I tried to set the rpath but I also get a corrupted binary file. |
Unfortunately building latest patchelf from source did not help. So we have to wait until NixOS/patchelf#146 is fixed or upgrade CI to use Ubuntu 18.04. |
@ninok Thanks for the effort! Let's follow the progress of |
@soimy Have you ever tried to set rpath when building msdfgen instead of patching it after building it? I will try this if I find time. |
I'm getting a similar warning, also on Ubuntu (18.04.3 LTS):
|
@BladePoint I had the same issue on WSL. Thanks @ninok ! |
When calling your package from a JS script, I get the following error on linux (Ubuntu 16.04.6):
Any idea of why this might be happening? Only happens locally, and runs fine on a xenial docker image.
The text was updated successfully, but these errors were encountered: