python config question

Michael Snyder msnyder@vmware.com
Tue Mar 2 00:37:00 GMT 2010


Question about --with-python=$PATH.

If I have python version X installed "natively" on my build machine
(eg. at /usr/lib/libpython.*), and version Y installed somewhere else
(eg. at $PYPATH), and I tell configure that I want to use the one at
$PYPATH, eg.

     configure --with-python=$PYPATH

Shouldn't I expect gdb to be linked against python version Y?

That doesn't seem to be what happens, in fact "ldd" tells me
that gdb wants to use version X at /usr/lib/libpython*.



More information about the Gdb mailing list