Re: ld problem
the program may not know where to look
try this:
export LD_LIBRARY_PATH=/usr/X11R6/bin:$LD_LIBRARY_PATH
(for bash^^)
setenv LD_LIBRARY_PATH=/usr/X11R6/bin:LD_LIBRARY_PATH
(for everything else? ^^)
and make again.
nate
----------------------------------------[mailto:aphro@aphroland.org ]--
Vice President Network Operations http://www.firetrail.com/
Firetrail Internet Services Limited http://www.aphroland.org/
Everett, WA 425-348-7336 http://www.linuxpowered.net/
Powered By: http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMP http://yahoo.aphroland.org/
-----------------------------------------[mailto:aphro@netquest.net ]--
On Fri, 29 Oct 1999, Liu Chung Him wrote:
> Dear All,
>
> I comply a problem which need libX11 . The gcc command line is :
> gcc -L/usr/X11/lib -L/usr/X11R/lib -lX11 -lXexr -lXmu -lXt -lVi -o Scan
> Scan.c
>
> However, there is some error :
> /usr/bin/ld:cannot find -lX11
> collect2: ld returned 1 exit status
> make: *** [Scan] Error 1
>
> I have checked that there is libX11.so.6 under /usr/X11R6/lib.
>
> What is the problem ??? How to solve this ???
>
> Thank you !
>
> Wilson
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
Reply to:
- References:
- ld problem
- From: Liu Chung Him <eg_lchaa@stu.ust.hk>