[CentOS] python 2.4.2

Jure Pečar pegasus at nerv.eu.org
Sun Mar 19 21:20:59 UTC 2006


Hi all,

Has anyone sucessfully compiled python 2.4.2 on centos 4.2 x86_64?
I'm trying with soon-to-be fc5 source rpm and it wants to convice me it doesn't know about libX11, but it is there:

#rpmbuild -bb python.spec
[snip]
gcc -pthread -shared  Modules/linuxaudiodev.o   -o Modules/linuxaudiodev.so
gcc -pthread -shared  Modules/timingmodule.o   -o Modules/timingmodule.so
gcc -pthread -shared  Modules/_tkinter.o Modules/tkappinit.o  -ltix -ltk -ltcl -lX11  -o Modules/_tkinter.so
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status

but:

# ldconfig -v |grep X11
ldconfig: /usr/X11R6/lib:
	libX11.so.6 -> libX11.so.6.2
/usr/X11R6/lib64:
	libX11.so.6 -> libX11.so.6.2

and:

# locate libX11
/usr/X11R6/lib/libX11.so.6
/usr/X11R6/lib/libX11.so.6.2
/usr/X11R6/lib64/libX11.a
/usr/X11R6/lib64/libX11.so
/usr/X11R6/lib64/libX11.so.6
/usr/X11R6/lib64/libX11.so.6.2

I'm without ideas what's going on here. Anyone?


-- 

Jure Pečar
http://jure.pecar.org/



More information about the CentOS mailing list