ld can't find -lX11

Garrett Cooper youshi10 at u.washington.edu
Sun May 20 21:35:13 UTC 2007


Tsu-Fan Cheng wrote:
> Hi,
>   I guess this is really simple, but I am not familiar with ld thing.
> During xorg upgrade, graphics/glitz failed, and complained that ld
> can't find -lX11, what should I do?? please advise, thanks!!
> 
> TFC

Check to make sure that /usr/local (i.e. ${LOCALBASE} => /usr/local) is 
in your lib search path and not the old X11 default (i.e. ${X11BASE} => 
/usr/X11R6).

-Garrett


More information about the freebsd-questions mailing list