LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-06-2015, 09:19 AM   #1
auclark@wsu.edu
LQ Newbie
 
Registered: Dec 2009
Posts: 8

Rep: Reputation: 0
yum install of both 32-bit and 64-bit gcc libraries - PROTECTED MULTILIB VERSIONS


Hi;

I have a piece of software that requires the 32-bit version of redhat-lsb-graphics. I am currently running rocks-6.6.1 and so only the 64 bit gcc libraries are installed. As such, when i use yum to install redhat-lsb-graphics.i686 yum attempts to install all of the dependencies, including 32-bit gcc (libgcc-4.4.7-4.el6.i686). When yum puts in the 32-bit dependencies i get the following:

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

Can anyone please advise how to get around this? I really really need this piece of software to work and I've worked very hard to get all other issues with this software fixed - i think this is my last hurdle.

Thank you!
Aurora
 
Old 12-07-2015, 07:38 PM   #2
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 3,046

Rep: Reputation: 1332Reputation: 1332Reputation: 1332Reputation: 1332Reputation: 1332Reputation: 1332Reputation: 1332Reputation: 1332Reputation: 1332Reputation: 1332
Just a thought...

If there is no version of that software that uses the 64-bit libs, have you considered running a 32-bit container?
(using lxc perhaps, though OpenVZ would also work)
This way it will see itself as running in the 32-bit environment for which it was designed.
 
Old 12-08-2015, 09:22 AM   #3
auclark@wsu.edu
LQ Newbie
 
Registered: Dec 2009
Posts: 8

Original Poster
Rep: Reputation: 0
To tell the truth I am not sure if only the 32-bit libraries are needed - this is actually to run the Licensing software associated with the main program, and the documentation is not very good for the licensing component. I could see how i could put the licensing software on a separate lxc though - but the main code would exist in the normal 64-bit part of the computer and need to be able to access the licensing software on the 32-bit lxc...is that possible?

I had thought that instead it may be possible to use yum to install to just a specific directory all of the 32-bit dependencies needed. The multilib version error seems to me like yum is trying to put the 64-bit and 32-bit libraries in the same location. Can yum install to specific directories? I have looked extensively but not found any info on that.

thank you so much for responding!
Aurora
 
Old 12-08-2015, 10:07 AM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134
RHEL is perfectly capable of doing multilib. It looks to me like the system is simply upset that your version of libgcc is outdated. RHEL6 is on 4.4.7-16.el6 for both the 32 and 64-bit libgcc. Try running a yum update before installing any software (you should always do this to prevent these kinds of problems).
 
Old 12-08-2015, 04:41 PM   #5
auclark@wsu.edu
LQ Newbie
 
Registered: Dec 2009
Posts: 8

Original Poster
Rep: Reputation: 0
I am pretty sure that I am up to date on these packages. yum list libgcc shows it is version 4.4.7-16:

Installed Packages
libgcc.x86_64 4.4.7-16.el6 @/libgcc-4.4.7-16.el6.x86_64

and if i request an update:

yum -y check-update
% yum -y update gcc
Setting up Update Process
No Packages marked for Update
% yum -y update libgcc
Setting up Update Process
No Packages marked for Update
% yum update
Setting up Update Process
No Packages marked for Update
 
Old 12-08-2015, 05:35 PM   #6
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134
I don't understand why yum is trying to install libgcc-4.4.7-4.el6.i686 then, that's an outdated version. What does it do if you just run "yum install libgcc.i686"? Also, what is the output of "yum repolist"?
 
Old 12-08-2015, 05:56 PM   #7
auclark@wsu.edu
LQ Newbie
 
Registered: Dec 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Here's the yum repolist:

# yum repolist
repo id repo name status
Rocks-6.1.1 Rocks 6.1.1 2,376
repolist: 2,376

and for the i686 install:

# yum install libgcc.i686
.
.
.
a whole bunch of stuff
.
.
.
Protected multilib versions: libgcc-4.4.7-4.el6.i686 != libgcc-4.4.7-16.el6.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Thanks
A
 
Old 12-08-2015, 06:01 PM   #8
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134
Hm, maybe Rocks doesn't support multi-lib? They say it's 64-bit only on their site, but it isn't clear whether that means they do/don't support multi-lib on a 64-bit base.
Quote:
Rocks 6.1.1 (Sand Boa) is now available
APRIL 15, 2014 ADMIN

The latest update of Rocks codename Sand Boa is now released. Sand Boa is a 64-bit only release and is based upon CentOS 6.5 The Rocks-supplied OS rolls have all updates applied as of April 14, 2014. This includes updates for the OpenSSL Heartbleed
If they do support multi-lib, they need to update the version of libgcc.i686 in the repo to match libgcc.x86_64.

Any reason you're not using a more popular and better supported distro in the first place? Like, say, CentOS that Rocks is based off of?

Last edited by suicidaleggroll; 12-08-2015 at 06:04 PM.
 
Old 12-08-2015, 06:14 PM   #9
auclark@wsu.edu
LQ Newbie
 
Registered: Dec 2009
Posts: 8

Original Poster
Rep: Reputation: 0
I guess I thought that referred to the initial install of the OS...not that 32-bit libraries could not be installed. That seems very odd. What about the "lxc" option mentioned above?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why can't I install a 64 Bit Linux Distro on my machine,32 Bit versions install fine? WindowsSucksBad Linux - Newbie 4 07-20-2015 04:26 PM
Install gcc version 4.9.1 - 32 bit libraries issues jdn Linux - Software 1 08-11-2014 02:36 PM
Howto install 32-bit libraries on 64-bit Linux using yum shawn_t Linux - Server 16 07-13-2012 02:46 AM
[SOLVED] Cannot install fpc 32 bit on 64 bit multilib slackbuild. george-lappies Slackware 8 05-26-2011 09:37 AM
how to find and install 32-bit X11 libraries on 64-bit ubuntu 10.04 maxreason Ubuntu 1 08-27-2010 08:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration