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

Re: compile problem



> Hi all,
> 
> When I try to compile a program with -l*(anything from /usr/X11R6/lib), I get
> no such a file or directory error. 

Usually, the options are:
  gcc .... -L/usr/X11R6/lib -lX11 -lXaw -l.....



>I have /usr/X11R6/lib in my /etc/ld.so.conf,

Those are for run-time linking, not for compile time linking.

> and I have ran ldconfig -v.

Run time too.



-- 
joost witteveen     joostje@debian.org
    
I came, I saw, ..., well, it wasn't free so I left again. (LUA, 1988)


Reply to: