You are not logged in.
Pages: 1
Hi,
After the today update of cmake it seems to be broken.
I'm trying to compile ktorrent and I get this problem early in the building process:
==> Entrata nell'ambiente di fakeroot in corso...
==> Avvio di build() in corso...
patching file plugins/webinterface/httpserver.cpp
Hunk #1 succeeded at 30 with fuzz 1 (offset 1 line).
cmake: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by cmake)
make: *** No targets specified and no makefile found. Stop.
==> ERRORE: Compilazione interrotta.
L'operazione sta per essere interrotta...
[hades@artemis ktorrent]$
What's happening?
Offline
I'm getting the same error (albeit in english)
==> Starting make...
cmake: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by cmake)
make: *** No targets specified and no makefile found. Stop.
==> ERROR: Build Failed.
Aborting...
I read that adding the -fpermisisve parameter to CXXFLAGS was supposed to fix it, but it dodn't work.
Last edited by ZombieBear (2009-05-04 11:37:10)
Offline
Same problem here (x86_64), evenfor doing "cmake .." .
Why this things always hapens when a guy is in a deadline?
Last edited by csousa (2009-05-04 13:00:57)
Offline
When gcc-4.4 moves to [core] all will be fixed. It appears that some c++ binaries built with gcc-4.4 are not compatible with earlier versions. Rebuilding from ABS should fix the problem in the meantime.
Offline
I can confirm this problem and will fix this very soon. It seems we have a compatibility issue with binaries that were build with gcc-4.4 but run with gcc-libs-4.3.
I did not notice this because I was using [testing].
Offline
Thank you very much Pierre
In the meanwhile i'll use the previous cmake package.
Offline
I'm still getting this error and I'm completely up to date. Do I need to ln something?
Edit:
This is what i get:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/cc1plus: /lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/libgmpxx.so.4)
Last edited by virati (2009-05-25 21:55:50)
Offline
Are you sure you are completely up to date? gcc-libc-4.4.0-2 is the current package.
Offline
Are you sure you are completely up to date? gcc-libc-4.4.0-2 is the current package.
Yep, completely up to date. I reverted back to old version of glibc, gcc, binutils, etc to what I had 2 days ago and things were compiling fine.
After re-updating with -Syu I was back in the same situation. I couldn't even compile a simple Hello World program without getting an error involving GLIBCXX_3.4.11:
g++ -g -c main2.cpp -o main2.o
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/cc1plus: /lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/libgmpxx.so.4)
make: *** [main2.o] Error 1
zsh: exit 2 make
with gcc 4.4.0-2. I thought maybe having gcc34 or lib32-glibc could be interfering but after removing them I was in the same situation.
edit: gcc-libc should be at 4.4.0-2 or gcc should be at 4.4.0-2? My glibc is at 2.10.1-2 which is what's in core.
Last edited by virati (2009-05-26 02:18:21)
Offline
gcc-libs should be at 4.4.0. If it is and you are still getting that error, then I really have no idea what the cause is...
Offline
gcc-libs should be at 4.4.0. If it is and you are still getting that error, then I really have no idea what the cause is...
Yep it is. I've been trying to find out what's wrong for a bit now. Any suggestions on a smarter starting place?
Edit:
If i revert just gmp back to 4.2.4-1 the error goes away for compiling my own programs.
However, trying to run spring still results in
spring: /lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by spring)
zsh: exit 1 spring
and when i try pacman -Qo on /lib/libstdc++ it says it isn't owned by any package. Is that supposed to be so?
Last edited by virati (2009-05-26 02:32:29)
Offline
Problem Solved:
For some reason I had a libstdc++.so.6 in my /lib folder. Removing that solved the problem. I'm assuming I manually (read: stupidly) put that in /lib and constantly forced gcc to reference that old libstdc++ everytime there was a call to it. Thanks for the help.
Offline
I'm assuming I manually (read: stupidly) put that in /lib
I have a hard time picturing this ... :-)
Offline
Offline
I don't know since when, but I cannot build anything with cmake (I think since about a week). One message bugs me:
CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:84 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/christian/.kde4/share/apps;/usr/share/apps;/opt/kde/share/apps
And "FindKDE4Internal.cmake" isn't there. I reinstalled cmake, but that didn't do it. I'm using gcc 4.4.0-3 and kdemod. If it can be a problem of kdemod, please tell me.
Offline
I still get the same error and cannot compile any apps.
im running i686 with kdemod 4.2.4
Offline
You do know you're resurrecting an old thread ?
Please open a new one describing your problem..
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Pages: 1