Can not load Lyx( and TeXmacs) on Fedora 20
I recently began to learn Linux via Fedora 20 and today have successfully installed the package lyx-2.0.7-2.fc20.x86_64 via the command:
yum install lyx.
But when I tried to launch it, it returned the following error message:
[root@chuanliu ~]# lyx
lyx: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory
The similar message appears after I installed TeXmacs and tried to launch it.
Can anyone tell me how to resolve this problem? Let me thank you all in advance :)
My system version is Fedora 20 and I've installed texlive and updated the system in the terminal.
First - don't launch applications as root.
su -c "yum -y install lyx"
should pull the necessary dependency (qt-x11). There have been probably some manual steps performed - try ifsu -c "yum clean all"
su -c "yum -y reinstall lyx"
helps