Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> Multi library Version error
Soumak
 Posted: Feb 2 2016, 07:20 AM
Quote Post


SLF Newbie


Group: Members
Posts: 3
Member No.: 3609
Joined: 2-February 16









I have recentluy installed ingasort. While trying to run it...an error is occuring "ingasort: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory". So when I try to install it, an error is appearing concerning Multilibrary Version Problem;


Loaded plugins: refresh-packagekit, security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libgcc.i686 0:4.4.7-16.el6 will be installed
--> Finished Dependency Resolution
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:

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 arcitectures.
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).

Protected multilib versions: libgcc-4.4.7-16.el6.i686 != libgcc-4.4.7-11.el6.x86_64


What should I do? Please help me. I am fairly new user of SL6.
PMEmail Poster
^
helikaon
 Posted: Feb 2 2016, 02:42 PM
Quote Post


SLF Administrator
*******

Group: Admins
Posts: 833
Member No.: 4
Joined: 8-April 11










Hi,
which OS architecture are you using? 32bit (i686) or 64 bit (x86_64)?

Also which respositories do you have installed / enabled? List here content of

CODE

/etc/yum.repos.d/


looks like you have newer version of libgcc installed and i wander where it came from. I have my OS fully updated and i have this version available:
CODE

yum whatprovides */libgcc_s.so.1
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile                            
* sl: ftp.scientificlinux.org                                        
* sl-security: ftp.scientificlinux.org                                
sl                                                                                                                                                                         | 3.7 kB     00:00    
sl-security                                                                                                                                                                | 2.9 kB     00:00    
virtio-win-stable                                                                                                                                                          | 3.0 kB     00:00    
libgcc-4.4.7-11.el6.i686 : GCC version 4.4 shared support library                                                                                                                                
Repo        : sl                                                                                                                                                                                  
Matched from:                                                                                                                                                                                    
Filename    : /lib/libgcc_s.so.1                                                                                                                                                                  



libgcc-4.4.7-11.el6.x86_64 : GCC version 4.4 shared support library
Repo        : sl                                                  
Matched from:                                                      
Filename    : /lib64/libgcc_s.so.1                                



libgcc-4.4.7-11.el6.x86_64 : GCC version 4.4 shared support library
Repo        : installed                                            
Matched from:                                                      
Filename    : /lib64/libgcc_s.so.1                                



libgcc-4.4.7-11.el6.i686 : GCC version 4.4 shared support library
Repo        : installed                                          
Matched from:                                                                                                                                                                                    
Filename    : /lib/libgcc_s.so.1


cheers,

--------------------
PMEmail Poster
^
Soumak
 Posted: Feb 4 2016, 04:57 AM
Quote Post


SLF Newbie


Group: Members
Posts: 3
Member No.: 3609
Joined: 2-February 16









Hello helikaon,
I am using 64 bit OS and I have the following respositories installed...

[soumak@soumak yum.repos.d]$ ls
sl6x.repo sl-other.repo sl.repo

What do I do next?


PMEmail Poster
^
helikaon
 Posted: Feb 4 2016, 08:09 AM
Quote Post


SLF Administrator
*******

Group: Admins
Posts: 833
Member No.: 4
Joined: 8-April 11









QUOTE (Soumak @ Feb 4 2016, 04:57 AM)
Hello helikaon,
I am using 64 bit OS and I have the following respositories installed...

[soumak@soumak yum.repos.d]$ ls
sl6x.repo  sl-other.repo  sl.repo

What do I do next?


Hi,
ok, so we have some info now.
you have 64b OS and yet, you're trying to install 32bit library - your 'yum' complains:
CODE

---> Package libgcc.i686 0:4.4.7-16.el6 will be installed

Protected multilib versions: libgcc-4.4.7-16.el6.i686 != libgcc-4.4.7-11.el6.x86_64


Basically you installed some 32 bit software (application) on your SL box (is that "ingasort" you installed 32bit?) and that sw require "libgcc-4.4.7-16.el6.i686"

possible solutions:
1. install 64bit version of the application ("ingasort")? nowadays these apps should be available in 64 bit

2. if you really MUST 'dirty' your nice 64 bit SL with some 32 bit crap, then there is one important requirement:
if you install same package name (as you do in your case), then both packages (32bit and 64 bit) MUST BE SAME VERSION.

in your case, as you see, the 32 bit version is a higher version (higher number) than the 64 bit rpm package - and that is problem.

So solution 2 is to find same version of 32b rpm package as the 64 bit is.

3. 3rd solution could be try to update 64 bit version - but i'm afraid this wont work, because on my system:

CODE

yum list installed | grep libgcc
libgcc.i686                           4.4.7-11.el6              @sl
libgcc.x86_64                         4.4.7-11.el6              @sl

yum update libgcc
Loaded plugins: fastestmirror, priorities, refresh4.4.7-11.el6-packagekit, security
Setting up Update Process
Loading mirror speeds from cached hostfile
* sl: ftp.scientificlinux.org
* sl-security: ftp.scientificlinux.org
sl                                                                                                                                                                         | 3.7 kB     00:00
sl-security                                                                                                                                                                | 2.9
No Packages marked for Update


as you can see i have latest glibc installed and it is 4.4.7-11.el6 for both -32b and 64b too. I dont know where the ' libgcc-4.4.7-16.el6.i686' you try to install comes from.

Try to disable all repositories except SL repo and run the install command again

try:
CODE

yum clean all
yum --disablerepo=* --enablerepo=sl install libgcc.i686



cheers smile.gif

--------------------
PMEmail Poster
^
Soumak
 Posted: Feb 4 2016, 11:36 AM
Quote Post


SLF Newbie


Group: Members
Posts: 3
Member No.: 3609
Joined: 2-February 16









Thank you sir. I have updated the OS and now the problem seems to be resolved. Thank you very much. biggrin.gif
PMEmail Poster
^
helikaon
 Posted: Feb 4 2016, 12:21 PM
Quote Post


SLF Administrator
*******

Group: Admins
Posts: 833
Member No.: 4
Joined: 8-April 11









QUOTE (Soumak @ Feb 4 2016, 11:36 AM)
Thank you sir. I have updated the OS and now the problem seems to be resolved. Thank you very much.  biggrin.gif


Good! smile.gif Have a good time using SL!

cheers


--------------------
PMEmail Poster
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll