Re: [xml] error on install



On Wed, Mar 28, 2001 at 10:00:24AM -0800, Terrance Snyder wrote:
Hello all,

    I have had a very hard time trying to search for an answer to this question. I have downloaded the 
latest version of the libxml (libxml2-2.3.5-1.i386.rpm) and placed it in my /tmp directory. I am running 
Red Hat 7.0, and every time i try to install libxml, it gives me this error:

rpm --install libxml2-2.3.5-1.i386.rpm
error: failed dependences
    libhistory.so.3        is needed by libxml2-2.3.5-1
    libncurses.so.4      is needed by libxml2-2.3.5-1
    libreadline.so.3      is needed by libxml2-2.3.5-1

I got this error before, and i checked if there wasn't another version of this program installed and sure 
enough RedHat 7 comes with libxml-1.8.9-5....

  yet again something which IMHO is not related to libxml but to
packaging misunderstanding. For the record I have redhat-7.0 and 
this package installed just fine:

orchis:~ -> cat /etc/redhat-release 
Red Hat Linux release 7.0 (Guinness)
orchis:~ -> rpm -q libxml2
libxml2-2.3.5-1
orchis:~ ->

  Now the solution is:
 1/ grab the libxml2-2.3.5-1.src.rpm
 2/ run rpm --rebuild libxml2-2.3.5-1.src.rpm
 3/ install the resulting libxml2-2.3.5-1.i386.rpm and
       libxml2-devel-2.3.5-1.i386.rpm

 This is an FAQ ... for RPM.
You can substitute libxml2-2.3.5-1 with nearly any package name/version/release.

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]