[nSLUG] Help? libstdc++ question/confusion

Rich budman85 at eastlink.ca
Wed Jan 14 11:20:36 AST 2009



Dop Ganger wrote:
> On Wed, 14 Jan 2009, Mike Spencer wrote:
>
>   
>
> libc is the C library. libc++ is the C++ library. There's also libm in the 
> same family, which is the maths library. Naming appears to be up to the 
> developer, leading to whimsy such as libiberty - during compilation the 
> leading "lib" is stripped from the name, so it may be referenced to as 
> "-liberty" (cue groan). The library itself is named by its full version, 
> then it's symlinked to the major version it's compatible with (eg I have 
> /lib/libbz2.so.1.0.4 which has libbz2.so.1 and libbz2.so.1.0 symlinked to 
> it). Applications are compiled against major and minor versions, eg:
>
> dop at tbox:/bin$ ldd bzip2
>          linux-gate.so.1 =>  (0xb7f61000)
>          libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb7f38000)
>          libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7de9000)
>          /lib/ld-linux.so.2 (0xb7f62000)
> dop at tbox:/bin$
>
> The other option is to set up a chroot with the libraries from the old 
> system copied across en masse. I suspect at some point you're going to 
> have to do this if you want to keep on running an older version of 
> Netscape.
>
>   
Hi

I ran into some issue with older apps I compiled in prior versions of 
Slackware.
Do you think it may be due to the upgraded gcc compiler in 12.1?

Recompiling the apps under 12.1 often solved the segfaults I was getting.



Rich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nslug.ns.ca/mailman/private/nslug/attachments/20090114/76fd8553/attachment-0001.html>


More information about the nSLUG mailing list