Dou*_* Su 7 python linux installation
我按照以下步骤编译了python 2.7.11:
tar -xf python.tar.xz
./configure
make
Run Code Online (Sandbox Code Playgroud)
编译后,我发现结果中没有libpython2.7.so,这意味着这不是'dev'版本.
那么,我怎样才能制作.so文件并正确安装它们(不要覆盖系统的默认python)?
Jon*_*art 10
你需要:
./configure --enable-shared
Run Code Online (Sandbox Code Playgroud)
查看所有./configure提供的产品:
./configure --help
Run Code Online (Sandbox Code Playgroud)