Fedora Linux Support Community & Resources Center
  #1  
Old 11th May 2006, 06:12 PM
mtk Offline
Registered User
 
Join Date: Apr 2004
Posts: 141
building programs on FC5 (64 bits) for FC4 (64 bits)

it seems possible in many cases to build a binary on FC5 (64 bits) and run it on FC4 (64 bits). many of the libraries (e.g. 5/7th of the libraries in /lib and /usr/lib) have the same version number. but one attempt to do so resulted in a runtime error for libc while another didn't. and i'm curious about how it happens.

e.g. if you build perl from scratch on FC5 and try to run it on FC4, it fails with the error:

/lib64/libc.so.6: version `GLIBC_2.4' not found

even though the binary is bound to /lib64/libc.so.6 and that file exists on both FC5 and FC4. but if you build something trivial, e.g. the canonical C "hello world" program, or even some mildly complex programs, they bind to /lib64/libc.so.6 successfully and run on both systems.

where is this hidden version info and how is it selectively invoked?

/mark
Reply With Quote
  #2  
Old 15th May 2006, 01:13 PM
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
ld -soname=name, perhaps...
Reply With Quote
  #3  
Old 16th May 2006, 06:36 AM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 28
Posts: 7,909
The perl rpm spec file has a bit of magic to make it configure x86_64 correctly. http://cvs.fedora.redhat.com/viewcvs...evel/perl.spec
Reply With Quote
Reply

Tags
bits, building, fc4, fc5, programs

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
4G of RAM with 32 bits? tictac Hardware & Laptops 7 17th February 2009 02:04 AM
32 bits livna packages on 64 bits fedora 8 RGB Using Fedora 3 25th June 2008 01:34 PM
Firefox 64 bits and 32 bits Marcolux Using Fedora 1 24th May 2006 01:41 AM
Main difference between 32 bits and 64 bits lvthn Using Fedora 4 11th June 2005 06:39 PM


Current GMT-time: 16:48 (Friday, 24-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

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
Borzya Photos - Daur - Moram Instagram Photos