The binary that works is in the home directory.
The one that does not is in usr/local/bin.
The Qt5 libs are in /opt.
The error message from running sigil is this:
error while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file: No such file or directory
I am guessing that somehow the path of the sigil command is wrongly set and so it cannot see the file, which is really there?
But the other thing I can't understand is why the compile and installer should have apparently installed binaries in /home? Or is the installation process first to compile, and then to move the bits into the right places, and this has not happened?
On the other hand, the sigil binaries are where they should be, so the qt5 libs should be also.
What the world needs is a Debian maintainer for sigil! Any volunteers?
Al
Please reply to your email and do not start a new thread for the same problem.
On 21 April 2013 10:19, Peter Alcibiades palcibiades-first@yahoo.co.uk wrote:
The binary that works is in the home directory.
Why do you have this? Is this the directory where you compiled Sigil before installing it? Maybe it has temporary libQt5 libraries needed for compiling, not running but if the current folder is used for library path, then it would pick up the qt5 libraries. And only if you ran Sigil from that folder.
The one that does not is in usr/local/bin.
Try the ldconfig tip in my original email.
Regards, Srdjan
Wonderful! Thanks a million, it worked.
I think the one in the home directory must have been the one I compiled it to. Anyway, I put the Qt5 files into /opt, edited the the etc file to add an entry with the libraries location, ran ldconfig as instructed, and now everything works. I'd never have figured that one out for myself. Cheers!
Al
On Sunday 21 April 2013 11:08:44 Srdjan Todorovic wrote:
Please reply to your email and do not start a new thread for the same problem.
On 21 April 2013 10:19, Peter Alcibiades palcibiades-first@yahoo.co.uk wrote:
The binary that works is in the home directory.
Why do you have this? Is this the directory where you compiled Sigil before installing it? Maybe it has temporary libQt5 libraries needed for compiling, not running but if the current folder is used for library path, then it would pick up the qt5 libraries. And only if you ran Sigil from that folder.
The one that does not is in usr/local/bin.
Try the ldconfig tip in my original email.
Regards, Srdjan