Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-23-2002, 02:13 AM   #1
LQ Newbie
Registered: May 2002
Posts: 2

Rep: Reputation: 0
libstdc++ and glibc 2.2.5

i use debian 2.2r6. i installed the base system off the hard drive and then everything in the first cd.
i compiled the 2.4.18 kernel and installed glibc 2.2.5 and gcc 3.1.

so now i wanna install qt 3.0.4 for kde 3 and after almost two hours of doing make, it crashes saying it can't find ""

i searched all of /usr and seems i have this: "libstdc++-3-libc6.1-2-2.10.0"
i know nearly nothing about shared libraries and all that stuff, but that file (elf stripped according to 'file') seems to be linked in some way to the old glibc instalation i had (1.2.10, came with debian) instead of the new one. oh and compiling licq make crashed too saying it couldn't find libstdc++.

this makes me think there's something else left unlinked to the new glibc... isn't there a command that does this?
maybe something about ldconfig or ln...

help anyone?

Old 05-24-2002, 04:34 AM   #2
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
I have glibc 2.2.4 on my system and when I look for those files it gives me the following output:

$ ls -l /usr/lib/libstd*so*
-r-xr-xr-x 1 root root 379842 Feb 18 16:54 /usr/lib/libstdc++-3-lib
lrwxrwxrwx 1 root root 31 Feb 18 04:23 /usr/lib/libstdc++-libc6 ->

Running ldconfig will create the links to the most recent library. But according to what you wrote you've only got the 1-2 version. The 2.2 version should be present in the version of glibc that you installed. Maybe you should try installing it again. Or did you install glibc to a different location?
Old 05-24-2002, 11:06 AM   #3
LQ Newbie
Registered: May 2002
Posts: 2

Original Poster
Rep: Reputation: 0
i compiled gcc 3.1 again... looks like it was glibc that i need to recompile...

anyway i kind of gave up on debian and started installing LFS; it's been all smooth so far but now i can't compile ncurses-5.2 (i got the package out of the lfs ftp)
i'm using gcc 3.1, not 2.9.5 as in lfs, i hope it doesn't have anything to do with it...

can you make anything out of this?

make[1]: Entering directory `/src/n/ncurses-5.2/c++'
cd ../obj_s; c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -DNDEBUG -I. -I../include -O2 -fPIC -c ../c++/
In file included from /usr/include/g++-v3/backward/strstream:51,
from /usr/include/g++-v3/backward/strstream.h:33,
from ../c++/cursesw.h:17,
from ../c++/

/usr/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
../c++/ In member function `int NCursesWindow::scanw(const char*,
../c++/ no matching function for call to `std::strstreambuf::
vscan(const char*&, char*&)'
../c++/ In member function `int NCursesWindow::scanw(int, int, const
char*, ...)':
../c++/ no matching function for call to `std::strstreambuf::
vscan(const char*&, char*&)'
make[1]: *** [../obj_s/cursesw.o] Error 1
make[1]: Leaving directory `/src/n/ncurses-5.2/c++'
make: *** [all] Error 2


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
FC4 doesn't have but baosheng Fedora 14 04-06-2008 10:08 AM
glibc and LinxNew Mandriva 2 05-22-2005 04:47 PM
Replacing glibc using linuxthreads for glibc using nptl (native positx thread library CestusGW Linux From Scratch 4 01-20-2005 07:26 AM
mismatched rpm versions of libstdc++ and libstdc++-devel pcweirdo Linux - Software 8 11-29-2004 09:30 AM
upgradin glibc - celejar Debian 0 11-10-2004 10:59 PM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration