And Kreaped Ripping Reaper bestowed upon us all:
> 
> hi.. i tried to compile something that needs -lX11 but gives me an error that 
> says i dont have it... 
> i'm using woody :)
> error is here--------
> 
> [EMAIL PROTECTED]:~/ ]$  gcc -lX11 -lm -o xroy xroy.c
> /usr/bin/ld: cannot find -lX11
> collect2: ld returned 1 exit status
> 
> 
> [EMAIL PROTECTED]:~ ]$ dpkg -l *xlib6g-dev*
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
> uppercase=bad)
> ||/ Name             Version          Description
> +++-================-================-================================================
> ii  xlib6g-dev       3.3.6-6          include files and libraries for X 
> client develop
> 
> 
> [EMAIL PROTECTED]:~ ]$ ls -la /usr/X11R6/lib/libX11.so*
> lrwxrwxrwx    1 root     root           13 Apr 21 00:24 
> /usr/X11R6/lib/libX11.so -> libX11.so.6.1
> lrwxrwxrwx    1 root     root           13 Apr 21 00:24 
> /usr/X11R6/lib/libX11.so.6 -> libX11.so.6.1
> -rwxr-xr-x    1 root     uucp      2532951 Mar 15 10:04 
> /usr/X11R6/lib/libX11.so.6.1
> 
> -- 
> ------------------------
> |kreaper              |
> |[EMAIL PROTECTED]|
> |[EMAIL PROTECTED]    |
> |[EMAIL PROTECTED]    |
> ------------------------
> You'll never be the man your mother was!

try gcc -L/usr/X11R6/lib etcetc.
-- 
__________________ ____________ ________  _____  __  _

Justin Megawarne [ Solitude ]                   Tel: +44 (0)20 8863 0718
<[EMAIL PROTECTED]>             Cel: +44 (0)7941 270 136

http://kholmes.dhis.net/
irc.destructor.net && irc.xchat.org - #Linux

Reply via email to