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-2016, 05:49 PM   #16
latepaul
Wizard
latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.
 
latepaul's Avatar
 
Posts: 1,270
Karma: 10468300
Join Date: Dec 2011
Device: a variety (mostly kindles and kobos)
Quote:
Originally Posted by KevinH View Post
FWIW, this is a real issue on Linux that no one seems to address. Breaking backwards binary compatibility (or even pseudo breakage by decree) just makes no sense.
Ah, an excuse to post one of my favourite Linus rants!
latepaul is offline   Reply With Quote
Old 08-19-2016, 05:54 PM   #17
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,574
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by st_albert View Post
Thanks! This worked for me. In case others are interested, here's what I did:
Spoiler:

1) downloaded source code for libxml2-2.9.2.tar.gz from ftp://xmlsoft.org/libxml2/ and extracted it into a working directory. (say, ~/workdir/)

2) cd to that directory and issue commands ./configure and make.

3) since I didn't want to install it system-wide, I didn't do "make install" but simply copied (as root) ~/workdir/.libs/libxml2.so.2.9.2 to /usr/local/libs/sigil/ (which is where the sigil binary is located)

4) cd /usr/local/libs/sigil and (as root) ln libxml2.so.2.9.2 libxml2.so2

and that did it. My system is Kubuntu 16.04.1 64-bit Xenial Xerus



Albert
That's the ticket! (although I assume you meant renamed to libxml.so.2 and not .so2).

I've got a makeself installer that will locate the Sigil binary and place a patched libxml2 v2.9.4 next to it (for those less adventuresome). I just want to verify that I've covered my bases before making it available.
DiapDealer is online now   Reply With Quote
Advert
Old 08-19-2016, 06:35 PM   #18
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,769
Karma: 6000000
Join Date: Nov 2009
Device: many
libxml2.so.2
KevinH is online now   Reply With Quote
Old 08-19-2016, 07:25 PM   #19
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,574
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by KevinH View Post
libxml2.so.2
I knew we'd get there eventually.
DiapDealer is online now   Reply With Quote
Old 08-20-2016, 03:26 AM   #20
Arran
Lernender
Arran ought to be getting tired of karma fortunes by now.Arran ought to be getting tired of karma fortunes by now.Arran ought to be getting tired of karma fortunes by now.Arran ought to be getting tired of karma fortunes by now.Arran ought to be getting tired of karma fortunes by now.Arran ought to be getting tired of karma fortunes by now.Arran ought to be getting tired of karma fortunes by now.Arran ought to be getting tired of karma fortunes by now.Arran ought to be getting tired of karma fortunes by now.Arran ought to be getting tired of karma fortunes by now.Arran ought to be getting tired of karma fortunes by now.
 
Arran's Avatar
 
Posts: 70
Karma: 341348
Join Date: Mar 2012
Location: Isle of Arran, Scotland
Device: Calibre, Sigil and Tolino
Quote:
Originally Posted by st_albert View Post
Thanks! This worked for me. In case others are interested, here's what I did:
Spoiler:

1) downloaded source code for libxml2-2.9.2.tar.gz from ftp://xmlsoft.org/libxml2/ and extracted it into a working directory. (say, ~/workdir/)

2) cd to that directory and issue commands ./configure and make.

3) since I didn't want to install it system-wide, I didn't do "make install" but simply copied (as root) ~/workdir/.libs/libxml2.so.2.9.2 to /usr/local/libs/sigil/ (which is where the sigil binary is located)

4) cd /usr/local/libs/sigil and (as root) ln libxml2.so.2.9.2 libxml2.so2

and that did it. My system is Kubuntu 16.04.1 64-bit Xenial Xerus



Albert
Thank you very much for this. However, I have one question: I am still, and will probably stay until 2019, with Kubuntu 14.04-5. Will your way also work? Or do I compulsory need a distro with Plasma 5?
Arran is offline   Reply With Quote
Advert
Old 08-20-2016, 10:39 AM   #21
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by DiapDealer View Post
I knew we'd get there eventually.
Ya can't slip nothin' past you guys!

st_albert is offline   Reply With Quote
Old 08-20-2016, 10:44 AM   #22
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by Arran View Post
Thank you very much for this. However, I have one question: I am still, and will probably stay until 2019, with Kubuntu 14.04-5. Will your way also work? Or do I compulsory need a distro with Plasma 5?
Others please correct me if I'm wrong, but I believe kubuntu 14.04.5 has libxml2 version 2.9.1, which doesn't have the "double entity" bug. You should be OK.
st_albert is offline   Reply With Quote
Old 08-20-2016, 10:56 AM   #23
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,574
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by st_albert View Post
Others please correct me if I'm wrong, but I believe kubuntu 14.04.5 has libxml2 version 2.9.1, which doesn't have the "double entity" bug. You should be OK.
This correct. This is only applicable to Linux flavors/versions that have libxml2 version 2.9.3 or higher.

There was a similar bug in earlier versions (2.8.x-ish), but that should only affect really old versions of Linux (in conjunction with QtWebKit).

Running `xmllint --version` at a command prompt should tell you what your system version of libxml2 is.

Mine reports "using libxml version 20904", which corresponds to 2.9.4 (meaning my version of libxml2 on Arch suffers from the bug--unless they've patched it. Which I know they haven't).
DiapDealer is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 KevinH Sigil 106 10-04-2015 10:41 AM
Sigil on Nook vs Sigil on Kobo vs Sigil on iBook rosshalde Sigil 12 11-13-2014 09:34 AM
A working Sigil-PPA for the *buntu-world Arran Sigil 9 10-17-2014 06:47 AM
Official Calibre PPA? Ladyrixx Devices 34 07-30-2014 08:26 AM
0.7 Linux Ubuntu ppa dicknskip Sigil 21 04-20-2013 04:29 AM


All times are GMT -4. The time now is 08:15 AM.


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