LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 02-29-2008, 03:41 AM   #1
shyamsundar
LQ Newbie
 
Registered: Feb 2006
Location: Chennai ,India
Distribution: debian
Posts: 15

Rep: Reputation: 0
Unable to find a source install compat-libstdc++ in debian.


hi,

I am trying to install an INTEL Fortran compiler in debian. It requires libstdc.so.5 and they have recommended that since the present g++ compiler has the libstdc.so.6 version I need to get the compat-libstdc++ file installed. I have been trying to find out sources for the same and I couldnt get one for debian. All of them seem to be for RedHat. It would be great if someone can mention a source for the same.

Thanks a lot

Shyam Sundar

Last edited by shyamsundar; 02-29-2008 at 03:44 AM.
 
Old 02-29-2008, 05:10 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
That is the name of a package. Didn't the message include the version of the compat package?

http://www.linuxquestions.org/questi...oblems-352007/
Look at post 16.
 
Old 02-29-2008, 05:16 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,186

Rep: Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368
All .deb packages should be available for any version of Debian.
Try first 'apt-get update' to have access to all packages.
'apt-get install g77-3.3' will install fortran 77 with all dependencies.
'apt-get install gfortran' will install fortran 95 with all dependencies.
I hope these examples will help you, compiling libstdc++ is no fun by my experience.
 
Old 02-29-2008, 05:19 AM   #4
shyamsundar
LQ Newbie
 
Registered: Feb 2006
Location: Chennai ,India
Distribution: debian
Posts: 15

Original Poster
Rep: Reputation: 0
The FAQ thing gave the following explanation : It doesnt give any specific version.


Product improvements in the Intel® C++ and Fortran 10.x compilers for Linux* require linkage to a Standard C++ library on *all* IA-32, Intel® 64, and IA-64 processor-based Linux systems. Intel® 10.x compilers are linked to the /usr/lib/libstdc++.so.5 library by design to permit use of the Intel 10.x compilers on GCC* 3.2-based Linux distributions.

Many Linux distributions available today are GCC* 3.4-based and thus by default provide the newer Standard C++ library, /usr/lib/libstdc++.so.6. Therefore, installation and use of the Intel C++ and Fortran 10.x compilers for Linux on GCC 3.4-based Linux distributions may require explicit user action to install the Standard C++ library compatibility RPM, compat-libstdc++, that provides the required /usr/lib/libstdc++.so.5 library.

Please refer to your Linux distribution's installation materials for details on the compat-libstdc++ RPM and installing specific RPMs.




Also my question is that since the rpms are mostly based for fedora ,Redhat linuxes none seem to be there for debian. I tried to apt-get the software but it didnt work.
 
Old 02-29-2008, 06:50 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,186

Rep: Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368
Did you do 'apt-get update' ?
No compat for Debian, they often use different names for many packages.
libstdc++ here: http://packages.debian.org/libstdc++5
libstdc++-dev : http://packages.debian.org/libstdc++5-3.3-dev
 
Old 03-01-2008, 12:04 AM   #6
shyamsundar
LQ Newbie
 
Registered: Feb 2006
Location: Chennai ,India
Distribution: debian
Posts: 15

Original Poster
Rep: Reputation: 0
yes! I have run apt-get update. Also as I have installed libstdc++6 it is not installing 5. I installed the libstdc++5-dev package though and tried the installation again, it didnt work.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
install compat-libstdc++ on RHEL4 thuang Linux - Newbie 2 03-17-2008 12:24 AM
Need older libraries: libstdc++-3.2.4, libstdc++-libc6.-1.so.2, & compat-2004.7.1 al_moline Suse/Novell 2 10-19-2007 07:01 AM
Need compat-libstdc++-296 for Open Suse 10.2 al_moline Suse/Novell 1 10-04-2007 09:57 AM
Cannot find compat-libstdc++ wearetheborg Mandriva 10 06-13-2006 05:27 PM
unable to find libstdc++.so.5 in debian tonerow12 Linux - General 1 07-12-2004 11:58 AM


All times are GMT -5. The time now is 06:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration