Backwards Compatability...

This is a discussion on Backwards Compatability... within the Linux Programming forums, part of the Platform Specific Boards category; When I compile somthing with g++ on redhat 9 then move that binary to redhat 7.3 It tells me that ...

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    59

    Question Backwards Compatability...

    When I compile somthing with g++ on redhat 9 then move that binary to redhat 7.3 It tells me that I am missing an so file. How can I compile the program on my RH 9 box then run it on a 7.3 box... I have reasons for not just compiling it on the 7.3 box.

    Thanks a bunch...

  2. #2
    Registered User
    Join Date
    Aug 2002
    Posts
    351
    find out what that so file is or what provides it.

    download, make and install source on your 7.3 box.

  3. #3
    Registered User
    Join Date
    Mar 2002
    Posts
    59

    Independent

    Isn't there someway, maybe by using a parameter, that the application would run without that so?

    Thanks
    Last edited by Jperensky; 06-17-2003 at 12:50 PM.

  4. #4
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    would it work to download an old copy of the Kernel (the one from 7.3) on your RH9 computer and boot to that to compile?

  5. #5
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    Try upgrading glibc for your RH 7. You might be able to get it to work.

  6. #6
    Registered User
    Join Date
    Mar 2002
    Posts
    59

    Well...

    I appreciate the help but I think some of you are misunderstanding my question. I am trying to figure out how to do this without upgrading or installing anything new on my 7.3 box. I would like to do this this way because i want to be able to distribute binaries and have them work on as many machines as possible.

    What I am thinking is that there is some parameter that I can use to compile the application so it will possibly include the dependency in the binary itself or just compile it so it wont be needed.

    I though about just compiling on my box running 7.3 but the hard drive is just .5 gigs and therefore too small to fit a compiler with libraries.


  7. #7
    Registered User
    Join Date
    Mar 2002
    Posts
    59

    Thanks

    Thank You... that seems to do the trick!


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Backwards uint16_t?
    By DavidDobson in forum C Programming
    Replies: 7
    Last Post: 05-11-2009, 09:45 AM
  2. Searching backwards in a string
    By Ducky in forum C++ Programming
    Replies: 11
    Last Post: 03-09-2008, 12:54 AM
  3. Question about .NET backwards compatibility
    By gunder in forum C# Programming
    Replies: 5
    Last Post: 09-15-2006, 07:08 AM
  4. Taking input and Outputting it backwards
    By whtpirate in forum C Programming
    Replies: 9
    Last Post: 06-08-2003, 10:59 AM
  5. how to print a string backwards
    By Unregistered in forum C# Programming
    Replies: 2
    Last Post: 01-27-2002, 12:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21