When I compiled Chrome V8 under ubuntu 12.04, I encountered a problem that is
arm-linux-androideabi-g++:fatal error, -fuse-linker-plugin, but liblto_plugin.so not found
The ndk version is r8b. How can I solve this problem?
When you extra the android-ndk-*.tar.bz2
, it should create a symlink named liblto_plugin.so
to the real file liblto_plugin.so.?.?.?
.
If you have a problem creating symlinks (e.g. a shared directory in a virtual machine), the symlink won't be created and the problem will occur.
Try re-extracting the .tar.bz2
file to a filesystem that supports symlinks and verify that liblto_plugin.so
exists.