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


> 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 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?

-- 
Joel


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