Failed dependencies trying to install package 'libxml2'

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












I am trying to install libxml2, but my system complains about dependencies. The dependent packages exist on system.



The ultimate goal is to install xml_grep2, I have been trying various methods (cpan, etc).



[root@testserver xml]# rpm -ivh libxml2-2.9.0-1.x86_64.rpm
warning: libxml2-2.9.0-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID de95bc1f
error: Failed dependencies:
libc.so.6(GLIBC_2.14)(64bit) is needed by libxml2-2.9.0-1.x86_64

[root@testserver xml]# yum install glibc
Package glibc-2.5-107.x86_64 already installed and latest version
Package glibc-2.5-107.i686 already installed and latest version

[root@testserver xml]# find / -name libc.so.6
/lib64/libc.so.6
/lib/libc.so.6
/lib/i686/nosegneg/libc.so.6









share|improve this question



















  • 2




    Please edit and add more information. What distribution and version?
    – George M
    Feb 26 '13 at 12:52






  • 1




    The package seems to need an outdated (or newer) version of the C library. My Fedora 18 has libxml2-2.9.0-3.fc18 and glibc-2.16-28.fc18, which is substantially newer. BTW, I'd be very suprised if your distribution doesn't have a package for this. What do you need it for?
    – vonbrand
    Feb 26 '13 at 14:35










  • CentOS release 5.9 (Final)
    – Naeem
    Feb 26 '13 at 15:05










  • [root@testserver App-xml_grep2-0.13]# perl Makefile.PL Warning: prerequisite XML::LibXML 0 not found. Warning: prerequisite XML::LibXML::XPathContext 0 not found. Writing Makefile for App::xml_grep2 Writing MYMETA.yml and MYMETA.json
    – Naeem
    Feb 26 '13 at 15:06







  • 1




    [root@testserver App-xml_grep2-0.13]# yum list all | grep libxml2 libxml2.i386 2.6.26-2.1.15.el5_8.6 installed libxml2.x86_64 2.6.26-2.1.15.el5_8.6 installed libxml2-devel.i386 2.6.26-2.1.15.el5_8.6 installed libxml2-devel.x86_64 2.6.26-2.1.15.el5_8.6 installed libxml2-python.x86_64 2.6.26-2.1.15.el5_8.6 base
    – Naeem
    Feb 26 '13 at 15:10














up vote
2
down vote

favorite












I am trying to install libxml2, but my system complains about dependencies. The dependent packages exist on system.



The ultimate goal is to install xml_grep2, I have been trying various methods (cpan, etc).



[root@testserver xml]# rpm -ivh libxml2-2.9.0-1.x86_64.rpm
warning: libxml2-2.9.0-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID de95bc1f
error: Failed dependencies:
libc.so.6(GLIBC_2.14)(64bit) is needed by libxml2-2.9.0-1.x86_64

[root@testserver xml]# yum install glibc
Package glibc-2.5-107.x86_64 already installed and latest version
Package glibc-2.5-107.i686 already installed and latest version

[root@testserver xml]# find / -name libc.so.6
/lib64/libc.so.6
/lib/libc.so.6
/lib/i686/nosegneg/libc.so.6









share|improve this question



















  • 2




    Please edit and add more information. What distribution and version?
    – George M
    Feb 26 '13 at 12:52






  • 1




    The package seems to need an outdated (or newer) version of the C library. My Fedora 18 has libxml2-2.9.0-3.fc18 and glibc-2.16-28.fc18, which is substantially newer. BTW, I'd be very suprised if your distribution doesn't have a package for this. What do you need it for?
    – vonbrand
    Feb 26 '13 at 14:35










  • CentOS release 5.9 (Final)
    – Naeem
    Feb 26 '13 at 15:05










  • [root@testserver App-xml_grep2-0.13]# perl Makefile.PL Warning: prerequisite XML::LibXML 0 not found. Warning: prerequisite XML::LibXML::XPathContext 0 not found. Writing Makefile for App::xml_grep2 Writing MYMETA.yml and MYMETA.json
    – Naeem
    Feb 26 '13 at 15:06







  • 1




    [root@testserver App-xml_grep2-0.13]# yum list all | grep libxml2 libxml2.i386 2.6.26-2.1.15.el5_8.6 installed libxml2.x86_64 2.6.26-2.1.15.el5_8.6 installed libxml2-devel.i386 2.6.26-2.1.15.el5_8.6 installed libxml2-devel.x86_64 2.6.26-2.1.15.el5_8.6 installed libxml2-python.x86_64 2.6.26-2.1.15.el5_8.6 base
    – Naeem
    Feb 26 '13 at 15:10












up vote
2
down vote

favorite









up vote
2
down vote

favorite











I am trying to install libxml2, but my system complains about dependencies. The dependent packages exist on system.



