Hello
I just tried to build the example project for OpenGl on my FC4 linux box.
here's the message;
-------------- Build: Debug in GLtest ---------------
Linking console executable: bin/Debug/GLtest
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
i don't know where -lX11 is generated. i looked in build options/linker but found no eveidence of it.
Naturally there is no lX11 directory only the X11 , so how does one fix this?
Versuch mal ein
ls -l /usr/lib | grep libX11*
auf der Konsole, bei mir liefert das folgendes Ergebniss:
darthdespotism@akazieLX:~$ ls -l /usr/lib | grep libX11*
-rw-r--r-- 1 root root 19748382 2007-04-04 10:59 libX11.a
lrwxrwxrwx 1 root root 15 2007-05-01 11:47 libX11.so -> libX11.so.6.2.0
lrwxrwxrwx 1 root root 15 2007-04-30 23:03 libX11.so.6 -> libX11.so.6.2.0
-rw-r--r-- 1 root root 986540 2007-04-04 10:59 libX11.so.6.2.0
well, I don't speak German, but I ran the command and came up EMPTY in that /usr/lib directory.
Then I did this:
[root@localhost jim]# locate libX11
/usr/X11R6/lib/libX11.a
/usr/X11R6/lib/libX11.so
/usr/X11R6/lib/libX11.so.6
/usr/X11R6/lib/libX11.so.6.2
/usr/i486-linuxaout/lib/libX11.so.6
/usr/i486-linuxaout/lib/libX11.so.3
/usr/i486-linuxaout/lib/libX11.so.6.0
/usr/i486-linuxaout/lib/libX11.so.3.1.0
I belive the /usr/X11R6/lib/ is the standard path for FC-4
Will it work if I put this in the linker directory search?