Building and linking shared libaries for multiple differentversions
of UNIX
Steve Langasek
vorlon at netexpress.net
Wed May 16 16:59:09 GMT 2001
On 16 May 2001, Alexandre Oliva wrote:
> 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.
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.
Steve Langasek
postmodern programmer
More information about the samba-technical
mailing list