LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 10-31-2004, 10:45 PM   #1
pcweirdo
Member
 
Registered: Oct 2004
Location: Melbourne-ish, Australia
Distribution: Gentoo, Windows XP Pro
Posts: 58

Rep: Reputation: 15
mismatched rpm versions of libstdc++ and libstdc++-devel


howdy,

I've got two versions of libstdc++ and one of libstdc++-devel. libstdc++-3.3.3-7 came with my fedora core 2 distro. I downlaoded the otheres via ftp and installed them using the rpm command (not yum or apt-get). See this:

#rpm -qa | grep libstdc
libstdc++-3.3.3-7
libstdc++-devel-3.4.2-6
libstdc++-3.4.2-6

The configure scripts I've tried for compiling source code all complain about missing what they call a package similar to libstdc+-dev. I want them to see that I have libstdc++-devel.

My best guess is that libstdc++-3.3.3-7 wants libstdc++-devel-3.3.3-7, but I can't get it. I guess I need to get rid of libstdc++-3.3.3-7 but it has all these dependencies. I don't want to kill my system.

Also see http://www.soundless-screams.net/pcw...log-24-10-2004

Thanks for any ideas,
-pcweirdo.
 
Old 11-01-2004, 11:38 AM   #2
trevilli
LQ Newbie
 
Registered: Mar 2004
Location: San Francisco Bay Area
Distribution: W: CentOS H: Ubuntu
Posts: 10

Rep: Reputation: 0
Re: mismatched rpm versions of libstdc++ and libstdc++-devel

Quote:
Originally posted by pcweirdo
howdy,

I've got two versions of libstdc++ and one of libstdc++-devel. libstdc++-3.3.3-7 came with my fedora core 2 distro. I downlaoded the otheres via ftp and installed them using the rpm command (not yum or apt-get). See this:

>>Which rpm command did you use to install? Did you use a -f? I would think that rpm would have complained about conflicts between libstdc++ 3.3.3-7 and libstdc++3.4.2-6 Can you uninstall or erase the libstdc++-devel package first? Then try to remove libstdc++-3.4.2-6. Now you should just the libstdc++3.4.2-6. Download the 3.4.2-6-devel and the libstdc++3.4.2-6. When you install via rpm try this: rpm -Uvh *.rpm This assumes that only your libstdc++ rpms are in this directory, since it will be Upgrading (this is what the -U option means, vh are for verbose output and hash marks) all rpm packages in that directory. See if this attempted upgrading does what you need.

#rpm -qa | grep libstdc
libstdc++-3.3.3-7
libstdc++-devel-3.4.2-6
libstdc++-3.4.2-6

The configure scripts I've tried for compiling source code all complain about missing what they call a package similar to libstdc+-dev. I want them to see that I have libstdc++-devel.

My best guess is that libstdc++-3.3.3-7 wants libstdc++-devel-3.3.3-7, but I can't get it. I guess I need to get rid of libstdc++-3.3.3-7 but it has all these dependencies. I don't want to kill my system.

Also see http://www.soundless-screams.net/pcw...log-24-10-2004

Thanks for any ideas,
-pcweirdo.
 
Old 11-02-2004, 08:58 AM   #3
laceupboots
Member
 
Registered: Dec 2003
Location: Houston
Distribution: Windows Vista/ XP/ Mepis
Posts: 304

Rep: Reputation: 30
You can find libstdc++-devl 3.3.3-7 here
http://rpmseek.com/rpm/libstdc%5C%5C...cs=libstdc%5C%

Edited to add you need to enter libstdc++ which will give you a list of the libstdc++ available. Click on libstdc++-devl and you will find the 3.3.3.7 version for fedora core 2.

Last edited by laceupboots; 11-02-2004 at 09:05 AM.
 
Old 11-03-2004, 05:16 PM   #4
pcweirdo
Member
 
Registered: Oct 2004
Location: Melbourne-ish, Australia
Distribution: Gentoo, Windows XP Pro
Posts: 58

Original Poster
Rep: Reputation: 15
thanks for your replies. I've downloaded libstdc++-devel-3.3.3-7 and will try it on my linux tonight or tomorrow (i'm on windows at school atm). I'll get back to you with the results.

-pcweirdo.
 
Old 11-05-2004, 08:39 PM   #5
pcweirdo
Member
 
Registered: Oct 2004
Location: Melbourne-ish, Australia
Distribution: Gentoo, Windows XP Pro
Posts: 58

Original Poster
Rep: Reputation: 15
success! w00t!

To fix my problems, I did:

rpm --force -U libstdc++-devel-3.3.3-7.rpm

which "upgraded" ( actually downgraded) my libstdc++-devel package.
This made configure scripts work, because my libstc++ and libstdc++-devel are now the same version.

