Bug 505731 - Library mismatching between libxml2 and libxslt
Summary: Library mismatching between libxml2 and libxslt
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: libxml2
Version: 5.3
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Daniel Veillard
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-13 09:46 UTC by Justin Bull
Modified: 2009-06-16 13:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-06-16 13:07:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CentOS 3682 0 None None None Never

Description Justin Bull 2009-06-13 09:46:43 UTC
Description of problem:
libxslt appears to be referring to a non-existent feature in libxml2 during compile time of Icecast2's source RPM. According to the Icecast2 developer, this may have to do with version mismatching from the repositories. At the time of this writing, both libraries are stock from CentOS Repos, updated, and are the -devel packages.

Version-Release number of selected component (if applicable):
libxml2-devel - 2.6.26-2.1.2.7.x86_64
libxslt-devel - 1.1.17-2.el5_2.2.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Download icecast-2.3.2-0.src.rpm (latest at time of writing) from icecast.org
2. Build source RPM
  
Actual results:
/usr/lib64/libxslt.so: undefined reference to `xmlXPathContextSetCache'

Expected results:
Make OK

Additional info:
Minimal research shows all who have encountered this issue have been unable to resolve it and run CentOS 5.3 x64 machines.

Comment 1 Daniel Veillard 2009-06-16 13:07:08 UTC
[root@test2 ~]# nm /usr/lib64/libxml2.a | grep xmlXPathContextSetCache
00000000000023a0 T xmlXPathContextSetCache
[root@test2 ~]# rpm -qif /usr/lib64/libxml2.a
Name        : libxml2-devel                Relocations: /usr 
Version     : 2.6.26                            Vendor: Red Hat, Inc.
Release     : 2.1.2.7                       Build Date: Wed 12 Nov 2008 05:45:12 PM CET
Install Date: Mon 17 Nov 2008 07:56:57 PM CET      Build Host: hs20-bc2-2.build.redhat.com

  the cache was added in 2.6.26 (25 actually) version of libxml2.
It's being used in libxslt from 1.1.17, both released on June 6 2006

http://xmlsoft.org/news.html
and
http://xmlsoft.org/XSLT/news.html

 the problem is either in your build or your setup, not in RHEL-5.3

Daniel


Note You need to log in before you can comment on or make changes to this bug.