Hi,

recently I have mailed a problem report with lesstif 0.90.0 and mgv 3.1.5
on NetBSD to this list; I had little time on my hands lately but now
reinvestigated the problem with 0.90.1.

The same problem did occur but then I checked the libraries the program
was linked against and found out that it was the motif 2.0 library version
of lesstif; the program however was compiled against 1.2 but the linker
obviously chose the library with higher version number.

After rm'ing the link to libXm.so.2.0 I rebuilt and mgv works fine now.
Maybe the LessTif configure script should only build one of the two
versions per default instead of both as it is now the case, preferrably 1.2?
Another idea might be not to symlink both libraries into <install-prefix>/lib
but just the 1.2 version and if the user wants to build against 2.0 (s)he
can explicitly specify include and library paths to
<install-prefix>/LessTif/Motif2.0/...  This would probably resolve some
problems people might experience with ld linking against the wrong
library.

mkb

Reply via email to