Skip to content

Cannot run binaries from v1.1.0 release on my Mac #2

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

Closed
sandeepmistry opened this issue Jan 16, 2017 · 3 comments
Closed

Cannot run binaries from v1.1.0 release on my Mac #2

sandeepmistry opened this issue Jan 16, 2017 · 3 comments
Labels
conclusion: resolved Issue was resolved topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project

Comments

@sandeepmistry
Copy link
Contributor

Hi @facchinm,

I'm having some issues running the binaries from the v1.1.0 release on my Mac, it says it's not executable. Any ideas?

Sandeeps-MacBook-Pro-2:1.1.0 smistry$ ls -l
total 16096
-rwxr-xr-x  1 smistry  staff  8239584 10 Jan 05:03 arduinoOTA
Sandeeps-MacBook-Pro-2:1.1.0 smistry$ ./arduinoOTA 
-bash: ./arduinoOTA: cannot execute binary file
Sandeeps-MacBook-Pro-2:1.1.0 smistry$ file arduinoOTA 
arduinoOTA: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
Sandeeps-MacBook-Pro-2:1.1.0 smistry$ otool -L arduinoOTA 
llvm-objdump: 'arduinoOTA': Object is not a Mach-O file type.
@sandeepmistry
Copy link
Contributor Author

If I build from source:

Sandeeps-MacBook-Pro-2:1.1.0 smistry$ otool -L arduinoOTA 
arduinoOTA:
    /usr/lib/libSystem.B.dylib (compatibility version 0.0.0, current version 0.0.0)
    /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 0.0.0, current version 0.0.0)
    /System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 0.0.0, current version 0.0.0)
    /usr/lib/libSystem.B.dylib (compatibility version 0.0.0, current version 0.0.0)
    /usr/lib/libSystem.B.dylib (compatibility version 0.0.0, current version 0.0.0)

@facchinm
Copy link
Member

Sorry, had a bug in the build script and all the binaries were linux64 🤣 Fixed with 3305cca, reuploading the correct binaries

@sandeepmistry
Copy link
Contributor Author

Thanks, the new binary from the v1.1.0 release now runs on my Mac!

As discussed, then archives are missing a root level folder, so bin is not in the path when the IDE extracts the tool.

@per1234 per1234 added conclusion: resolved Issue was resolved topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project labels Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants