如何在ARMHF系统上运行i386 .so库?

发布于 2025-01-26 04:43:58 字数 287 浏览 4 评论 0原文

我需要使用Raspberry Pi使用第三方设备实现系统。

该设备是使用USB连接的,制造商提供了一些软件实现演示,并且驱动程序库包括一个C ++标头文件和为i386编译的C共享对象文件。

我需要能够在RPI上运行此驱动程序库。我的想法是构建一个C ++程序,可以用来从设备中获取数据,并为I386编译,并使用QEMU-I386运行它。我试图执行这个想法,但遇到了与链接有关的一些问题,例如可执行的ld-linux.so.2,我的RPI没有。

我该如何工作?

I need to implement a system with a third party device using a Raspberry Pi.

The device is connected using USB, and the manufacturer has provided a few software implementation demos, and the driver library includes a C++ header file and a C shared object file compiled for i386.

I need to be able to run this driver library on the RPi. My idea is to build a C++ program I can use to get the data from the device, compile for i386, and run it with qemu-i386. I have tried to execute this idea, but have run into some problems relating to the linking, like the executable looking for ld-linux.so.2, which my RPi doesn't have.

How can I get this to work?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

独享拥抱 2025-02-02 04:43:58

为qemu运行它是一个坏主意,而是安装box86, link> link ,它会自动自动。当它检测到32位x86可执行文件时接管,应该适合您的用例

It's a bad idea to run it for QEMU, instead install box86, link, it'll automatically take over when it detects a 32bit x86 executable and should work great for your use case

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文