LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RPM problems with libstdc++.so.6 (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-problems-with-libstdc-so-6-a-291562/)

dangerousdave 02-17-2005 05:34 PM

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,

Tinkster 02-17-2005 05:38 PM

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

dangerousdave 02-17-2005 06:05 PM

/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?

Tinkster 02-17-2005 06:15 PM

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.

dangerousdave 02-17-2005 06:21 PM

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.

Tinkster 02-17-2005 08:12 PM

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


All times are GMT -5. The time now is 04:40 PM.