LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mismatched rpm versions of libstdc++ and libstdc++-devel (https://www.linuxquestions.org/questions/linux-software-2/mismatched-rpm-versions-of-libstdc-and-libstdc-devel-249674/)

pcweirdo 10-31-2004 10:45 PM

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.

trevilli 11-01-2004 11:38 AM

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.


laceupboots 11-02-2004 08:58 AM

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.

pcweirdo 11-03-2004 05:16 PM

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.

pcweirdo 11-05-2004 08:39 PM

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.

alirezan1 11-28-2004 05:57 PM

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

laceupboots 11-28-2004 10:13 PM

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.

alirezan1 11-29-2004 12:08 AM

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

laceupboots 11-29-2004 09:30 AM

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.


All times are GMT -5. The time now is 09:23 PM.