> -----Original Message-----
> From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
> Kyle Smith
> Sent: Monday, April 16, 2007 2:03 PM
> To: [email protected]
> Subject: Re: Centos 4.4 S390x - what's the proper way to install the
> 32 bit libstdc++ rpm?
> 
> First off, are you sure you wanted to install libgcc and not
> libstdc++?  Your most recent message mentioned the former, your
> original the latter.

That was my mistake, if you try libstdc++ it wants libgcc, so I tried
that and got the reported error.  Trying both together gives:
[EMAIL PROTECTED] RPMS]# rpm -i libstdc++-3.4.6-3.s390.rpm
libgcc-3.4.6-3.s390.rpm        package libgcc-3.4.6-3.1 (which is newer
than libgcc-3.4.6-3) is already installed
        package libstdc++-3.4.6-3.1 (which is newer than
libstdc++-3.4.6-3) is already installed

> 
> If so... Sounds to me like the 31-bit version of libgcc is already
> installed.
> 
> Try running this:
> 
> rpm -qa --queryformat "%{NAME} %{VERSION}-%{RELEASE} %{ARCH}\n" | grep
> libgcc
> 
> And see what you get for results (try repeating for libstdc++ and
> compat-libstdc++ to see what you're missing).

[EMAIL PROTECTED] RPMS]# rpm -qa --queryformat "%{NAME}
%{VERSION}-%{RELEASE} %{ARCH}\n" | egrep -e "libgcc|libstdc"
libgcc 3.4.6-3.1 s390x
libstdc++ 3.4.6-3.1 s390x
compat-libstdc++-295 2.95.3-81 s390x
libstdc++-devel 3.4.6-3.1 s390x
compat-libgcc-295 2.95.3-81 s390x
compat-libstdc++-33 3.2.3-47.3 s390x

> 
> Typically the easiest way to tell if a package is installed is by
> doing an `rpm -qa | grep <pkgname>` and seeing if you get two
> identical lines of output (31 and 64-bit).  Of course if you only get
> one line of output it means you have only the s390 or s390x version
> installed (but not both), hence the longer command above.

That's where I started, I only have the s390x rpms installed, as that's
all that's available in the repo.  The guides that I've found on 32 bit
compatibility (mostly for intel) all say that by default I should have
both 32 and 64 bit versions.

-Kelly

> 
> ks
> 
> 
> On 4/16/07, Kelly F. Hickel <[EMAIL PROTECTED]> wrote:
> 
> >
> > I already had the 390 RPMs locally, so I tried that and got this:
> > [EMAIL PROTECTED] RPMS]# rpm -i libgcc-3.4.6-3.s390.rpm
> >         package libgcc-3.4.6-3.1 (which is newer than libgcc-3.4.6-
> 3) is
> > already installed
> >
> > What am I missing?
> > -Kelly
> 
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390
> or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to