hi everybody,
I am trying to install lesstif over linux and when I compile I have an
error meaning that I can't  find the "shared libraries". Something like
this:

make
cc  -g -I/usr/lesstif/include -I/usr/X11R6/include hello.c -o hello
-L/usr/X11R6/lib -L/usr/lesstif/lib -lMrm -lXm -lXt -lXmu -lXext -lX11
-lSM -lICE
ld: warning: libc.so.5, needed by /usr/lesstif/lib/libMrm.so, may
conflict with
libc.so.6
/usr/i486-linux-libc5/lib/libc.so.5: warning: `siggetmask' is obsolete;
`sigprocmask' is best
/usr/i486-linux-libc5/lib/libc.so.5: the `getwd' function is dangerous
and should not be used.
/usr/i486-linux-libc5/lib/libc.so.5: the `gets' function is dangerous
and should not be used.
[root@localhost /root]# ldd hello
        libMrm.so.1 => not found
        libXm.so.1 => not found
        libXt.so.6 => /usr/i486-linux-libc5/lib/libXt.so.6 (0x40008000)
        libXmu.so.6 => /usr/i486-linux-libc5/lib/libXmu.so.6
(0x40048000)
        libXext.so.6 => /usr/i486-linux-libc5/lib/libXext.so.6
(0x40059000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40063000)
        libSM.so.6 => /usr/i486-linux-libc5/lib/libSM.so.6 (0x40115000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4011d000)
        libc.so.6 => /lib/libc.so.6 (0x40132000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)

when I make ldconfig -v  I have obteined these files:

/usr/lesstif/lib:
        libXbae.so.4 => libXbae.so.4.0.7
        libXlt.so.0 => libXlt.so.0.8.0
        libMrm.so.1 => libMrm.so.1
        libXm.so.1 => libXm.so.1

someone of you, may you help me ???

thanks, hector duque





Reply via email to