I have installed Slackware 3.1 but the loader (ld) cannot find
the X11 library:
>gcc -o foo foo.c -lX11
/usr/i486-linux/bin/ld: cannot open -lX11: No such file or directory
However, when I explicitly give the library path it is fine:
>gcc -o foo foo.c -L/usr/X11/lib -lX11
Could someone tell me where the loader gets its default search
path from?
Thanks