I compiled python 2.7.11 as follow steps:
tar -xf python.tar.xz
./configure
make
after compiling, I found that there is no libpython2.7.so in the results, which means that this is not a 'dev' version.
So, how could I make the .so file and install them properly (Do not override the default python of system) ?
You need:
./configure --enable-shared
Check out all that ./configure
has to offer with:
./configure --help
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.