Skip to the posts
Buffalo's neighborhood journals since 2003 🍀 Patrick Spicy Devil Logan🌭 Sahlen🥨 Weber Spank🥟 Pierogi🐸 Scaj🍺 Labatt Utica Pink Cherio❄️ Snow Murder

tinypliny’s journal

Texmaker error in Fedora 15

·

Escapist solution to ensuing mess:
The wrestling match with Texmaker on Fedora 15 got way too confusing. I found that Texmaker has a fork called Texstudio and I have installed it instead. The x86_64 version of Texstudio for Fedora 15 is available here:



My most useful LaTeX editor doesn't start in Fedora 15. I am getting this error message:

texmaker: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory



But I do have libQtWebKit.so.4!

whereis libQtWebKit.so.4
libQtWebKit.so: /usr/lib/libQtWebKit.so.4



After some googling, I think the problem lies here:


whereis libQtGui.so.4
libQtGui.so:
/usr/lib/libQtGui.so.4
/usr/lib64/libQtGui.so.4



To try and find out which one of these is "owned" or "required" by other packages, I used the syntax from this VERY helpful document:

rpm -qf /usr/lib/libQtGui.so.4


gives

qt-x11-4.7.4-2.fc15.i686



rpm -qf /usr/lib64/libQtGui.so.4


gives

qt-x11-4.7.4-2.fc15.x86_64



Just for kicks, I also queried rpm for everything containing qt


rpm -qa | grep -i qt




qt-x11-4.7.4-2.fc15.x86_64
PyQt4-4.8.3-2.fc15.x86_64
poppler-qt-0.16.7-1.fc15.x86_64
qt-webkit-4.7.4-2.fc15.i686
qt-x11-4.7.4-2.fc15.i686
qt-4.7.4-2.fc15.x86_64
qt-4.7.4-2.fc15.i686



Hmm... so my system is x86_64. Do I need these i686 packages? Are these not being recognized by texmaker, perhaps? Should I be deleting these i686 packages (and their dependencies) and replacing them with the x86_64 versions?


See solution at the top. It's not worth my time to be wrestling with this level of hideous confusion.

Share 300 words · edited Oct 14, 2011

💬 4 comments

  1. paul ·

    You have the worst luck. I just ran sudo yum install texmaker and it worked. Sounds like you only have the 686 libraries installed and are running the x86_64 version of the app.

    sudo yum install texmaker

    Installed:
    texmaker.x86_64 1:3.1-1.fc15

    Dependency Installed:
    Xaw3d.x86_64 0:1.5E-20.fc15
    kpathsea.x86_64 0:2007-62.fc15
    netpbm.x86_64 0:10.47.26-2.fc15
    netpbm-progs.x86_64 0:10.47.26-2.fc15
    phonon.x86_64 0:4.5.0-2.fc15
    phonon-backend-vlc.x86_64 0:0.4.1-2.fc15
    poppler-qt.x86_64 0:0.16.7-1.fc15
    qt-webkit.x86_64 1:4.7.4-2.fc15
    t1lib.x86_64 0:5.1.2-7.fc15
    tetex-dvipost.x86_64 0:1.1-12.fc15
    tex-preview.noarch 0:11.86-6.fc15
    texlive.x86_64 0:2007-62.fc15
    texlive-dvips.x86_64 0:2007-62.fc15
    texlive-latex.x86_64 0:2007-62.fc15
    texlive-texmf.noarch 0:2007-37.fc15
    texlive-texmf-dvips.noarch 0:2007-37.fc15
    texlive-texmf-fonts.noarch 0:2007-37.fc15
    texlive-texmf-latex.noarch 0:2007-37.fc15
    texlive-utils.x86_64 0:2007-62.fc15
    xdvik.x86_64 0:22.84.14-9.fc15
  2. tinypliny ·

    Okay, I bypassed luck by installed texstudio, a fork of texmaker. In this case, thank goodness, the linux community is torn by forks and strife.
  3. tinypliny ·

    And, some of the earlier dependencies (eg. latex environment) were already installed in the laptop. Maybe that was the reason for the conflict. I have a sneaking suspicion this is not the end of the i686/x86_64 incompatibility drama. My brother seems to have installed whatever version was nearest his mouse. I will clean it up next month with you but right now I have no time.
  4. paul ·

    It shouldn't matter that the 686 and x86_64 version of the libraries are installed. Anything that is compiled only for i686 will require those libraries. For a long time that included at least Skype, citrix client and second life. This would happen on any OS if you were trying to run 32 bit programs on a 64 bit OS.

    That being said texmaker works perfectly fine for my system which means it can on yours.

💬 Write a comment