DDD requires lib Xm to run, it is unable to find this library
libXm.so is a Motif library. My guess is that ddd in RH Powertools is compiled against lesstif, in this case you need to install lesstif to make it work.