![]() |
#1 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 152
Karma: 216188
Join Date: Jul 2010
Device: Nook Classic, Kobo Touch, Nook Simple Touch, Kobo Aura
|
0.4.0 on Fedora 15
32-bit works great after some minor fiddling. At first it refused to work and complained of static libraries it couldn't find. I looked at sigil.sh in gedit and noted it was adding the current directory to the LD_LIBRARY_PATH environmental variable. Due to old habits I don't like to use LD_LIBRARY_PATH and prefer to leave it blank,the default on Fedora.
I added the following line to sigil.sh before the if/fi logic: LD_LIBRARY_PATH=/usr/lib Other than changing permissions that was all that was needed. |
![]() |
![]() |
![]() |
#2 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
By changing the LD_LIBRARY_PATH you're causing Sigil to use the system libraries (Qt) instead of the bundled ones.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 152
Karma: 216188
Join Date: Jul 2010
Device: Nook Classic, Kobo Touch, Nook Simple Touch, Kobo Aura
|
Quote:
My LD_LIBRARY_PATH is null so the script is adding the custom library files directory to null. Sigil will not be able to find the static libraries it needs other than the bundled ones If instead I set LD_LIBRARy PATH to the directory where the static libraries are located and do it in sigil.sh before the the bundled libraries are added, it works. It has been many years since I did any programming or dealt with bash script files and I may be wayyy out in left field here. |
|
![]() |
![]() |
![]() |
#4 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Ah. I see what you're doing. You've added /usr/lib which is later changed to current_dir:/usr/lib. I thought you were completely overriding the path.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tweak ePub Error on Fedora 15 | apastuszak | Calibre | 2 | 06-06-2011 09:15 AM |
error while compiling calibre under fedora... | samy2 | Calibre | 3 | 05-21-2011 01:01 PM |
Sigil does not start on Fedora 14 | KenFisher | Sigil | 2 | 03-17-2011 09:36 AM |
Calibre on Fedora 12 | kremkex | Calibre | 1 | 02-28-2010 03:56 PM |
Tried to install calibre to fedora 10 64 failed | dschiri1 | Calibre | 8 | 06-17-2009 01:31 PM |