linking problems with heimdal in base (ports version works)

Brian Fundakowski Feldman green at freebsd.org
Mon Oct 17 15:18:58 PDT 2005


On Sun, Oct 16, 2005 at 09:04:58PM +0400, Igor Pokrovsky wrote:
> On Sun, Oct 16, 2005 at 06:35:51PM +0200, Michael Nottebrock wrote:
> > On Sunday, 16. October 2005 09:06, Igor Pokrovsky wrote:
> > > On Fri, Oct 14, 2005 at 09:49:51PM +0200, Michael Nottebrock wrote:
> > > > On Friday, 14. October 2005 21:11, Igor Pokrovsky wrote:
> > > > > > Still, isn't it strange that the kerberos libs don't have any
> > > > > > dependencies registered? A quick check shows that they are almost the
> > > > > > only libs in /usr/lib that have zero output from ldd.
> > > > >
> > > > > Probably they are statically linked.
> > > >
> > > > No, static libraries don't come with an .so extension. :-)
> > >
> > > No, you missed my point. I mean that kerberos libs are dynamic but
> > > linked against other libraries statically.
> > 
> > If they were, there would be no problem in the first place.
> 
> Sorry, it seems I missed a part of the thread.

Either the ports that use libkrb5 must know its dependencies or they
must be encoded in the shared library's header as dependencies.  I vote
for #1 because it's too late for #2.  See previous post about how to
solve this.

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green at FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\


More information about the freebsd-stable mailing list