LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-08-2004, 10:30 AM   #1
dst1989
LQ Newbie
 
Registered: Mar 2004
Location: Alexandria, VA
Distribution: Redhat 8
Posts: 2

Rep: Reputation: 0
Question 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
 
Old 03-08-2004, 10:56 AM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
is re-compileing not an option ?
 
Old 03-08-2004, 05:35 PM   #3
dst1989
LQ Newbie
 
Registered: Mar 2004
Location: Alexandria, VA
Distribution: Redhat 8
Posts: 2

Original Poster
Rep: Reputation: 0
Unfortunately, recompiling is not an option. This is a 3rd party executable.
 
Old 03-08-2004, 10:23 PM   #4
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
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 ?
 
  


Reply



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
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
Kernel compiling: gcc-3.3 is 586, should be gcc-3.3 386 Erik Plaggenmar Linux - Software 0 10-01-2004 11:38 AM
problem of "NaN" in redhat 7.3, with gcc-2.96 while running c_code mkh Programming 3 01-12-2004 01:17 AM
a doubt with host gcc and arm-linux-gcc renjithgopal Linux - General 1 09-11-2003 04:02 PM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:45 PM.

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