[gnutls-dev] Re: gnutls's sonames

Werner Koch wk at gnupg.org
Fri Mar 11 20:05:01 CET 2005


On Thu, 10 Mar 2005 18:29:28 -0600, Tim Ringenbach said:

> If I understand things right, that causes you to end up with a
> filename of libgnutls.so.12.1.25 and an soname of libgnutls.so.12
> When ldconfig is run, it makes a symlink from the actual filename
> (libgnutls.so.12.1.25) to the soname (libgnutls.so.12).

Correct (for glibc based systems).

> Mike Hearn wrote an (unfinished) article on writing shared libraries,
> you can find it at: http://navi.cx/~mike/writing-shared-libraries.html

Every author of a shared library should have read Ulrich Drepper's
paper in this:

  http://people.redhat.com/drepper/dsohowto.pdf

and if time permits:

  http://people.redhat.com/drepper/goodpractice.pdf


Although they concentrate on GNU/Linux the general things are valid
for all systems.


Shalom-Salam,

   Werner





More information about the Gnutls-devel mailing list