[SciPy-dev] cannot find -lX11

Nils Wagner nwagner at mecha.uni-stuttgart.de
Mon Mar 13 02:14:19 CST 2006


python setup.py install failed

/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld:
cannot find -lX11
collect2: ld returned 1 exit status
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld:
cannot find -lX11
collect2: ld returned 1 exit status
error: Command "gcc -pthread -shared
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/pygist/gistCmodule.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/gist.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/tick.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/tick60.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/engine.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/gtext.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/draw.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/draw0.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/clip.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/gread.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/gcntr.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/hlevel.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/ps.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/cgm.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/eps.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/style.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/xfancy.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/xbasic.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/unix/dir.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/unix/files.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/unix/fpuset.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/unix/pathnm.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/unix/timew.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/unix/uevent.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/unix/ugetc.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/unix/umain.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/unix/usernm.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/unix/slinks.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/colors.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/connect.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/cursors.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/errors.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/events.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/fills.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/fonts.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/images.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/lines.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/pals.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/pwin.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/resource.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/rgbread.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/textout.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/rect.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/clips.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/points.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/all/hash.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/all/hash0.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/all/mm.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/all/alarms.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/all/pstrcpy.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/all/pstrncat.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/all/p595.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/all/bitrev.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/all/bitlrot.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/all/bitmrot.o
-LLib/sandbox/xplt/. -LLib/sandbox/xplt/src -L/usr/lib
-Lbuild/temp.linux-x86_64-2.4 -lX11 -lm -o
build/lib.linux-x86_64-2.4/scipy/sandbox/xplt/gistC.so" failed with exit
status 1


lisa:/usr/local/svn/scipy # locate libX11
/usr/lib/NX/lib/libX11.so.6
/usr/lib/NX/lib/libX11.so.6.2
/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

Any idea how to fix this problem would be appreciated ?

Nils





More information about the Scipy-dev mailing list