[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

cannot open -lX11: No such file or directory



Når jeg køre følgende makefil på Red Hat 6.1

cyclic_xlib: cyclic_xlib.c
 gcc -lX11 -o cyclic_xlib cyclic_xlib.c

clean:
 rm -r -f *.o cyclic_xlib

får jeg følgende fejlmeddelse

/usr/bin/ld: cannot open -lX11: No such file or directory

$LD_LIBRARY_PATH er tom. Hvad er syntaksen iøvrigt for at sætte den til
en værdi?

Indholdet af etc/ld.so.conf er

/usr/X11R6/lib
/usr/i486-linux-libc5/lib

og ldconfig er kørt. Med  -p parameteren kan man se at de ovennævnte
directories er med.

Hvad kan der være galt?









 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:08 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *