LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-17-2005, 05:34 PM   #1
dangerousdave
Member
 
Registered: Feb 2005
Distribution: Ubuntu 8.04
Posts: 100

Rep: Reputation: 15
RPM problems with libstdc++.so.6


I've got a few different packages that are asking for libstdc++.so.6, but I've found it in a couple of places on my machine. How can I get the rpm to see it?

Cheers,
 
Old 02-17-2005, 05:38 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,986
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
What does rpm think about it in the first place?

rp -qa --dump | grep "libstdc++"
will tell you whether rpm thinks it has one
or not ...

If it does, maybe you're just facing a version
conflict rather than actually missing it. Can you
post an error message from any of the complaining
packages?


Cheers,
Tink
 
Old 02-17-2005, 06:05 PM   #3
dangerousdave
Member
 
Registered: Feb 2005
Distribution: Ubuntu 8.04
Posts: 100

Original Poster
Rep: Reputation: 15
/home/dave/downloads/dependencies/qt-x11-free-3.3.4/bin/qmake: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

Thats trying to ./configure qt.

error: Failed dependencies:
dclib >= 0.3.4 is needed by valknut-0.3.7.hn-1
libstdc++.so.6(GLIBCXX_3.4) is needed by valknut-0.3.7.hn-1

Thats trying to rpm -i valknut.

error: Failed dependencies:
libstdc++.so.6(GLIBCXX_3.4) is needed by dclib-0.3.7.hn-1

Thats trying to rpm -i dclib

I tried that command, loads of entries come up and libstdc++.so.6 comes up along with lots of others - so probably a version conflict. Any ideas?

Last edited by dangerousdave; 02-17-2005 at 06:08 PM.
 
Old 02-17-2005, 06:15 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,986
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Well ... I don't know Centos, no idea how good its
rpm repository is ... I'd suggest you go and find
RPMs (that inlcudes Qt) that match your system.
 
Old 02-17-2005, 06:21 PM   #5
dangerousdave
Member
 
Registered: Feb 2005
Distribution: Ubuntu 8.04
Posts: 100

Original Poster
Rep: Reputation: 15
CentOS is literally just a rebuild of latest RedHat enterprise, so I understand.

and qt is from source, so the problems not resricted to rpms.

This is harsh.
 
Old 02-17-2005, 08:12 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,986
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
What is the actual physical location of your libstdc++.so.6?
Try a
locate libstdc++\.so |xargs ls -ld

And yes, rpm DOES suck :}


Cheers,
Tink
 
  


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
libstdc++.so.5 problems lashnjo Linux - Software 17 11-29-2010 06:53 PM
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
problems finding libstdc++.la Penguin Dropout Linux - Software 5 04-11-2005 05:21 PM
mismatched rpm versions of libstdc++ and libstdc++-devel pcweirdo Linux - Software 8 11-29-2004 09:30 AM


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