The ultimate goal is to install xml_grep2, I have been trying various methods (cpan, etc).



[root@testserver xml]# rpm -ivh libxml2-2.9.0-1.x86_64.rpm
warning: libxml2-2.9.0-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID de95bc1f
error: Failed dependencies:
libc.so.6(GLIBC_2.14)(64bit) is needed by libxml2-2.9.0-1.x86_64

[root@testserver xml]# yum install glibc
Package glibc-2.5-107.x86_64 already installed and latest version
Package glibc-2.5-107.i686 already installed and latest version

[root@testserver xml]# find / -name libc.so.6
/lib64/libc.so.6
/lib/libc.so.6
/lib/i686/nosegneg/libc.so.6









share|improve this question















I am trying to install libxml2, but my system complains about dependencies. The dependent packages exist on system.



The ultimate goal is to install xml_grep2, I have been trying various methods (cpan, etc).



[root@testserver xml]# rpm -ivh libxml2-2.9.0-1.x86_64.rpm
warning: libxml2-2.9.0-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID de95bc1f
error: Failed dependencies:
libc.so.6(GLIBC_2.14)(64bit) is needed by libxml2-2.9.0-1.x86_64

[root@testserver xml]# yum install glibc
Package glibc-2.5-107.x86_64 already installed and latest version
Package glibc-2.5-107.i686 already installed and latest version

[root@testserver xml]# find / -name libc.so.6
/lib64/libc.so.6
/lib/libc.so.6
/lib/i686/nosegneg/libc.so.6






linux perl xml






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 26 '13 at 12:51









George M

8,79623247




8,79623247










asked Feb 26 '13 at 12:20









Naeem

162




162







  • 2




    Please edit and add more information. What distribution and version?
    – George M
    Feb 26 '13 at 12:52






  • 1




    The package seems to need an outdated (or newer) version of the C library. My Fedora 18 has libxml2-2.9.0-3.fc18 and glibc-2.16-28.fc18, which is substantially newer. BTW, I'd be very suprised if your distribution doesn't have a package for this. What do you need it for?
    – vonbrand
    Feb 26 '13 at 14:35










  • CentOS release 5.9 (Final)
    – Naeem
    Feb 26 '13 at 15:05










  • [root@testserver App-xml_grep2-0.13]# perl Makefile.PL Warning: prerequisite XML::LibXML 0 not found. Warning: prerequisite XML::LibXML::XPathContext 0 not found. Writing Makefile for App::xml_grep2 Writing MYMETA.yml and MYMETA.json
    – Naeem
    Feb 26 '13 at 15:06







  • 1




    [root@testserver App-xml_grep2-0.13]# yum list all | grep libxml2 libxml2.i386 2.6.26-2.1.15.el5_8.6 installed libxml2.x86_64 2.6.26-2.1.15.el5_8.6 installed libxml2-devel.i386 2.6.26-2.1.15.el5_8.6 installed libxml2-devel.x86_64 2.6.26-2.1.15.el5_8.6 installed libxml2-python.x86_64 2.6.26-2.1.15.el5_8.6 base
    – Naeem
    Feb 26 '13 at 15:10












  • 2




    Please edit and add more information. What distribution and version?
    – George M
    Feb 26 '13 at 12:52






  • 1




    The package seems to need an outdated (or newer) version of the C library. My Fedora 18 has libxml2-2.9.0-3.fc18 and glibc-2.16-28.fc18, which is substantially newer. BTW, I'd be very suprised if your distribution doesn't have a package for this. What do you need it for?
    – vonbrand
    Feb 26 '13 at 14:35










  • CentOS release 5.9 (Final)
    – Naeem
    Feb 26 '13 at 15:05










  • [root@testserver App-xml_grep2-0.13]# perl Makefile.PL Warning: prerequisite XML::LibXML 0 not found. Warning: prerequisite XML::LibXML::XPathContext 0 not found. Writing Makefile for App::xml_grep2 Writing MYMETA.yml and MYMETA.json
    – Naeem
    Feb 26 '13 at 15:06







  • 1




    [root@testserver App-xml_grep2-0.13]# yum list all | grep libxml2 libxml2.i386 2.6.26-2.1.15.el5_8.6 installed libxml2.x86_64 2.6.26-2.1.15.el5_8.6 installed libxml2-devel.i386 2.6.26-2.1.15.el5_8.6 installed libxml2-devel.x86_64 2.6.26-2.1.15.el5_8.6 installed libxml2-python.x86_64 2.6.26-2.1.15.el5_8.6 base
    – Naeem
    Feb 26 '13 at 15:10







2




2




Please edit and add more information. What distribution and version?
– George M
Feb 26 '13 at 12:52




Please edit and add more information. What distribution and version?
– George M
Feb 26 '13 at 12:52




1




1




