AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  jq-1.6-1.aix6.1.ppc.rpm

    Posted Thu October 03, 2019 04:28 PM

    Originally posted by: aix_padawan


    Hello, 

    I’m trying to install jq-1.6-1.aix6.1.ppc.rpm. It looks like i'll be needing the following prerequisites below.

    root@hpsmrpt2[/software]->

    # sudo rpm -ivh jq-1.6-1.aix6.1.ppc.rpm

    error: failed dependencies:

    libgcc >= 6.3.0 is needed by jq-1.6-1

    libonig.a(libonig.so.5) is needed by jq-1.6-1

    oniguruma >= 6.9.2 is needed by jq-1.6-1

    root@hpsmrpt2[/software]->

    #

    I have the following questions...

    1) Where can i find libonig.a(libonig.so.5) is needed by jq-1.6-1?

    2) I've tried to apply libgcc-6.3.0-2.aix7.1.ppc.rpm - See below, but i'm getting a conflict with libgcc-4.8.2-1. Does this mean i would need to unsintall libgcc-4.8.2-1 before applying libgcc-6.3.0-2?

    root@hpsmrpt2[/software]->

    # sudo rpm -ivh libgcc-6.3.0-2.aix7.1.ppc.rpm

    file /opt/freeware/lib/libatomic.a from install of libgcc-6.3.0-2 conflicts with file from package libgcc-4.8.2-1

    file /opt/freeware/lib/libgcc_s.a from install of libgcc-6.3.0-2 conflicts with file from package libgcc-4.8.2-1

    file /opt/freeware/lib/pthread/libatomic.a from install of libgcc-6.3.0-2 conflicts with file from package libgcc-4.8.2-1

    file /opt/freeware/lib/pthread/libgcc_s.a from install of libgcc-6.3.0-2 conflicts with file from package libgcc-4.8.2-1

    file /opt/freeware/lib64/libgcc_s.a from install of libgcc-6.3.0-2 conflicts with file from package libgcc-4.8.2-1

    file /opt/freeware/lib/pthread/ppc64/libatomic.a from install of libgcc-6.3.0-2 conflicts with file from package libgcc-4.8.2-1

    file /opt/freeware/lib/pthread/ppc64/libgcc_s.a from install of libgcc-6.3.0-2 conflicts with file from package libgcc-4.8.2-1

    file /opt/freeware/lib64/libatomic.a from install of libgcc-6.3.0-2 conflicts with file from package libgcc-4.8.2-1

    root@hpsmrpt2[/software]->

    #

    Please help! Thanks!

     

     



  • 2.  Re: jq-1.6-1.aix6.1.ppc.rpm

    Posted Wed October 23, 2019 01:28 PM

    Originally posted by: sanket


    I think you have older gcc installed in your system. Instead of install you probably try to update the RPM.

    The best way is to use yum instead of installing packages manually using RPM. YUM automatically resolve all dependencies and install required software/packages for you.