Re: ld problem

1999-10-31 Thread Greg Wooledge
Liu Chung Him ([EMAIL PROTECTED]) wrote: > > > > > gcc -L/usr/X11/lib -L/usr/X11R/lib -lX11 -lXexr -lXmu -lXt -lVi -o > > > > > Scan > > > > > Scan.c > > You want to say "-L/usr/X11R6/lib" not "-L/usr/X11R/lib". > But, i had typed correctly in the Makefile. > Is it the linker problem or the sha

Re: ld problem

1999-10-31 Thread Martin Fluch
On Sun, 31 Oct 1999, Liu Chung Him wrote: > Wrong typing !! sorry !!! > > But, i had typed correctly in the Makefile. > Is it the linker problem or the shared library problem What does ls -l /usr/X11R6/lib/libX11* look like? Perhaps (for some reason) a dangling symlink? Martin -- For pub

Re: ld problem

1999-10-31 Thread Liu Chung Him
Wrong typing !! sorry !!! But, i had typed correctly in the Makefile. Is it the linker problem or the shared library problem Best wishes, Wilson On Sun, 31 Oct 1999, Mark Brown wrote: > On Sun, Oct 31, 1999 at 11:06:12PM +0800, Liu Chung Him wrote: > > > I had already installed the packa

Re: ld problem

1999-10-31 Thread Mark Brown
On Sun, Oct 31, 1999 at 11:06:12PM +0800, Liu Chung Him wrote: > I had already installed the package. The problem is still the same. > > > gcc -L/usr/X11/lib -L/usr/X11R/lib -lX11 -lXexr -lXmu -lXt -lVi -o Scan > > > Scan.c You want to say "-L/usr/X11R6/lib" not "-L/usr/X11R/lib". -- Mark Brow

Re: ld problem

1999-10-31 Thread Martin Fluch
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

Re: ld problem

1999-10-31 Thread Liu Chung Him
Dear Martin, I had already installed the package. The problem is still the same. What can i do ?? Best wishes, Wilson 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/

Re: ld problem

1999-10-30 Thread Greg Wooledge
aphro ([EMAIL PROTECTED]) wrote: > 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? ^^) That's not correct, for several reasons. First, it should be /usr/X11R6/lib, not .../bin. Second, you can'

Re: ld problem

1999-10-29 Thread aphro
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:[EMAIL PROTECTED] ]-- Vi

Re: ld problem

1999-10-29 Thread Ingo Reimann
On Fri, Oct 29, 1999 at 04:25:52PM +0800, 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 > Hmm, is this only a misspelling for that mail? what do you think abo

Re: ld problem

1999-10-29 Thread Martin Fluch
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