The package seems to need an outdated (or newer) version of the C library. My Fedora 18 has libxml2-2.9.0-3.fc18 and glibc-2.16-28.fc18, which is substantially newer. BTW, I'd be very suprised if your distribution doesn't have a package for this. What do you need it for?
– vonbrand
Feb 26 '13 at 14:35




The package seems to need an outdated (or newer) version of the C library. My Fedora 18 has libxml2-2.9.0-3.fc18 and glibc-2.16-28.fc18, which is substantially newer. BTW, I'd be very suprised if your distribution doesn't have a package for this. What do you need it for?
– vonbrand
Feb 26 '13 at 14:35












CentOS release 5.9 (Final)
– Naeem
Feb 26 '13 at 15:05




CentOS release 5.9 (Final)
– Naeem
Feb 26 '13 at 15:05












[root@testserver App-xml_grep2-0.13]# perl Makefile.PL Warning: prerequisite XML::LibXML 0 not found. Warning: prerequisite XML::LibXML::XPathContext 0 not found. Writing Makefile for App::xml_grep2 Writing MYMETA.yml and MYMETA.json
– Naeem
Feb 26 '13 at 15:06





[root@testserver App-xml_grep2-0.13]# perl Makefile.PL Warning: prerequisite XML::LibXML 0 not found. Warning: prerequisite XML::LibXML::XPathContext 0 not found. Writing Makefile for App::xml_grep2 Writing MYMETA.yml and MYMETA.json
– Naeem
Feb 26 '13 at 15:06





1




1




[root@testserver App-xml_grep2-0.13]# yum list all | grep libxml2 libxml2.i386 2.6.26-2.1.15.el5_8.6 installed libxml2.x86_64 2.6.26-2.1.15.el5_8.6 installed libxml2-devel.i386 2.6.26-2.1.15.el5_8.6 installed libxml2-devel.x86_64 2.6.26-2.1.15.el5_8.6 installed libxml2-python.x86_64 2.6.26-2.1.15.el5_8.6 base
– Naeem
Feb 26 '13 at 15:10




[root@testserver App-xml_grep2-0.13]# yum list all | grep libxml2 libxml2.i386 2.6.26-2.1.15.el5_8.6 installed libxml2.x86_64 2.6.26-2.1.15.el5_8.6 installed libxml2-devel.i386 2.6.26-2.1.15.el5_8.6 installed libxml2-devel.x86_64 2.6.26-2.1.15.el5_8.6 installed libxml2-python.x86_64 2.6.26-2.1.15.el5_8.6 base
– Naeem
Feb 26 '13 at 15:10










3 Answers
3






active

oldest

votes

















up vote
0
down vote













You want to install xml_grep2 manually. You can download it from rpm.pbone.net It can solve dependencies problem.I think you need higher version of libxml2 when you had glibc 2.5 or Downgrade glibc 2.1.x






