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

Any chance for a current ARM build for Raspberry Pi? #5

Open
knipknap opened this issue Apr 27, 2023 · 2 comments
Open

Any chance for a current ARM build for Raspberry Pi? #5

knipknap opened this issue Apr 27, 2023 · 2 comments

Comments

@knipknap
Copy link

I tried the armhf .deb package, but it doesn't run on a Raspberry Pi:

pi@cnc:~/vfdmod-0.3.2 $ vfdmod 
vfdmod: error while loading shared libraries: libmodbus.so.5: wrong ELF class: ELFCLASS64
pi@cnc:~/vfdmod-0.3.2 $ 

(I also had to create a symlink using sudo ln -s /usr/lib/aarch64-linux-gnu/libmodbus.so.5 /usr/lib/libmodbus.so.5, otherwise it also couldn't work.)

Distro info:

pi@cnc:~/vfdmod-0.3.2 $ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 10 (buster)
Release:	10
Codename:	buster
pi@cnc:~/vfdmod-0.3.2 $ 
@knipknap
Copy link
Author

knipknap commented Apr 27, 2023

Ohh, nevermind, libmodbus is also available in armhf architecture version. So simply

sudo apt install libmodbus5:armhf

fixed that problem. (Still not working though, but the other issues are not related.)

While there is a "libmodbus5:armhf", this one is incompatible with the LinuxCNC image for Raspberry Pi, as the LinuxCNC package for RPi is compiled for arm64. Installing "libmodbus5:armhf" in fact causes LinuxCNC to be uninstalled for that reason.

In short, without an armhf release of vfdmod, it cannot be used with the LinuxCNC RPi image.

@knipknap knipknap reopened this Apr 27, 2023
@AnthonyJWilcox
Copy link

Would be very useful - just setup Linuxcnc (Bookworm) on RPi5 with Mesa 7i92 to replace Wheezy on AMD64 with parallel port interface. Used vfdmod for wheezy to H100 vfd and works great. Now can't do same for Bookworm on Rpi5 ....

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