[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: error linking X11 lib



*-Mário Olímpio de Menezes <mario@curiango.ipen.br>
|
| The error is:
| gcc -O -I../inc -I/user/openwin/include -I/usr/X11R6/include -o
| ../bin/Linux/hierarchy hierarchy.c ../lib/Linux/libIM.a
| ../lib/Linux/libFFT.a ../lib/Linux/libjpeg.a -lm -L/usr/lib
| -L/usr/X11R6/lib -L/usr/lib/X11 -lX11
| ld: cannot open -lX11: No such file or directory

Do you have xlib6g-dev installed?

ld wants to find /usr/X11R6/lib/libX11.so, but that is a symlink
made by the -dev package.

--
Eschew obfuscation    (go on; look them both up)
                                   (Brian White)
olet@ifi.uio.no   [-: .elOle. :-]   olet@debian.org


Reply to: