[SciPy-user] X11 Build Problem

Alan Bromborsky brombo at comcast.net
Thu Aug 25 14:42:02 CDT 2005


I am trying to build SciPy on the following system:
    Fedora Core 3 X86_64
    Dual Opteron processors
    Python 2.3.4

I get the error during linking that the linker cannot find -lX11.  On my 
system it is in '/usr/X11R6/lib64'.  Note that setup_xplt.py uses 
get_info('x11').  The actual error messages are:

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

*Any suggestions would be appreciated!*


*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.scipy.net/pipermail/scipy-user/attachments/20050825/d8eeeb95/attachment.htm


More information about the SciPy-user mailing list