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:
Umm, yeah.  configure is always looking for the libs in
<prefix>/lib/<version>config.  Which for me (both system
and personal install) contains only the static libs.

And that would be what a normal install looks like:


  - If you configure python with --enable-shared, lib/ should only
    contain the dso, and lib/python-<version>/config/ should only
    contain the archive.

  - If you configure without --enable-shared, then lib/ should only
    contain the archive. And so should your lib/python-<version>/config/
    directory.

The bottom line, IMO, is that you python install is simply broken.

It works fine with gdb-7.1 (dynamically linked)...


It looks like libpython.so was built separately from the rest of
the python install. For instance, what does "ldd /path/to/your/python"
show? Is it linked against libpython.so?

Um, no, it appears to be linked statically. What about yours (the 2.7 version that you built)?


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