medm needs libXm.so.3. libXm.so.3 is not installed in Ubuntu 11.0.4 even lesstif2-dev or libpacklib-lesstif1-dev is installed:
>medm medm: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory cp
I copied it from old system to /usr/lib64 by using
locate libXm.so.3