Building and linking shared libaries for multiple differentversionsof UNIX
Alexandre Oliva
oliva at lsd.ic.unicamp.br
Thu May 17 19:03:57 GMT 2001
On May 16, 2001, David Collier-Brown <davecb at canada.sun.com> wrote:
> Steve Langasek wrote:
>> I don't believe that libsmbclient would be considered a module here; it's a
>> shared library which exports an ABI that will be used by third-party
>> applications.
> I'd version it, using a two-part number like
> libsmbclient.so -> libsmbclient.so.1.1, and
> increment the last digit when you add (but
> do not remove/change) interfaces.
This makes it more difficult to create the library portably. On most
ELF systems, you'd have to pass the option `-h' or `-soname' naming
libsmbclient.so.MAJOR as the major version number, so that version be
used beneficially.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the samba-technical
mailing list