Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-22-2006, 06:48 AM
|
#1
|
Member
Registered: Nov 2005
Distribution: Slackware 10.2 2.6.20
Posts: 68
Rep:
|
libxslt in -current broken?
I use bashpodder to catch my podcasts and it uses xsltproc to parse out the enclosures. After upgrading to libxslt-1.1.17-i486-1 from -current, bashpodder broke.
Removing the redirect to null, this is the error I'm seeing:
Code:
xsltproc: symbol lookup error: /usr/lib/libxslt.so.1: undefined symbol: xmlXPathContextSetCache
downgrading to 10.2's libxslt-1.1.15-i486-1 got it working again.
the actual command bashpodder is running is:
Code:
wget -T 300 -t 2 -q $podcast -O - | xsltproc parse_enclosure.xsl -
where $podcast is the url of the feed. parse_enclosure.xsl comes with bashpodder.
The -current ChangeLog shows it was upgraded to 1.1.16 on May 22nd and to 1.1.17 on June 19th.
I don't know the right way to report this to Patrick/ Slackware Maintainers so I'd appreciate it if someone could confirm and report it, and maybe let me know how you did it.
Thanks.
|
|
|
06-22-2006, 07:50 AM
|
#2
|
Member
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498
Rep:
|
Undefined symbol messages otfen signalize improper version of library to running app, where some function was redefined or dropped.
I would suggest to check xslt version requirements for bashpodder and eventually rebuild it with the version from Slackware-current.
|
|
|
06-22-2006, 07:57 AM
|
#3
|
Member
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498
Rep:
|
I would add many KDE applications are linked with xslt library and all are running correctly (Kopete, Quanta). It doesn't look like xslt 1.1.17 from Current is broken.
|
|
|
06-22-2006, 08:58 PM
|
#4
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816
|
have you run ldconfig? i think it's because you haven't update the libraries, so it has that kind of error messages
|
|
|
06-23-2006, 02:23 AM
|
#5
|
Senior Member
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,158
|
Here's the xslt changelog:
http://xmlsoft.org/XSLT/news.html
The last entry for 1.1.17 could be relevant. Did you upgrade your libxml2 also (the one in current is 2.6.26)?
|
|
|
06-23-2006, 09:04 AM
|
#6
|
Member
Registered: Nov 2005
Distribution: Slackware 10.2 2.6.20
Posts: 68
Original Poster
Rep:
|
Nearly solved...
I think my libraries are messed up, finding libraries in the OpenOffice.org installation before the system ones. This is how I determined that:
Bashpodder is just a shell script that runs a wget piped through xsltproc to extract the enclosures.
Now with libxslt-1.1.15 installed:
Code:
$ cat parse_enclosure.xsl
<?xml version="1.0"?>
<stylesheet version="1.0"
xmlns="http://www.w3.org/1999/XSL/Transform">
<output method="text"/>
<template match="/">
<apply-templates select="/rss/channel/item/enclosure"/>
</template>
<template match="enclosure">
<value-of select="@url"/><text>
</text>
</template>
</stylesheet>
$ wget -T 300 -t 2 -q http://www.cnet.com/i/pod/cnet_buzz.xml -O - | xsltproc parse_enclosure.xsl -
That worked. I then upgraded to libxslt-1.1.17-i486-1.tgz
Code:
$ wget -T 300 -t 2 -q http://www.cnet.com/i/pod/cnet_buzz.xml -O - | xsltproc parse_enclosure.xsl -
xsltproc: symbol lookup error: /usr/lib/libxslt.so.1: undefined symbol: xmlXPathContextSetCache
$ sudo ldconfig
$ wget -T 300 -t 2 -q http://www.cnet.com/i/pod/cnet_buzz.xml -O - | xsltproc parse_enclosure.xsl -
xsltproc: symbol lookup error: /usr/lib/libxslt.so.1: undefined symbol: xmlXPathContextSetCache
The following is the good stuff
Code:
$ which xsltproc
/usr/bin/xsltproc
$ ldd `which xsltproc`
linux-gate.so.1 => (0xffffe000)
libxslt.so.1 => /usr/lib/libxslt.so.1 (0xb7ea5000)
libexslt.so.0 => /usr/lib/libexslt.so.0 (0xb7e95000)
libxml2.so.2 => /opt/openoffice-1.9.79/program/libxml2.so.2 (0xb7d8e000)
libdl.so.2 => /lib/tls/libdl.so.2 (0xb7d8a000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7d78000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7d55000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7c25000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7c13000)
libgcc_s.so.1 => /opt/openoffice-1.9.79/program/libgcc_s.so.1 (0xb7c0b000)
/lib/ld-linux.so.2 (0xb7f06000)
$ slocate libxml2.so.2
/opt/openoffice-1.9.79/program/libxml2.so.2.6.17
/opt/openoffice-1.9.79/program/libxml2.so.2
/opt/openoffice.org2.0/program/libxml2.so.2.6.17.1
/opt/openoffice.org2.0/program/libxml2.so.2.6.17
/opt/openoffice.org2.0/program/libxml2.so.2
/usr/lib/libxml2.so.2
# slocate libgcc_s.so.1
/lib/libgcc_s.so.1
/opt/openoffice-1.9.79/program/libgcc_s.so.1
/opt/openoffice.org2.0/program/libgcc_s.so.1.1
/opt/openoffice.org2.0/program/libgcc_s.so.1
/usr/lib/libgcc_s.so.1
I think it's that OpenOffice libxml2.so.2 that's giving trouble, I think that this is an easy fix, editing/changing some config file, but I really don't know how to fix it.
Thanks for all your help, it's gotten me this far.
|
|
|
06-23-2006, 06:22 PM
|
#7
|
Senior Member
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,158
|
Interesting, how can it find the OO libraries in the first place? Is your OO directory listed in the /etc/ld.so.conf file? If so, remove it, run ldconfig and retry.
|
|
|
06-23-2006, 11:09 PM
|
#8
|
Member
Registered: Nov 2005
Distribution: Slackware 10.2 2.6.20
Posts: 68
Original Poster
Rep:
|
Why yes it is, and removing the lines and running ldconfig does the trick.
Code:
$ cat /etc/ld.so.conf
/usr/local/lib
/usr/X11R6/lib
/usr/i486-slackware-linux/lib
/opt/kde/lib
/usr/lib/qt/lib
/usr/lib/mozilla-1.7.13
/usr/lib/firefox-1.5.0.3
/usr/lib/thunderbird-1.5.0.2
/usr/lib/netscape
/opt/openoffice-1.9.79/program
/opt/openoffice.org2.0/program
I think I installed OOo with packages from linuxpackages.net (atleast that 1.979 one) so that installation must have put it there. That also means that a -current can't use OOo packages for 10.2 without 'correcting' this ld.so.conf. Does anyone see anything else askew there?
On another note, I wonder if this is also why my UT2004 is having trouble. UT2004 under 10.2 works great, but after upgrading to -current the game dies while joining a game (not starting, it starts and shows the menu fine) or going into the settings (both the retail with the latest patch, and the Demo). I'm off to try that now too. I've tried various kernels and ATI drivers, all to no avail, maybe this is the ticket.
Edit: AWESOME! It did fix my UT2004 problems! I had no idea that OOo was the problem. Thank-you all very much!
Last edited by Slim Backwater; 06-23-2006 at 11:27 PM.
|
|
|
06-24-2006, 12:14 AM
|
#9
|
Senior Member
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,158
|
You're welcome. I did my OO installation myself, using the official package and converting rpms to tgz with rpm2tgz. No change was made on ld.so.conf and it works. I think those libraries are supposed to act as program-specific libraries, so they shouldn't appear in ld.so.conf; when necessary the program itself should be able to find them anyway.
|
|
|
All times are GMT -5. The time now is 10:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|