This is an effect of linking against one library and
running against another. I'll bet that /usr/X11R6/lib or so
contains another version of LessTif or Motif.

Run 'ldd src/xmgrace' to find out. You should, but you won't,
see reference to /usr/local/lesstif/lib/libXm.so.* if I am right.

You can use
  setenv LD_LIBRARY_PATH /usr/local/lesstif/lib
to fix this on a temporary basis.

        Danny


> $ setenv CFLAGS "-I/usr/local/lesstif/include -L/usr/local/lesstif/lib"
> $ setenv CPPFLAGS "-I/usr/local/lesstif/include -L/usr/local/lesstif/lib"
> $ setenv LDFLAGS "-L/usr/local/lesstif/lib"
> $ make configure
> $ ./configure
> $ make
> $ src/xmgrace
>
> The last command is a test, before I actually install it.
> This results in the following:
>
> src/xmgrace: Symbol `_XmStrings' has different size in shared object, 
consider re-linking
> src/xmgrace: error in loading shared libraries: src/xmgrace: undefined 
symbol: stat

Reply via email to