Re: Gcc libraries

2003-02-18 Thread Miloslav Trmac
On Tue, Feb 18, 2003 at 10:59:52PM +0530, Ajay Bansal wrote: > libstdc++.so -> libstdc++.so.4 or libstdc++.so -> libstdc++.so.5 > > But that is not the case on Linux. That *is* the case for most libraries, when compiling, so that you can only specify -lncurses. The generated binary requires l

RE: Gcc libraries

2003-02-18 Thread Ajay Bansal
Thanks everybody for inputs. Now I'll return to my original question. Linking by gcc is done in such a way that library names are stored with their version number intact. What I mean is that say I build a program test.cpp with gcc. On doing ldd, I get the following output, ldd ./a.out l

RE: Gcc libraries

2003-02-18 Thread John
On Tue, 18 Feb 2003, Ajay Bansal wrote: > Don't have man page for prelink oh. Did you look at your CD? [summer@hawk summer]$ rpm -qi prelink Name: prelink Relocations: (not relocateable) Version : 0.2.0 Vendor: Red Hat, Inc. Release

Re: Gcc libraries

2003-02-18 Thread Edward S. Marshall
On Tue, Feb 18, 2003 at 10:59:19AM +0530, Ajay Bansal wrote: > Don't have man page for prelink Then you need to install that package. :-) -- Edward S. Marshall <[EMAIL PROTECTED]> http://esm.logic.net/ Felix qui potuit rerum cognoscere causas. ___