You are not logged in.
I keep getting this error when trying to run applications such as firefox and thunderbird.
It's pretty clear it's a problem with gcc but I can't figure out how to fix it.
Every other solved thread was something to do with updating the gcc, gcc-libs and glibc packages but mine all seem to be up to date.
local/gcc 4.6.2-7 (base-devel)
local/gcc-libs 4.6.2-7 (base)
local/glibc 2.15-6 (base)
local/libstdc++5 3.3.6-4
Also running strings /usr/lib/libstdc++.so.6 | grep GLIBCXX gives:
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_DEBUG_MESSAGE_LENGTH
which shows 3.4.15 is there.
I've pretty much run out of ideas at this point, thanks for any help.
Linux eee 3.2.7-1-ARCH #1 SMP PREEMPT Tue Feb 21 16:59:04 UTC 2012 i686 Intel(R) Atom(TM) CPU 330 @ 1.60GHz GenuineIntel GNU/Linux
Last edited by lozzaaa (2012-03-02 11:32:59)
Offline
try ldd on the binaries or LD_DEBUG=files to see whether or not it loads the correct libstdc++, since gcc ships libstdc++.so.6, and you have libstdc++5 also installed. So they might be using the wrong one?
You know you're paranoid when you start thinking random letters while typing a password.
A good post about vim
Python has no multithreading.
Offline
I don't have access to my laptop at the moment so I can't try what you suggested until tomorrow.
Are you saying that libstdc++5 is a separate older version? Shall I just remove it so that it uses the newer built-in one instead?
Thanks.
Offline
Is your glibc package fully up-to-date?
Offline
Yeah I posted all the version numbers at the top. They were all updated with pacman -Syu and then individually as well to make sure.
Offline
Did an ldd on the firefox binary and found it was using /lib/libstdc++.so.6 not /usr/lib/libstdc++.so.6
Inspected the strings of the /lib/ version and lo and behold it only went up to 3.4.14
Copied the /usr/lib/ version over to /lib/ and it fixed everything.
Thanks Blµb!
Offline
Did an ldd on the firefox binary and found it was using /lib/libstdc++.so.6 not /usr/lib/libstdc++.so.6
Inspected the strings of the /lib/ version and lo and behold it only went up to 3.4.14
Copied the /usr/lib/ version over to /lib/ and it fixed everything.Thanks Blµb!
the question is why do you have a copy in /lib/libstdc++.so.6 ? what package owns that file?
Give what you have. To someone, it may be better than you dare to think.
Offline
Yes and why does Firefox use it over the /usr/lib version?
Is there any way to find out?
Offline
pacman -Qo /lib/libstdc++.so.6
Give what you have. To someone, it may be better than you dare to think.
Offline
I just did it and got: "error: No package owns /lib/libstdc++.so.6"
Not really sure how I got to be in this situation.
Offline
I just did it and got: "error: No package owns /lib/libstdc++.so.6"
Not really sure how I got to be in this situation.
delete it
Give what you have. To someone, it may be better than you dare to think.
Offline
But firefox still uses the one in that location. How do I make it use the /usr/lib one instead?
Offline
But firefox still uses the one in that location. How do I make it use the /usr/lib one instead?
it used that because it found it first.
Give what you have. To someone, it may be better than you dare to think.
Offline