On Mon, 1 May 2000 04:26:07 +0200, Matthias Buelow wrote:

>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
>

I think it's reasonable to build voth versions by default, as there
are good reasons to have both around. You still have the configure flags
to adjust the details (default version, etc.).
Question is whether the current system of installation is fail-safe
on all systems, i.e. answer why in your case the wrong library came in.
Since these problems are reported rarely I assume that the current
way of doing things works in 99% ...


------------------------------------------------------------------
  Alexander Mai
  [EMAIL PROTECTED]
------------------------------------------------------------------


Reply via email to