[PyOpenGL-Users] lack of -L/usr/X11R6/lib when building
Brought to you by:
mcfletch
From: Huw L. <hu...@mo...> - 2004-09-08 14:32:47
|
I'm currently trying to build PyOpenGL 2.0.1.08 on a RedHat 7.2 box against Python-2.3.4 . I've already installed several big packages like PIL and Numeric Python so I'm pretty sure that my Python setup is OK. when doing "python setup.py build" I get the following error: gcc -pthread -shared build/temp.linux-i686-2.3/src/Togl-1.6/togl.o -L/usr/lib -L/usr/lib -Lbuild/temp.linux-i686-2.3 -L/usr/lib -L/usr/lib -Lbuild/temp.linux-i686-2.3 -lGL -lX11 -lXext -lGLU -lXmu -lXt -lm -ltcl8.3 -ltk8.3 -linterface_util -o build/Togl-1.6-tk8.3/Togl.so /usr/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status error: command 'gcc' failed with exit status 1 libX11.so is under /usr/X11R6/lib config/linux.cfg contains the line: library_dirs=/usr/lib:/usr/local/lib:/usr/X11/lib:/usr/X11R6/lib so I would have expected to see -L/usr/X11R6/lib and -L/usr/X11/lib amongst the gcc options but they were not there. The fact that -L/usr/lib is repeated over and over again is making me suspicious that something nasty has happened. Does anyone have any ideas about how I can start tracking down what is going on? Thanks, Huw -- | Huw Lynes | The Moving Picture Company | | System Administrator | 127 Wardour Street | |.........................| London, W1F 0NL | |