Building and linking shared libaries for multiple
differentversions of UNIX
sharpe at ns.aus.com
Wed May 16 14:04:07 GMT 2001
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.
Later ldconfig will create a link from libsmbclient.so.1 to the name above,
but for any linking with that library to work, it seems that I also need a
link from libsmbclien.so to libsmbclient.so.1 ...
But this extra step can only be done after ldconfig has run and created the
link from the soname to the real name ...
Richard Sharpe, sharpe at ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba
More information about the samba-technical