Building and linking shared libaries for multiple differentversions of UNIX

Steve Langasek vorlon at
Wed May 16 16:59:09 GMT 2001

On 16 May 2001, Alexandre Oliva wrote:

> On May 16, 2001, Richard Sharpe <sharpe at> 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 or something like that.

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

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

Steve Langasek
postmodern programmer

More information about the samba-technical mailing list