install of 32 bit libraries on 64 bit OS

General support questions
Post Reply
NITESupport
Posts: 6
Joined: 2016/06/27 11:01:15

install of 32 bit libraries on 64 bit OS

Post by NITESupport » 2018/06/21 12:21:15

Hello

I have to install Symantec Endpoint Protection on a centos 7, 64 bit
For this I need to install glibc.i686 libgcc.i686 libX11.i686 (32 bit)
https://support.symantec.com/en_US/arti ... 28118.html

But I get this kind of error
For example with libgcc
Error: Multilib version problems found.

With those explanations:

1. You have an upgrade for libgcc which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of libgcc of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude libgcc.otherarch ... this should give you an error
message showing the root cause of the problem.

2. You have multiple architectures of libgcc installed, but
yum can only see an upgrade for one of those architectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.

3. You have duplicate versions of libgcc installed already.
You can use "yum check" to get yum show these errors.

...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
What is the right way to deal with this?
And could the installation of 32 bit libraries be a problem in the future for upgrades or else

Thanks

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: install of 32 bit libraries on 64 bit OS

Post by TrevorH » 2018/06/21 12:30:26

Run yum update first. It's complaining that the latest e.g. glibc.i686 version number does not exactly match your currently installed glibc.x86_64 package. If you yum update first then they will match.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

NITESupport
Posts: 6
Joined: 2016/06/27 11:01:15

Re: install of 32 bit libraries on 64 bit OS

Post by NITESupport » 2018/06/21 12:37:18

Hello

Oh... I understand the the 32 bit is already installed in the system?

Thanks
Last edited by NITESupport on 2018/06/21 12:47:42, edited 1 time in total.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: install of 32 bit libraries on 64 bit OS

Post by TrevorH » 2018/06/21 12:44:13

Installing 32 bit libs on a 64 bit system is unlikely to affect anything. The things that are on there now are obviously 64 bit only so wont touch 32 bit libs.

You have two choices: either you yum update first so that the to-be-installed packages match the right version numbers of the install 64 bit multilib packages or, alternatively, you can explicitly install the 32 bit versions by full version number so that the ones that get installed match your currently installed 64 bit packages. That second approach has difficulties if the currently installed packages came from a previous point release as the 32 bit versions won't be available in the current yum repos - to get round that you'd have to enable the CentOS-Vault repos just so you can install an old, buggy and potentially insecure package that you'll then yum update to the newest one at a later stage.

Better to stay current in the first place IMO.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply