Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 02-17-2008, 08:44 AM   #1
LQ Newbie
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
one more error building GCC - related with the newer version of Glibc??

I've got this error while building GCC 4.1.2:

/lib64/ file not recognized: File format not recognized

My host is Fedora8, maybe the problem is in the version 2.7 of my Glibc? <- the recommended version in LFS Book is up to 2.5.1. How can I solve my problem??

Thanks much all!
Old 02-17-2008, 10:20 AM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,779
Blog Entries: 1

Rep: Reputation: 243Reputation: 243Reputation: 243
Your trying to build a 32-bit OS and that is a 64-bit library. I'm assuming you're using an x86_64 platform. LFS is geared towards the ix86 platform. Try using Cross Linux from Scratch which provides specific instructions for the x86_64 architecture. Use the multilib instructions, not the "pure-64" and save yourself some trouble down the road. I'd recommend using the SVN version, it should be the stable release in a few weeks anyway.


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
install or upgrade newer or older gcc version saistain Linux - Software 1 10-19-2007 11:26 PM
Building glibc-2.5 Error chiefsmurph Linux - Software 7 04-28-2007 12:00 AM
Xfree Error (EE) module ABI minor version (7) is newer than the server's version (6) jimdaworm Slackware 0 10-17-2003 06:26 PM
Newer version of glibc means i cant install gcc coop Red Hat 0 09-21-2003 02:40 AM
check glibc version used by gcc carboncopy Slackware 3 08-12-2003 06:24 AM

All times are GMT -5. The time now is 01:24 AM.

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