Hi, As root I can compile a program using: gcc -I /usr/include/X11 -L/usr/X11R6/lib demo.c -lX11
and get an executable a.out. As a user when I type the same thing I get: ld:cannot open -lX11: No such file of directory Do I have to give this user special privledges or something??? How do I make it so I can compile as this user.. PS Please reply with a copy directly to me. Regards, MTY