LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   running software built with gcc 3.0.2 on Redhat 8 - gcc 3.2 (https://www.linuxquestions.org/questions/linux-software-2/running-software-built-with-gcc-3-0-2-on-redhat-8-gcc-3-2-a-154986/)

dst1989 03-08-2004 10:30 AM

running software built with gcc 3.0.2 on Redhat 8 - gcc 3.2
 
Hello, I have an executable that was built with gcc 3.0.2 on Redhat 7.2. Well, the exe runs on Redhat 8 with gcc 3.0.2, but I now need to run it on Redhat 8 with gcc 3.2. When I try to run it, I get an error saying that the shared library, libstdc++.so.3, cannot be opened. Well, that's correct, since gcc 3.2 has no libstdc++.so.3. What should I do? I tried creating a link to libstdc++.so.5.0.1, which is what libstdc++.so is linked to, but this made the exe core dump due to a SEGFAULT. Any guidance is appreciated. Thanks.

Sherri

qwijibow 03-08-2004 10:56 AM

is re-compileing not an option ?

dst1989 03-08-2004 05:35 PM

Unfortunately, recompiling is not an option. This is a 3rd party executable.

qwijibow 03-08-2004 10:23 PM

hmmm,
this is just an educated guess....
but in my fedora core disks i have an rpm package called libstdc++-compat-XXXX.rpm
it seems to be a backwards compatability package. maybe you need somthing like that ?
other than that sorry, its over my head.

maybe some one in the programming forum can help more ?


All times are GMT -5. The time now is 05:53 AM.