Re: cannot open -lXm
On Sat, 28 Aug 1999, Jeremy C. Reed wrote:
> I can't compile Ted (richtext word processor)
>
> I keep getting the error
>
> ld: cannot open -lXm: No such file or directory
>
> Usually this means that the -L is set wrong but it says:
>
> (beginning clipped)
> -L/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lXm -lXp -lXpm -lXt
> -lXext -lSM -lICE -lX11 -lm
>
> antelope:/usr/X11R6/lib# ls libXm*
> libXm.so libXm.so.1 libXmu.so libXmu.so.6.0
> libXm.so.0 libXm.so.1.2 libXmu.so.6
> antelope:/usr/X11R6/lib# dpkg --list | grep lesstif
> ri lesstifg 0.86.9-2 OSF/Motif implementation released under
> LGPL
> ii lesstifg-dev 0.86.9-2 Development library and header files
> for Les
> antelope:/usr/X11R6/lib#
>
> Does any one know what I should do or check next?
>
I solved my problem...
Ted required statically linked versions of the libraries... I fixed the
problem by:
apt-get install lesstifg-dbg
apt-get install xlib6g-static
Jeremy C. Reed
------------------------------------------------------------
http://www.toprecruits.com
Reply to: