Building and linking shared libaries for multiple differentversions of UNIX

Alexandre Oliva oliva at lsd.ic.unicamp.br
Wed May 16 16:43:21 GMT 2001


On May 16, 2001, Richard Sharpe <sharpe at ns.aus.com> wrote:

> At 08:19 AM 5/16/01 -0400, David Collier-Brown wrote:
>> Richard Sharpe wrote:

>>> 2. Can I get away with defining something like SOLDFLAGS, and simply pass
>>> that to $(LD)?
>> 
>> Yes, for Solaris and Linux.

> OK, but when it comes to installing the shared library, it seems that I
> have to copy the library as libsmbclient.so.1.0 or something like that.

It's ok to create and install the library as libsmbclient.so.  This is
a reasonable thing to do for modules, in which there are not
binary-compatibility issues to care about to justify versioning.

-- 
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