1、error occurred under gcc8 when building python2.7. compiled successfully under gcc7
2、python: can't decompress data; zlib not available when building python2.7.
solution
3、ubuntu 18.04.5(g++ 8.5)、ubuntu20.04(g++ 9.3)
The same compilation error occurred when i tryed to build yadcc on my PC which installed with ubuntu 18.04.5(g++ 8.5) or ubuntu20.04(g++ 9.3), but pthread.a(/usr/lib/x86_64-linux-gnu/libpthread.a) and pthread.so(/usr/lib/x86_64-linux-gnu/libpthread.so) exist. Strangely enough, it can be compiled successfully in the company environment which installed with ubuntu 18.04.
1、error occurred under gcc8 when building python2.7. compiled successfully under gcc7
2、python: can't decompress data; zlib not available when building python2.7. solution
3、ubuntu 18.04.5(g++ 8.5)、ubuntu20.04(g++ 9.3) The same compilation error occurred when i tryed to build yadcc on my PC which installed with ubuntu 18.04.5(
g++ 8.5
) or ubuntu20.04(g++ 9.3
), but pthread.a(/usr/lib/x86_64-linux-gnu/libpthread.a
) and pthread.so(/usr/lib/x86_64-linux-gnu/libpthread.so
) exist. Strangely enough, it can be compiled successfully in the company environment which installed with ubuntu 18.04.