Re: Using shared libraries?

2003-02-05 Thread Jelmer Vernooij
On Wed, Feb 05, 2003 at 06:54:27AM -0500, Ken Cross wrote about 'Using shared 
libraries?':
 Maybe a dumb question, but...

 libsmbclient.so is being built in bin, but nothing seems to be linking
 to it.  I tried make installclientlib, which installed it, but no
 change.

 Is there some trick to get it to be used?  (NetBSD with SAMBA_3_0)

libsmbclient is a library that can be used by 3rd party GPL'ed
software, samba doesn't use it internally.

Jelmer

-- 
Jelmer Vernooij [EMAIL PROTECTED] - http://nl.linux.org/~jelmer/
 13:21:45 up 1 day, 15:15,  3 users,  load average: 0.24, 0.54, 0.80



Re: Using shared libraries?

2003-02-05 Thread Richard Sharpe
On Wed, 5 Feb 2003, Jelmer Vernooij wrote:

 On Wed, Feb 05, 2003 at 06:54:27AM -0500, Ken Cross wrote about 'Using shared 
libraries?':
  Maybe a dumb question, but...
 
  libsmbclient.so is being built in bin, but nothing seems to be linking
  to it.  I tried make installclientlib, which installed it, but no
  change.
 
  Is there some trick to get it to be used?  (NetBSD with SAMBA_3_0)
 
 libsmbclient is a library that can be used by 3rd party GPL'ed
 software, samba doesn't use it internally.

Well, yes, but ... libsmbclient contains so much also needed by Samba, 
that you can link against libsmbclient.so and save lots of space.

The question remains, how to do it on NetBSD?

Regards
-
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com




RE: Using shared libraries?

2003-02-05 Thread Ken Cross
Pretty standard:  -l smbclient

You may need -L libdir if not standard

Ken


-Original Message-
From: Richard Sharpe [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 05, 2003 11:26 AM
To: Jelmer Vernooij
Cc: Ken Cross; 'Multiple recipients of list SAMBA-TECHNICAL'
Subject: Re: Using shared libraries?


On Wed, 5 Feb 2003, Jelmer Vernooij wrote:

 On Wed, Feb 05, 2003 at 06:54:27AM -0500, Ken Cross wrote about 'Using

 shared libraries?':
  Maybe a dumb question, but...
 
  libsmbclient.so is being built in bin, but nothing seems to be 
  linking to it.  I tried make installclientlib, which installed it,

  but no change.
 
  Is there some trick to get it to be used?  (NetBSD with SAMBA_3_0)
 
 libsmbclient is a library that can be used by 3rd party GPL'ed 
 software, samba doesn't use it internally.

Well, yes, but ... libsmbclient contains so much also needed by Samba, 
that you can link against libsmbclient.so and save lots of space.

The question remains, how to do it on NetBSD?

Regards
-
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com




RE: Using shared libraries?

2003-02-05 Thread Richard Sharpe
On Wed, 5 Feb 2003, Ken Cross wrote:

 Pretty standard:  -l smbclient
 
 You may need -L libdir if not standard

OK, so I am confused right now. Weren't you the one that asked about this 
in the first place?

Regards
-
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com




RE: Using shared libraries?

2003-02-05 Thread Ken Cross
Sure, but my original question (which was answered) was whether Samba
used it.  Apparently not.

Ken


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
On Behalf Of Richard Sharpe
Sent: Wednesday, February 05, 2003 12:50 PM
To: Ken Cross
Cc: 'Ken Cross'; 'Jelmer Vernooij'; 'Multiple recipients of list
SAMBA-TECHNICAL'
Subject: RE: Using shared libraries?


On Wed, 5 Feb 2003, Ken Cross wrote:

 Pretty standard:  -l smbclient
 
 You may need -L libdir if not standard

OK, so I am confused right now. Weren't you the one that asked about
this 
in the first place?

Regards
-
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com




RE: Using shared libraries?

2003-02-05 Thread Richard Sharpe
On Wed, 5 Feb 2003, Ken Cross wrote:

 Sure, but my original question (which was answered) was whether Samba
 used it.  Apparently not.

Herb Huston committed some patches last week to at least head I think to 
link Samba with libsmbclient, because someone else asked about this.

Herb observed quite a saving in image size.

Regards
-
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com