[Users] Latest git (3.9.1git16) breaks ability to detect python on Fedora 18

Brian Morrison bdm at fenrir.org.uk
Tue May 28 13:32:40 CEST 2013


On Tue, 28 May 2013 09:31:18 +0100
Paul wrote:

> On Mon, 27 May 2013 20:49:26 -0400
> Charles A Edwards <CAE at eslrahc.com> wrote: 
> 
> > Paul's 'fix locating of pythonXX.so' commit in 3.9.1-16-g7a8ee41
> > breaks python detection on 64bit systems.
> 
> Not strictly true, it's actually on certain distros, 64 or 32. I'll
> fix this later.

Thanks Paul

Looking again at the change it seems to have removed the explicit
check for libpython{ver}.so in /usr/lib64/ which I think is why it
fails for me.

FYI

python-config --ldflags

outputs the following on Fedora 18 64 bit:

-lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic

python-config --ldflags|sed 's/-L//'|awk '{print $1}'

returns only:

-lpthread

HTH

-- 

Brian Morrison



More information about the Users mailing list