View Single Post
Old 04-14-2013, 04:22 PM   #20
whenster
Member
whenster began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Apr 2013
Location: UK
Device: Nexus 7 FBReader
Quote:
Originally Posted by Rob Ireton View Post
if you try to run sigil now, it will complain that it can't find some Qt shared libraries. I think the best way to solve this is to adjust the sigil.desktop file in /usr/local/share/applications

figure out where the shared libraries are:
$ find /opt -name libQt5Widgets.so.5

edit sigil.desktop
$ gksudo gedit /usr/local/share/applications/sigil.desktop &

change the line
Exec=sigil
to
Exec=env LD_LIBRARY_PATH=/opt/Qt5.0.1/5.0.1/gcc_64/lib /usr/local/bin/sigil %F
(or wherever the last find command gave you) and save

now you should be able to use Nautilus (the file browser) to navigate to /usr/local/share/applications and start sigil from the icon there. You can then pin this to your Unity launcher!
I cannot get the sigil.desktop to execute. I'm probably doing something wrong.

Installed Qt5.0.2 to /opt/Qt5.0.2 but installed Sigil to opt/sigil rather than /usr/local

$ find /opt -name libQt5Widgets.so.5
gives
/opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Widgets.so.5
find: ‘/opt/Qt5.0.2/5.0.2/gcc/examples’: Permission denied
/opt/Qt5.0.2/Tools/QtCreator/lib/qtcreator/libQt5Widgets.so.5

So what command do I use to edit the line Exex=sigil in /opt/sigil/share/applications/sigil.desktop

I'm on Ubuntu 12.04 32 bit system. Installed cmake-2.8.10.2 (built from source) to /opt/cmake.

Last edited by whenster; 04-14-2013 at 04:25 PM.
whenster is offline   Reply With Quote