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.