LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-16-2015, 12:31 PM   #1
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,659

Rep: Reputation: 128Reputation: 128
Is my libxml2 2.9.2 buggy?


I was having problems using the editing software Sigil. I've used Sigil for years and never had a problem. But with Xubuntu 15.04 I'm suddenly having problems. Specifically, Sigil doesn't split chapters properly and it doubles non-breaking spaces (nbsps). I was in a Sigil forum and someone told me to run this command.

Code:
gregg@LG:~/Desktop$ cd /usr/lib
gregg@LG:/usr/lib$ find ./ -name "libxml2*"
./i386-linux-gnu/libxml2.so.2.9.2
./i386-linux-gnu/libxml2.so.2
./x86_64-linux-gnu/libxml2.so.2.9.2
./x86_64-linux-gnu/libxml2.so.2
./x86_64-linux-gnu/girepository-1.0/libxml2-2.0.typelib
gregg@LG:/usr/lib$
And then gave me this analysis.

To make matters worse, Qt XML libraries are linked to your external libxm2 so my fear is that it is not a buggy version so much as it is a mismatch between the version the source of QXml in Qt was built for and the version on the person's system.

I certainly hope libxml2 2.9.2 has not put back in broken behaviour just because someone else called it a reversion!


Being a newbie I'm not really able to interpret his analysis or know if there is anything I can do to correct the situation.

This is not a killer problem and I can use workarounds to get my work done on Sigil but it would be nice to fix the problem if it's possible.

Thanks.
 
Old 10-18-2015, 02:32 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 5,802

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
i don't use sigil.
i guess that guy from the forums just wanted to know your libxml2 version - i have the same:
Code:
find -name 'libxml2*'
./libxml2.so.2.9.2
./libxml2.so.2
./python2.7/site-packages/libxml2.py
./python2.7/site-packages/libxml2mod.so
./libxml2.so
./cmake/libxml2
./cmake/libxml2/libxml2-config.cmake
./girepository-1.0/libxml2-2.0.typelib
i use xmllint in my weather conky and it works, and has worked for a while.
that forum poster is probably right to point out how qt links to libxml, but i have no ideas of the implications.

brainstorming:

- open a terminal, type "xml" and press Tab twice.

- try a different version of sigil? at least on archlinux, i have the choice between the git version (AUR) and the community version.

- check out issues (both open and solved) on sigil's github pages
 
1 members found this post helpful.
Old 10-18-2015, 03:24 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
I also have the same versions of libxml2 on my Debian Testing box. One thing I noticed is that the version offered on Debian Testing is 0.8.7+dfsg-3. The version offered on my Ubuntu 14.04 laptop is 0.8.0+git20141005.15009369-0ubuntu0~sunab~trusty1. What version do you have on 15.04? Do you have anything that we can test sigil with? a chunk from a epub document that shows the two problems you mention in your post?
jdk
 
1 members found this post helpful.
Old 10-19-2015, 12:31 PM   #4
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,659

Original Poster
Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by ondoho View Post
i don't use sigil.
i guess that guy from the forums just wanted to know your libxml2 version - i have the same:
Code:
find -name 'libxml2*'
./libxml2.so.2.9.2
./libxml2.so.2
./python2.7/site-packages/libxml2.py
./python2.7/site-packages/libxml2mod.so
./libxml2.so
./cmake/libxml2
./cmake/libxml2/libxml2-config.cmake
./girepository-1.0/libxml2-2.0.typelib
i use xmllint in my weather conky and it works, and has worked for a while.
that forum poster is probably right to point out how qt links to libxml, but i have no ideas of the implications.

brainstorming:

- open a terminal, type "xml" and press Tab twice.

- try a different version of sigil? at least on archlinux, i have the choice between the git version (AUR) and the community version.

- check out issues (both open and solved) on sigil's github pages
Thanks ondoho. Someone in the Sigil forum gave me a file (libxml2.so.2_x64) that I can put in my Sigil directory that should take care of it. (Turns out other people were having the same issue.) Appreciate you responding.
 
Old 10-19-2015, 12:34 PM   #5
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,659

Original Poster
Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by jdkaye View Post
I also have the same versions of libxml2 on my Debian Testing box. One thing I noticed is that the version offered on Debian Testing is 0.8.7+dfsg-3. The version offered on my Ubuntu 14.04 laptop is 0.8.0+git20141005.15009369-0ubuntu0~sunab~trusty1. What version do you have on 15.04? Do you have anything that we can test sigil with? a chunk from a epub document that shows the two problems you mention in your post?
jdk
Thanks LZM. Other people were having the same problem and one of the Sigil guys gave me a file (libxml2.so.2_x64) to put in my Sigil directory that should take care of the problem. Phew! Thanks for the info but I'm glad I don't have to get too deep into this one. Appreciate it.
 
Old 10-19-2015, 01:21 PM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by Gregg Bell View Post
Thanks LZM. Other people were having the same problem and one of the Sigil guys gave me a file (libxml2.so.2_x64) to put in my Sigil directory that should take care of the problem. Phew! Thanks for the info but I'm glad I don't have to get too deep into this one. Appreciate it.
That's good news. And have you tried out the libxml2.so.2_x64 file and does it fix your problem? Is libxml2.so.2_x64 really the file name? I have the libxml2.so.2 but I have nothing called libxml2.so.2_x64. My libxml2.so.2 is in the /usr/lib/x86_64-linux-gnu/ folder as well as the libreoffice and calibre folders.
jdk
 
Old 10-21-2015, 10:26 PM   #7
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,659

Original Poster
Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by jdkaye View Post
That's good news. And have you tried out the libxml2.so.2_x64 file and does it fix your problem? Is libxml2.so.2_x64 really the file name? I have the libxml2.so.2 but I have nothing called libxml2.so.2_x64. My libxml2.so.2 is in the /usr/lib/x86_64-linux-gnu/ folder as well as the libreoffice and calibre folders.
jdk
Haven't tried the file yet, LZM. There was some issue as to how difficult it might be to install (and some guy gave me a terminal way of doing it) and since I don't need it for a while I put it off. This is the exact file name.

Code:
libxml2.so.2_x64
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libxml2 problem conraid Slackware 41 12-10-2010 10:35 AM
libxml2 sci3ntist Programming 3 07-23-2007 04:10 AM
libxml2 munna_dude Programming 1 04-26-2007 08:02 AM
installation problems with libxml2-2.2.66.tar.gz and libxml2-devel2-2.6.20-3.tar.gz g-string 3 Linux - Software 6 11-24-2005 11:39 AM
libxml2 the_imax Linux - Newbie 3 03-11-2005 06:24 AM


All times are GMT -5. The time now is 03:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration