Page 1 of 1

32-bit libraries on 64-bit RedHat system

Posted: Wed Jul 19, 2006 1:03 pm
by kazinvan
The Scalix installation guide pre-installation requirements for RedHat x86_64 systems shows 32-bit libraries for cyrus-sasl-md5, etc. I have all of these libraries installed but they are likely the 64 bit versions. How can you determine the version you have? Can you install the 32-bit libraries with up2date or yum? Will the installer check for missing 32-bit libraries?

Thanks,
Mike

Posted: Thu Jul 20, 2006 4:58 am
by ScalixSupport
Hi,

The rpms are usually distinguished by i386 for 32bit and x86_64 for 64 bit. I believe the 32 bit libraries can be found on the install media. They can also be downloaded individually.

Cheers,
Yuri

Posted: Thu Jul 20, 2006 12:50 pm
by kazinvan
Thanks, but how do you determine what is already installed on the system. "rpm -aq" does not list if they are 32 bit or 64 bit. Will the installer check?

Thanks.
Mike

Posted: Fri Jul 21, 2006 10:43 am
by ScalixSupport
Hi,

There are a couple of things you can do.

1. Any library that is in /usr/lib/ is a 32 bit library. Any library that is in /usr/lib64/ is a 64 bit library

2. To find out more detail about an installed rpm you can run

Code: Select all

rpm -qa --qf "%{name}-%{version}-%{release}-%{arch}\n" | grep cyrus

this should give you more info.

Cheers,
Yuri

Update

Posted: Thu Aug 17, 2006 7:57 pm
by kazinvan
I now have all the 32-bit installation CDs and all of the libraries needed. When I try to install one of the 32-bit libraries it gives me the message "... already installed". Howerver, the "already installed" libraries are the 64 bit versions located in /lib64.

Do I force the rpm install? I don't want to do that if it will corrupt the system in any way. Also, the libraries have a lot of dependencies on other 32-bit libraries. This may require the installation of a lot of 32-bit libraries in order to get working.

Am I the first one to run into these issues? Is there any documentation on how to get Scalix running on Opterons with RHEL 4 x64?

Thanks,
Mike

Posted: Fri Aug 18, 2006 5:15 pm
by florian
You should not having to use the 32 bit installation CDs. All the libraries that you need, afaik, are on the 64 bit installation media as "compat" packages.

Cheers,
Florian.

Posted: Fri Aug 18, 2006 6:34 pm
by kazinvan
I don't see a compat directory or libraries on the x64 CD, all of the RPMS seem to be x86_64. Can you be more specific in what you mean?

Are there any decent instructions on installing Scalix on RedHat x64?

Posted: Fri Aug 18, 2006 7:17 pm
by kazinvan
There seems to be no clear way to do this, thus I'm re-installing RHEL 4 but the 32bit version this tmie.

Posted: Fri Aug 18, 2006 9:00 pm
by florian
OK, my fault.... no compat here!

actually on my x86_64 media, I find both RPMs

Code: Select all

cyrus-sasl-2.1.19-5.EL4.i386.rpm
cyrus-sasl-2.1.19-5.EL4.x86_64.rpm


I would assume that installing both of those should be possible without conflicts.

Cheers,
Florian.

Posted: Fri Aug 18, 2006 10:55 pm
by kazinvan
As per a previous message, when you try to install the i386 version after already installing the x86_64 version you get a message saying "this package is already installed".

Are you supposed to "--force" the rpm install? Are you *sure* this doesn't cause conflicts?

Posted: Fri Aug 18, 2006 11:00 pm
by florian
can you get a file list from the rpm??

-- Florian.

Posted: Fri Aug 18, 2006 11:02 pm
by kazinvan
Not anymore, I just re-installed the i386 version of RHEL 4