On 02.03.2018 17:50, Pukitis, Martins wrote:
Hi.
gdb doesn't run due to there is no libpython2.7.so on the system. $ ./gdb/gdb --version ./gdb/gdb: error while loading shared libraries: libpython2.7.so: cannot open shared object file: No such file or directory
There is only static python library available. Is there a way to build gdb with static python library?
I have never tried to build gdb with a static libpython. However you should be able to install a system libpython2.7 on your system when it exists, e.g.
sudo apt install libpython2.7
Otoh, modern gdb's really should be built using Python3.
Matthias