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

Whl for ARM64 Linux #12

Open
raefYoussef opened this issue Dec 3, 2020 · 3 comments
Open

Whl for ARM64 Linux #12

raefYoussef opened this issue Dec 3, 2020 · 3 comments

Comments

@raefYoussef
Copy link

Hello, I'm having issues running the example code on my Raspberry PI 4. I currently use Ubuntu 20 and the processor is ARM64. Do you have an appropriate whl file for ARM64 Linux? I believe the one included already is meant for Intel x86-64. Thanks!

@kiddjacky
Copy link
Contributor

Hi,

Did you run https://github.com/kneron/host_lib/blob/master/pkgs/kdp_host_api-1.1.2_Raspbian_-py3-none-any.whl in your Raspberry pi 4? We build this natively in Raspberry pi 4 in Raspian OS, which is the default OS for Raspberry pi 4. Could you try that? If it is not work, please post your error message here.

@raefYoussef
Copy link
Author

I have a requirement to use Ubuntu. When I used the Raspbian whl I got the following error:
OSError: /home/edge/.local/lib/python3.8/site-packages/kdp_host_api/libhostkdp.so: wrong ELF class: ELFCLASS32

When I use the Linux whl, I get the following error:
OSError: /home/edge/.local/lib/python3.8/site-packages/kdp_host_api/libhostkdp.so: cannot open shared object file: No such file or directory

I have verified that the package exists in that location though. I believe it's a matter of incompatibility of the targeted OS being Intel x86-64 and the actual hardware being Aarch64/ARM64.

@raefYoussef
Copy link
Author

Hello I wanted to follow up on this ticket. Is there anyway you can cross-compile your library to run on ARM64?

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