Re: ld problem
On Sun, 31 Oct 1999, Liu Chung Him wrote:
> Dear Martin,
>
> I had already installed the package. The problem is still the same.
>
> What can i do ??
There seems the right -L option missing:
-L/usr/X11R6/lib
Since libX11.so resides in /usr/X11R6/lib ... does that help?
Martin
> On Fri, 29 Oct 1999, Martin Fluch wrote:
>
> > On Fri, 29 Oct 1999, Liu Chung Him wrote:
> >
> > > 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.
> >
> > Have you installed the developer package (lib6g-dev)?
> >
> > Martin
> >
> > --
> > If the box says 'Windows 95 or better', it should run on Linux, right?
> > - anonymous
> >
> > For public PGP-key: finger mfluch@mathphys.fsk.uni-heidelberg.de
> >
>
>
--
For public PGP-key: finger mfluch@mathphys.fsk.uni-heidelberg.de
Reply to: