如何在ARMHF系统上运行i386 .so库?
我需要使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为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