This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 7.2 branch, configure problem, --with-python


Joel Brobecker wrote:
So... aren't there some distro-related concerns about linking
gdb against a static system library?

I don't understand why you are seeing this. For instance, on my Ubuntu distribution where the system python was installed with a shared libpython, I see that GDB is correctly linked against a libpython.so rather than linked with the archive:

    % ldd gdb
            [...]
            libpython2.6.so.1.0 => /usr/lib/libpython2.6.so.1.0 (0x00007fae940a8000)
            [...]

There must be something else in your case that causes the problem (?).


Hmmm, what if you try configure --with-python=/usr? That will approximate what I'm doing (only with me it's a non-standard install location).

I see when I do that, gdb seems to be statically linked to the system python static library.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]