Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2007 20:54:23 +0200
From:      "Herbert J. Skuhra" <h.skuhra@gmail.com>
To:        Noah <admin2@enabled.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: subversion doesnt build: /usr/bin/ld: cannot find -lgssapi_krb5
Message-ID:  <20070812185423.GA34790@oslo.ath.cx>
In-Reply-To: <46BF0050.1080208@enabled.com>
References:  <46BE693F.4000808@enabled.com> <20070812102902.GA59220@oslo.ath.cx> <46BF0050.1080208@enabled.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 12, 2007 at 05:42:56AM -0700, Noah wrote:
> 
> 
> Herbert J. Skuhra wrote:
>> Noah <admin2@enabled.com> wrote:
>>> Hi,
>>> 
>>> subversion doesnt build: /usr/bin/ld: cannot find -lgssapi_krb5
>>> any clues why the gssapi_krb5 is not found.  where shall I find the 
>>> gssapi_krb5 library?  Shall I use the library from the linux 
>>> compatibility dirs?
>> security/krb5
>> I don't have libgssapi_krb5.so, but devel/subversion built fine.
> 
> 
> 
> thanks Herbert,
> 
> what switches are you using at build time.  I added the following to me 
> /etc/make.conf
> 
> 
> WITH_MOD_DAV_SVN=yes
> WITH_REPOSITORY_CREATION=yes

You have propably built www/neon when security/krb5 was installed on
your system and later removed the krb5 port. 

I assume "neon-config --libs" still returns 

-L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lneon
-lintl -lssl -lcrypto -lz -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib
-O2 -fno-strict-aliasing -pipe -march=pentium4 -lgssapi_krb5 -lkrb5
-lk5crypto -lcom_err -lexpat

on your system although libgssapi_krb5.so does no longer exist.

On my system "neon-config --libs" returns:

-L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lneon
-lintl -lssl -lcrypto -lz -L/usr/lib -lgssapi -lkrb5 -lasn1 -lcrypto
-lroken -lcrypt -lcom_err -lexpat

You either have to rebuild www/neon or re-install security/krb5.

-Herbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070812185423.GA34790>