Thanks a lot.. I checked and it was using the wrong libqt.so.3 from the /usr/lib directory instead of /usr/local/qt/lib.. I guess I have to set the LD_LIBRARY_PATH? How do I do this for lyx to use the lib in /usr/local/qt/lib without affecting the path to other libraries? Currenly LD_LIBRARY_PATH is not set at all - echo $LD_LIBRARY_PATH outputs nothing..
Thanks, nirmal