[Nottingham] Problems compiling - libstdc++

Peter Aldred peter at aldred.org
Sun May 21 16:20:06 BST 2006


Hi there,

I've been having a problem compiling and was hoping someone might be able to 
throw some pointers my way!

I'm trying to compile the latest version of Amarok (I haven't been able to 
find a working rpm yet) and while installing some dependencies from cooker 
(not yet available in stable) I must have somehow borked my gcc.

Here's the error:

============
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 similar to libstdc++-dev.
============

I've been trying to track down the relevant package and install it but I'mm 
not getting very far.

Some potentially useful outputs:

============
[root at peter amarok-1.4.0]# rpm -qa | grep libstdc | sort
libstdc++2.10-2.96-0.83mdk
libstdc++2.10-devel-2.96-0.83mdk
libstdc++5-3.3.6-3mdk
libstdc++5-devel-3.3.6-3mdk
libstdc++6-4.1.1-1mdk
libstdc++6-devel-4.1.1-1mdk
libstdc++6-static-devel-4.1.1-1mdk
============
[root at peter amarok-1.4.0]# rpm -qa | grep gcc
gcc-c++-4.1.1-1mdk
gcc-4.1.1-1mdk
gcc-cpp-4.1.1-1mdk
libgcc1-4.1.1-1mdk
============
[root at peter amarok-1.4.0]# which gcc
/usr/bin/gcc
============
Output of 'slocate libstdc' trimmed to remove references in /usr/share/doc and 
the urpmi cache:

/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
/usr/lib/libstdc++.so.2.8
/usr/lib/libstdc++-libc6.1-1.so.2
/usr/lib/libstdc++.so.6
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/libstdc++.so
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/libstdc++.a
/usr/lib/libstdc++-libc6.2-2.so.3
/usr/lib/libstdc++.so.2.7.2
/usr/lib/libstdc++.so.2.7.2.8
/usr/lib/libstdc++.so.2.8.0
/usr/lib/libstdc++.so.2.9
/usr/lib/libstdc++.so.2.9.dummy
/usr/lib/libstdc++-3-libc6.2-2-2.10.0.a
/usr/lib/libstdc++.so.6.0.8
/usr/lib/libstdc++-libc6.2-2.a.3
/opt/openoffice.org2.0/program/libstdc++.so.6.1
/opt/openoffice.org2.0/program/libstdc++.so.6
============
[root at peter amarok-1.4.0]# uname -r
2.6.12-12mdk
============

System: Mandriva 2006, KDE 3.5.2

Any help or pointers much appreciated!
-- 
Pete



More information about the Nottingham mailing list