Topic
  • 3 replies
  • Latest Post - ‏2014-05-21T20:30:35Z by ed_AIX
ed_AIX
ed_AIX
2 Posts

Pinned topic Advance Toolchain 7.0-3 on RHEL 6.5 ppc64 Issue

‏2014-05-16T21:32:25Z |

Hello,

I am running RHEL 6.5 ppc64 edition on an LPAR in a Power 730. I was successful in setting up yum to download and install AT 7.0 except for the following library dependency issue with advance-toolchain-at7.0-mcore-libs:

[...]

Error:  Package:  advance-toolchain-at7.0-mcore-libs-7.0-3.ppc64 (at7.0)

                Requires: libbz2.so.1

You could try using --skip-broken to work around the problem

[...]  

I've looked up that library and it is related to bzip2 which is installed (/usr/bin/bzip2). Here are the RPMs installed with bzip2 in the name:

# rpm -qa | grep -i bzip2

bzip2-1.0.5-7.el6_0.ppc64

bzip2-devel-1.0.5-7.el6_0.ppc64

bzip2-libs-1.0.5-7.el6_0.ppc64

perl-Compress-Raw-Bzip2-2.021-136.el6.ppc64

perl-IO-Compress-Bzip2-2.021-136.el6.ppc64

-------------------------------------------------------------------

I followed the AT instructions for yum on the PowerLinux AT wiki page installing all RPMs in order indicated.

I installed RHEL 6.5 using the Linux Installation Toolkit doing a "full install" of RHEL from its DVD iso. I later found that AT was not installed by the Linux Installation Toolkit. So I am now installing AT 7.0-3 using yum. 

How do I properly resolve the above AT 7.0 library dependency? Better: Why is that library missing?

Thank you,

Edward Pluskwa            

  • sjmunroe
    sjmunroe
    8 Posts

    Re: Advance Toolchain 7.0-3 on RHEL 6.5 ppc64 Issue

    ‏2014-05-19T13:49:25Z  

    advance-toolchain-at7.0-mcore-libs-7.0-3.ppc64 includes Boost and I suspect it is Boost that needs lib

    $ rpm -q --requires advance-toolchain-at7.0-mcore-libs-7.0-3.ppc64
    advance-toolchain-at7.0-runtime = 7.0-3
    libbz2.so.1
    libbz2.so.1()(64bit)
    /bin/sh
    rpmlib(PayloadFilesHavePrefix) <= 4.0-1
    rpmlib(CompressedFileNames) <= 3.0.4-1

    The AT7.0 mcore RPM provides both a 32-/64bit implementation of Boost. So install "both" 32- and 64-bit RPMs for bzip2.

     

  • willschm
    willschm
    47 Posts

    Re: Advance Toolchain 7.0-3 on RHEL 6.5 ppc64 Issue

    ‏2014-05-19T13:58:29Z  

    >  How do I properly resolve the above AT 7.0 library dependency?

    rpm -qR against the advance-toolchain-at7.0-mcore-libs...   includes the following in the output:

           libbz2.so.1  

           libbz2.so.1()(64bit)  

    which hints that the rpm also needs the 32-bit version of the bz2 libs. 

    "yum install <foo.rpm>"  should handle installing this dependency for you.   I don't, however, know where the 32-bit packages live on the dvd media....  

     

     

     

  • ed_AIX
    ed_AIX
    2 Posts

    Re: Advance Toolchain 7.0-3 on RHEL 6.5 ppc64 Issue

    ‏2014-05-21T20:30:35Z  

    After subscribing this LPAR to RHN, I was able to download all updates for RHEL 6.5 ppc64 and ran yum install <foo.rpm> successfully. It pulled in the required 32bit bzip2 RPM dependency:

    # yum install advance-toolchain-at7.0-mcore-libs-7.0-3.ppc64

    [...]

    Resolving Dependencies

    [...]

    ----> Package bzip2-libs.ppc 0:1.0.5-7.el6_0 will be installed

    [...]

    Installing : bzip2-libs-1.0.5-7.el6_0.ppc

    Installing : advance-toolchain-at7.0-mcore-libs-7.0-3.ppc64

    [...]

    Dependency Installed:

       bzip2-libs.ppc 0:1.0.5-7.el6_0

    Complete!

    ----------------------------------------------------------

    I'm good-to-go now. Thanks for the help. 

    Ed

    Updated on 2014-05-21T20:32:16Z at 2014-05-21T20:32:16Z by ed_AIX