β

Fix the Octopress "invalid ELF header in ffi" erro

Blog of GangMax 149 阅读

The error happened on Ubuntu Xenial with Octopress. The fix is to copy the needed “libpython2.7.so.1.0” to override the existing “libpython2.7.so.a” file.

cp /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 /home/gang/.pyenv/versions/2.7.10/lib/
cd /home/gang/.pyenv/versions/2.7.10/lib/
mv libpython2.7.a libpython2.7.a.backup
mv libpython2.7.so.1.0 libpython2.7.a
作者:Blog of GangMax
原文地址:Fix the Octopress "invalid ELF header in ffi" erro, 感谢原作者分享。