share|improve this answer





























    up vote
    -1
    down vote













    If you are really sure that you can work with this version you can install the rpm with --nodeps, I would prefer to instal the libxml2 with yum to ensure that the version is compatible with my libs.






    share|improve this answer
















    • 3




      Do not ever install with --nodeps, that is guaranteed not to work (because it is missing dependencies...).
      – vonbrand
      Feb 26 '13 at 14:31










    • It might work, for example, if you compiled the package yourself it won't be on your package manager, the the library exists.
      – Hola Soy Edu Feliz Navidad
      Feb 12 at 10:06

















    up vote
    -2
    down vote













    It looks like issue is with manuall libxml2 package installation and package you are trying to install is not compatible. I suggest you to install package using yum.



    yum install libxml2





    share|improve this answer


















    • 4




      WTF? yum remove glibc?
      – Abel Cheung
      Feb 3 '15 at 3:51










    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f66161%2ffailed-dependencies-trying-to-install-package-libxml2%23new-answer', 'question_page');

    );

    Post as a guest






























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    You want to install xml_grep2 manually. You can download it from rpm.pbone.net It can solve dependencies problem.I think you need higher version of libxml2 when you had glibc 2.5 or Downgrade glibc 2.1.x






    share|improve this answer


























      up vote
      0
      down vote













      You want to install xml_grep2 manually. You can download it from rpm.pbone.net It can solve dependencies problem.I think you need higher version of libxml2 when you had glibc 2.5 or Downgrade glibc 2.1.x






      share|improve this answer
























        up vote
        0
        down vote










        up vote
        0
        down vote









        You want to install xml_grep2 manually. You can download it from rpm.pbone.net It can solve dependencies problem.I think you need higher version of libxml2 when you had glibc 2.5 or Downgrade glibc 2.1.x






        share|improve this answer














        You want to install xml_grep2 manually. You can download it from rpm.pbone.net It can solve dependencies problem.I think you need higher version of libxml2 when you had glibc 2.5 or Downgrade glibc 2.1.x







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Dec 20 '16 at 17:02

























        answered Dec 20 '16 at 16:49









        supriady

        148111




        148111






















            up vote
            -1
            down vote













            If you are really sure that you can work with this version you can install the rpm with --nodeps, I would prefer to instal the libxml2 with yum to ensure that the version is compatible with my libs.






            share|improve this answer
















            • 3




              Do not ever install with --nodeps, that is guaranteed not to work (because it is missing dependencies...).
              – vonbrand
              Feb 26 '13 at 14:31










            • It might work, for example, if you compiled the package yourself it won't be on your package manager, the the library exists.
              – Hola Soy Edu Feliz Navidad
              Feb 12 at 10:06














            up vote
            -1
            down vote













            If you are really sure that you can work with this version you can install the rpm with --nodeps, I would prefer to instal the libxml2 with yum to ensure that the version is compatible with my libs.






            share|improve this answer
















            • 3




              Do not ever install with --nodeps, that is guaranteed not to work (because it is missing dependencies...).
              – vonbrand
              Feb 26 '13 at 14:31










            • It might work, for example, if you compiled the package yourself it won't be on your package manager, the the library exists.
              – Hola Soy Edu Feliz Navidad
              Feb 12 at 10:06












            up vote
            -1
            down vote










            up vote
            -1
            down vote









            If you are really sure that you can work with this version you can install the rpm with --nodeps, I would prefer to instal the libxml2 with yum to ensure that the version is compatible with my libs.






            share|improve this answer












            If you are really sure that you can work with this version you can install the rpm with --nodeps, I would prefer to instal the libxml2 with yum to ensure that the version is compatible with my libs.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Feb 26 '13 at 13:08









            Hola Soy Edu Feliz Navidad

            35429




            35429







            • 3




              Do not ever install with --nodeps, that is guaranteed not to work (because it is missing dependencies...).
              – vonbrand
              Feb 26 '13 at 14:31










            • It might work, for example, if you compiled the package yourself it won't be on your package manager, the the library exists.
              – Hola Soy Edu Feliz Navidad
              Feb 12 at 10:06












            • 3




              Do not ever install with --nodeps, that is guaranteed not to work (because it is missing dependencies...).
              – vonbrand
              Feb 26 '13 at 14:31










            • It might work, for example, if you compiled the package yourself it won't be on your package manager, the the library exists.
              – Hola Soy Edu Feliz Navidad
              Feb 12 at 10:06







            3




            3




            Do not ever install with --nodeps, that is guaranteed not to work (because it is missing dependencies...).
            – vonbrand
            Feb 26 '13 at 14:31




            Do not ever install with --nodeps, that is guaranteed not to work (because it is missing dependencies...).
            – vonbrand
            Feb 26 '13 at 14:31












            It might work, for example, if you compiled the package yourself it won't be on your package manager, the the library exists.
            – Hola Soy Edu Feliz Navidad
            Feb 12 at 10:06




            It might work, for example, if you compiled the package yourself it won't be on your package manager, the the library exists.
            – Hola Soy Edu Feliz Navidad
            Feb 12 at 10:06










            up vote
            -2
            down vote













            It looks like issue is with manuall libxml2 package installation and package you are trying to install is not compatible. I suggest you to install package using yum.



            yum install libxml2





            share|improve this answer


















            • 4




              WTF? yum remove glibc?
              – Abel Cheung
              Feb 3 '15 at 3:51














            up vote
            -2
            down vote













            It looks like issue is with manuall libxml2 package installation and package you are trying to install is not compatible. I suggest you to install package using yum.



            yum install libxml2





            share|improve this answer


















            • 4




              WTF? yum remove glibc?
              – Abel Cheung
              Feb 3 '15 at 3:51












            up vote
            -2
            down vote










            up vote
            -2
            down vote









            It looks like issue is with manuall libxml2 package installation and package you are trying to install is not compatible. I suggest you to install package using yum.



            yum install libxml2





            share|improve this answer














            It looks like issue is with manuall libxml2 package installation and package you are trying to install is not compatible. I suggest you to install package using yum.



            yum install libxml2






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Mar 13 at 17:40

























            answered Aug 31 '13 at 14:03









            Ketankumar Patel

            82541524




            82541524







            • 4




              WTF? yum remove glibc?
              – Abel Cheung
              Feb 3 '15 at 3:51












            • 4




              WTF? yum remove glibc?
              – Abel Cheung
              Feb 3 '15 at 3:51







            4




            4




            WTF? yum remove glibc?
            – Abel Cheung
            Feb 3 '15 at 3:51




            WTF? yum remove glibc?
            – Abel Cheung
            Feb 3 '15 at 3:51

















             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f66161%2ffailed-dependencies-trying-to-install-package-libxml2%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            Peggy Mitchell

            Palaiologos

            The Forum (Inglewood, California)