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) ?
-devpackages (as provided my many distros) do not mean they include a shared library (.so) or static library (.a). Rather,-devpackages provide the header files used during compilation.