Building and linking shared libaries formultipledifferentversions of UNIX

David Collier-Brown davecb at canada.sun.com
Wed May 16 15:12:33 GMT 2001


Richard Sharpe wrote:
> >       Yes: This is really a convention, used to allow easy
> >       updates.  We create libFoo.so.93 and link it to libFoo.so
> >       When we upgrade, we leave 93 in place, add 94
> >       and link 94 to libFoo.so
> >
> >       If an existing program needs version libFoo.so.93, it can get it,
> >       but by default it just uses libFoo.so as the thing to link
> >       to.  Does that help?
> 
> OK, great explanation. What action do I need to take when I install
> libsmbclient.so.x.0?
> 
> Do I need to run ldconfig, and then create the link if it doesn't already
> exist?

	I think you do that in the opposite order, actually..
	ldconfig updates an in-memory table in older SunOSs
	(I don't have one on my Solaris 8 system).

--dave

-- 
David Collier-Brown,           | Always do right. This will gratify 
Performance & Engineering Team | some people and astonish the rest.
Americas Customer Engineering  |                      -- Mark Twain
(905) 415-2849                 | davecb at canada.sun.com




More information about the samba-technical mailing list