Unix Programming - libXYZ.so.N

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > March 2004 > libXYZ.so.N





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author libXYZ.so.N
Vu Pham

2004-03-27, 9:34 am

What is the meaning of the N in the name of a shared lib ?

For example, I run ldd on an app and it shows
libstdc++.so.5 => not found
libm.so.6 => /lib/libm.so.6 (0x4005c000)
libgcc_s.so.1 => not found
libpthread.so.0 => /lib/libpthread.so.0 (0x4007e000)
libc.so.6 => /lib/libc.so.6 (0x40095000)
libcrypto.so.4 => /lib/libcrypto.so.4 (0x401cb000)

Most of this files are symbolic lniks to the real shared files. Why do they
use different .N ?

Thanks,

Vu


Paul Pluzhnikov

2004-03-27, 10:34 am

"Vu Pham" <vu@sivell.com> writes:

> What is the meaning of the N in the name of a shared lib ?


Short answer: it's a version number.

Longer answer: read about 'External Versioning' in the Sun Linker
and Libraries Guide:

http://docs.sun.com/db/doc/806-0641/6j9vuqujh?a=view

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
Vu Pham

2004-03-28, 11:35 am


"Paul Pluzhnikov" <ppluzhnikov-nsp@charter.net> wrote in message
news:m3smfu8g1o.fsf@salmon.parasoft.com...
> "Vu Pham" <vu@sivell.com> writes:
>
>
> Short answer: it's a version number.
>
> Longer answer: read about 'External Versioning' in the Sun Linker
> and Libraries Guide:
>
> http://docs.sun.com/db/doc/806-0641/6j9vuqujh?a=view
>
> Cheers,


Thanks, that helps me.

Vu


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com