So now I'm very happy.

Thanks for the help.
-pcweirdo.
 
Old 11-28-2004, 05:57 PM   #6
alirezan1
Member
 
Registered: Nov 2004
Location: Vancouver
Distribution: Ubunty, CentOS ,Mandriva, Gentoo, RedHat, Fedora, Knoppix
Posts: 147

Rep: Reputation: 15
Hi
I was trying to install a new package but I got the error message:
"checking for QT-1.30... configure: error: QT-1.30 (headers and libraries) not found. Please check your installation!"

or
"checking if C++ programs can be compiled... no
configure: error: Your Installation isn't able to compile simple C++ programs.
Check config.log for details - if you're using a Linux distribution you might miss
a package named similiar to libstd++-dev."

I tried to install all the packages of libstdc++ and -dev ones but all I got was "warning: libstdc++-devel-3.2.2-5asp.i386.rpm: V3 DSA signature: NOKEY, key ID 9b3c94f4
error: Failed dependencies:
libstdc++ = 3.2.2-5asp is needed by libstdc++-devel-3.2.2-5asp
"
when I tried to install the dependency(libstdc++-3.3.2-1.i386.rpm), I got:
"warning: libstdc++-3.3.2-1.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2"
and everything stoped working.

I am using mandrake linux 10.1 and I don't know what to do anymore. Please help!

Thanks
 
Old 11-28-2004, 10:13 PM   #7
laceupboots
Member
 
Registered: Dec 2003
Location: Houston
Distribution: Windows Vista/ XP/ Mepis
Posts: 304

Rep: Reputation: 30
Try installing the QT 1.30. Also are you using the CE edition of 10.1? I was having similar issues with 10.1 CE and I upgraded to 10.1 Official the download version. I did an install not an update and it allowed me to select Development and automatically installed IDLE (Python development) KDevelop (C++ for KDE) and QT Designer (C++ , looks a lot like Visual Basic) and it saved the info in my home directory.
 
Old 11-29-2004, 12:08 AM   #8
alirezan1
Member
 
Registered: Nov 2004
Location: Vancouver
Distribution: Ubunty, CentOS ,Mandriva, Gentoo, RedHat, Fedora, Knoppix
Posts: 147

Rep: Reputation: 15
Hello,

I have got my linux from Mandrake website and it is 10.1 download edition official. I have clean installed it not upgrade from older versions.
The problem is I have installed every single package I thought might be necessary but I have had no luck yet. The packages I installed are:

glibc-2.3.3-21mdk.i586.rpm
glibc-devel-2.3.3-21mdk.i586.rpm
libstdc++6-3.4.1-4mdk.i586.rpm
libstdc++6-devel-3.4.1-4mdk.i586.rpm
XFree86-devel-4.3.0-111.i586.rpm

I found every single package to be useful from the comments I read from other forums or people with the same problem as mine. But I had no luck.
Recently, I get this message when I try to compile a source code:
"
checking how to run the C preprocessor... gcc -E
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
....
checking if C++ programs can be compiled... no
configure: error: Your Installation isn't able to compile simple C++ programs.
Check config.log for details - if you're using a Linux distribution you might mi ss
a package named similiar to libstd++-dev.
"

notice I get g++ -- no and this is something new. I tried to install gcc-g++ again but I couldn't even compile the package again.
I don't really know what else to do. Please help me!

Thanks

Alireza
 
Old 11-29-2004, 09:30 AM   #9
laceupboots
Member
 
Registered: Dec 2003
Location: Houston
Distribution: Windows Vista/ XP/ Mepis
Posts: 304

Rep: Reputation: 30
Some of the packages you mentioned aren't on my computer either but I can still compile a program. g++ is there so is c++. You can try running an update install , or a new install after you save your home directory. Official saved the information in my home directory but you still want to do that just in case. Other than that your going to have to fight your way through the dependencies. The thing is....... you have the information already on one of the 10.1 CD's that you have and should be able to access the information from your Install Packages option in the System/Configuration/Packaging menu.
 
  


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
FC4 doesn't have libstdc++.so.5 but libstdc++.so.6 baosheng Fedora 14 04-06-2008 10:08 AM
libstdc++ problem, 'rpm' also doesnt work :( _UnPrEdictAbLe_ Linux - Software 3 08-15-2005 02:40 AM
how to find which rpm cotains libstdc++-libc6.2-2.so.3 stewchcken Linux - Software 1 07-26-2005 09:23 AM
libstdc++.so.5 in RH 7.3 PauloP Linux - Software 1 07-23-2005 06:33 AM
RPM problems with libstdc++.so.6 dangerousdave Linux - Newbie 5 02-17-2005 08:12 PM


All times are GMT -5. The time now is 04:22 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