LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-04-2005, 09:57 AM   #1
Dave31836
LQ Newbie
 
Registered: Sep 2004
Location: Framingham, Massachusetts, USA
Distribution: Redhat 9
Posts: 17

Rep: Reputation: 0
Executable size - RH7.x versus Fedora


Using Ajunta IDE, my C++ app produces a 5 meg executable under Redhat 7.2.

After copying the identical project to Fedora, the built executable is over 8 megs.

Further, the 5 meg executable built on 7.2 wont run on Fedora, complaining
about missing .so libraries.

Seems like Fedora is statically linking more libs than 7.2.

How can i fix this? Am kinda new at Linux, so the answer is likely simple.

Thnx in advance.
 
Old 03-04-2005, 02:46 PM   #2
Dave31836
LQ Newbie
 
Registered: Sep 2004
Location: Framingham, Massachusetts, USA
Distribution: Redhat 9
Posts: 17

Original Poster
Rep: Reputation: 0
I solved my problem, but dont know why...

I assume Fedora's libraries are larger accounting for the size diff.

But, to get the smaller executable to run on Fedora, I had to manually
copy and rename libcom_err.so.2 to libcom_err.so.3, the latter being
absent in Fedora, but present in 7.2.

Why should I have had to do this?
 
  


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
Debian versus Fedora pamount Linux - Newbie 7 02-13-2005 06:45 AM
/mnt/cdrom (RH) versus /media/cdrecorder (Fedora) rfk Linux - Newbie 2 11-21-2004 04:23 PM
Where can I find the wish executable for fedora core 2 temper8ur8 Fedora 1 07-08-2004 01:30 AM
Actual Hard Disk Size on RH7.2 Arot Linux - Software 1 09-01-2003 05:22 PM
Hard Disk Size Confusion (RH7.2) Arot Linux - Newbie 1 09-01-2003 04:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:11 AM.

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
Open Source Consulting | Domain Registration