python config question

Michael Snyder
2010-03-02T00:37:48Z

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*.