Fedora Linux Support Community & Resources Center
Old 12th January 2010, 05:33 PM
forum.query Offline
Registered User
Join Date: Nov 2008
Posts: 37
install 32-bit dev libs on x86_64 system

Before migrating to F11, I was using F9 - cross-compilation on my Opteron box for both 32- and 64-bit was trivial, since all the 32- and 64-bit libs were installed (such that I could simply add the -m32 compiler directive and generate a 32-bit executable). However, when I try the same 32-bit compilations under F11, doesn't work. Some of the error messages tipped me off that many of the 32-bit versions of various development (shared) libs weren't available (a comparison of the contents of /usr/lib64 and /usr/lib show *lots* of differences.

I fired up yum, assuming I could simply install the i586 versions of same, but in many instances, they're not available.

I must be missing something obvious.

Thanks in advance.
Reply With Quote
Old 29th January 2010, 09:01 AM
Thebinaryman Offline
Registered User
Join Date: Feb 2006
Location: Minneapolis, MN
Age: 28
Posts: 20
They're i686, try installing PackageNameHere.i686, I believe most, if not all are i686 builds, not i586. I needed to install many i686 packages (duplicates of x86_64 packages) to ensure compatibility with 32-bit software.
AMD Athlon X2 5000+ Black Edition @2.6GHz
2x1GB + 2x2GB DDR2 800MHz
3 x Seagate 7200.10 80GB, Software RAID5 (RAID1 /boot)
Fedora 12 x86_64 Linux
Reply With Quote
Old 9th February 2010, 08:21 AM
DhirajSharma Offline
Registered User
Join Date: Feb 2010
Posts: 15
Compiling 32 bit programs on 64 bit Fedora

I have seen many posts on this problem. I have finally found a solution, which is outlined below:

I have Fedora 12 x86_64 version on Core I7 CPU.

Wrote a simple "hello world" program and compiled it using "gcc -m32 ...". Could not compile. Went through many trials and errors and discovered that the following cured the problems:

yum install glibc.i686 # For the basic libs.

yum install glibc-devel.i686 # For stubs.

yum install compat-libstdc++-33-3.2.3-68.i686 # For compatibility of 32 bits on 64 bit CPU.
yum install compat-libstdc++-296-2.96-143.i686

The programs compiles and runs OK. Hope the above helps.
Reply With Quote

32-bit compilation, 32-bits libs, opeteron, x86_64 system

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
'yum install wine' gives esound-libs conflict on x86_64 kyleki Alpha, Beta & Snapshots Discussions (Fedora 11 Only) 1 12th March 2009 02:23 AM
perl-libs.x86_64 Dependancey issue lazlow Using Fedora 11 17th November 2007 02:20 AM
i386 && x86_64 devel-libs?? PolywogSys Using Fedora 7 15th July 2007 12:38 AM
Default library links for 32 bit libs on x86_64 Dirk_R Using Fedora 2 12th October 2006 12:14 AM
Missing X11 i386 libs in FC4 x86_64 RockM Using Fedora 3 18th July 2005 06:47 PM

Current GMT-time: 12:16 (Monday, 21-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat