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

bluepy-helper 1.0.4 wrong executable format from pip #127

Closed
souellet-ms opened this issue Apr 22, 2016 · 2 comments
Closed

bluepy-helper 1.0.4 wrong executable format from pip #127

souellet-ms opened this issue Apr 22, 2016 · 2 comments

Comments

@souellet-ms
Copy link

I just installed bluepy 1.0.4 via the python3-pip on a fresh Ubuntu 16.04 install while using Python 3.5.

On execution, I received an OSError: Exec format error when executing bluepy-helper.

When checking the executable (using: file bluepy-helper) I got:
bluepy-helper: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32, BuildID[sha1]=bb101bae1661c9f46a35e08eb4d10f43fffef2ad, not stripped

Is it possible that the executable is built for ARM (probably built for raspberry pi) and not usage on a x64 machine ?

IanHarvey pushed a commit that referenced this issue Apr 24, 2016
I suspect including it in 'package-data' might not be entirely correct,
however.
@IanHarvey
Copy link
Owner

I've now released 1.0.5 to PyPI, which has a fix for the problem. It works for me on x86 Linux (LinuxMint 17.2). Note you'll need to run:

sudo apt-get install build-essential libglib2.0-dev

or similar beforehand, otherwise there will be compilation errors.

@souellet-ms
Copy link
Author

Your fix solved it.

FYI, bluepy does work well under Ubuntu 16.04 x64 and built-in bluez 5.37.

Keep up the good work !

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