问题
I have a foreign ARM binary I need to run with Qemu. It relies on an ncurses shared library, libncurses.so.5
.
I've tried running
qemu-arm -L /usr/arm-linux-gnueabihf/ ./program
Which complains that it can't find libncurses.so.5
. I have the correct ncurses shared lib and added it to /usr/arm-linux-gnueabihf/lib/
. The filename is libncurses.so.5
and I have it symlinked to libncurses.so
as well but running the program still fails.
program: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
How can I get qemu to use this external shared library?
来源:https://stackoverflow.com/questions/38620094/including-foreign-shared-library-when-running-a-binary-with-qemu