Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-19-2011, 01:57 PM   #1
geormes
Groupie
geormes ought to be getting tired of karma fortunes by now.geormes ought to be getting tired of karma fortunes by now.geormes ought to be getting tired of karma fortunes by now.geormes ought to be getting tired of karma fortunes by now.geormes ought to be getting tired of karma fortunes by now.geormes ought to be getting tired of karma fortunes by now.geormes ought to be getting tired of karma fortunes by now.geormes ought to be getting tired of karma fortunes by now.geormes ought to be getting tired of karma fortunes by now.geormes ought to be getting tired of karma fortunes by now.geormes ought to be getting tired of karma fortunes by now.
 
geormes's Avatar
 
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.
geormes is offline   Reply With Quote
Old 08-19-2011, 02:50 PM   #2
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
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.
user_none is offline   Reply With Quote
Advert
Old 08-19-2011, 05:45 PM   #3
geormes
Groupie
geormes ought to be getting tired of karma fortunes by now.geormes ought to be getting tired of karma fortunes by now.geormes ought to be getting tired of karma fortunes by now.geormes ought to be getting tired of karma fortunes by now.geormes ought to be getting tired of karma fortunes by now.geormes ought to be getting tired of karma fortunes by now.geormes ought to be getting tired of karma fortunes by now.geormes ought to be getting tired of karma fortunes by now.geormes ought to be getting tired of karma fortunes by now.geormes ought to be getting tired of karma fortunes by now.geormes ought to be getting tired of karma fortunes by now.
 
geormes's Avatar
 
Posts: 152
Karma: 216188
Join Date: Jul 2010
Device: Nook Classic, Kobo Touch, Nook Simple Touch, Kobo Aura
Quote:
Originally Posted by user_none View Post
By changing the LD_LIBRARY_PATH you're causing Sigil to use the system libraries (Qt) instead of the bundled ones.

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.
geormes is offline   Reply With Quote
Old 08-19-2011, 08:40 PM   #4
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
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.
user_none is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 11:51 AM.


MobileRead.com is a privately owned, operated and funded community.