This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] python-config.py --ldflags should return relocated path to libpython
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 16 Aug 2010 07:49:49 -0700
- Subject: Re: [RFC] python-config.py --ldflags should return relocated path to libpython
- References: <1278627885-9416-1-git-send-email-brobecker@adacore.com> <20100805185347.GA31513@host1.dyn.jankratochvil.net> <20100811190722.GB2834@adacore.com>
> > /usr/bin/ld: skipping incompatible /usr/lib/libtinfo.so when searching for -ltinfo
>
> I presume that this is because python is installed in /usr/bin, but
> /usr/lib contains the 32bit SOs? Where is the libpython.so installed
> for fedora? On Ubuntu, for instance, /usr/lib/libpython2.6.so.1.0 is
> a 64bit library....
I have fought hard trying to come up with a simple way to make things
work in the case where Python is configured with a different prefixlib,
but to no avail. For now, I have to withdraw that patch as being
incomplete (and maybe even incorrect for Windows/Darwin). I will notify
the Python developers as well. Thanks for spotting and reporting
the problem.
--
Joel