subversion doesnt build: /usr/bin/ld: cannot find -lgssapi_krb5

Herbert J. Skuhra h.skuhra at gmail.com
Sun Aug 12 11:54:24 PDT 2007


On Sun, Aug 12, 2007 at 05:42:56AM -0700, Noah wrote:
> 
> 
> Herbert J. Skuhra wrote:
>> Noah <admin2 at 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


More information about the freebsd-questions mailing list