TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:2261] gcc won't find libraries
>
> > On Thu, Nov 19 1998, Eric Hillman wrote:
> > Eric> This may be just me being brain-dead... I'm trying
> > to install "DISLIN", a
> > Eric> potent little graphing program, and whenever I try to
> > compile and link the
> > Eric> bugger, I get this message: "ld: cannot open -lX11: No such file or
> > Eric> directory"
> >
> > You need to add -L/path/to/X/libraries to the compile line.
>
>
> Already tried that -- sorry, should have mentioned.
>
> Although trying it just now, now it complains that it can't find dhlin.h,
> which is also in a path specified by a "-L" option... I'm beginning to
> think I may just be cursed.
>
Include files are specified with the -I option..
gcc -L/path/to/X/libraries -I/path/to/X/include_files
Mark
--
Mark Dalton CH3-S-CH2 H H O H
Silicon Graphics, Inc. | | | \ |
Eagan, MN 55121 CH2-C-COO //\ ---C--CH2-C-COO C-CH2-C-COO
mwd@sgi.com | | || || | // |
NH3 \\/ \ / CH NH3 O NH3
NH
My home page: http://www.cbc.umn.edu/~mwd/mwd.html
BEAM Robotics: http://www.webconn.com/~mwd/beam.html
WWW Cell Bio. course: http://www.cbc.umn.edu/~mwd/cell.html