/usr/i486-linux/bin/ld: cannot open -lXt: No such file or directory

/usr/i486-linux/bin/ld: cannot open -lXt: No such file or directory

Post by Jim Fol » Thu, 20 Mar 1997 04:00:00



Can someone point me to a solution to this 'make' error?

/usr/i486-linux/bin/ld: cannot open -lXt: No such file or directory
make: *** [xltmix] Error 1

It occurs when compiling a program that requires Lesstif. I downloaded
Lesstif, but I am not sure where to put the files in the lesstif
distribution.  Do I copy them to my lib, /usr/lib, or can U use them from
their current home in /usr/local/lesstif/lib?

Thanks,
Jim

 
 
 

/usr/i486-linux/bin/ld: cannot open -lXt: No such file or directory

Post by Richard Simps » Mon, 31 Mar 1997 04:00:00


ld is looking for a file called libXt.so.  This should be a symbolic link
found in /usr/X11/lib.  Below is the result of ls -l /usr/X11/lib/libXt.*
on my system:

lrwxrwxrwx   1 root     root           12 Sep 24  1996 /usr/X11/lib/libXt.so -> libXt.so.6.0*
lrwxrwxrwx   1 root     root           12 Sep 24  1996 /usr/X11/lib/libXt.so.6 -> libXt.so.6.0*
-rwxr-xr-x   1 root     root       310861 Jul 23  1995 /usr/X11/lib/libXt.so.6.0*

Hope that helps.

--
Richard Simpson
Farnborough, Hants, Uk                 Fax: 01252 392118


 
 
 

1. /usr/i486-linux/bin/ld can not find files that exist!


The problem is that you tried to link an a.out
executable using the ELF library. If you
wish to produce an a.out binary, replace
the -L/usr/X11R6/lib by /usr/i486-linuxaout/lib
(or where you put your a.out X11 library files).
Or if you want ELF, just delete the -b i486-linuxaout
flag from the compiler and linker lines.

Morris Kwan

2. Moving a Linux installed distrib to other partitions on same drive

3. HELP:/usr/i486-linux/bin/ld: cannot open -lX11

4. Who?

5. Perl on Solaris 2.3 anyone ?

6. Linux Mail

7. ld: cannot open -lXt: No such file or directory

8. HELP!!:/usr/i486-unknown-linux-gnulibc1/bin/ld: no input files

9. /usr/lib/gcc-lib/i386-linux and /usr/lib/gcc-lib/i486-linux

10. xearth 1.0 compile -- ld: cannot open -lXt

11. /usr/ccs/bin/ld Vs. /usr/ucb/ld