View Full Version : libkrb5.a missing

May 22nd, 2011, 11:39 PM
Hello dear Community.

I have a big problem. I try to build amanda 2.5.0 from source with :

--with-krb5-security. kerberos 5 is installed and working, but when i try to ./configure my amanda-server with the said option above it says:


checking for Kerberos and Amanda kerberos4 bits... no
checking for Kerberos V... no krb5 system libraries found


So i googled a bit and found out that amanda needs the libkrb5.a . So i went on a journey to find this little fucker, but till now to no success.
Google isnt so helpfull ...

Any ideas? I would appreciate them big time. thanks


May 23rd, 2011, 03:39 AM
Hello again.

I just found the missing file.

So that you know, you need to install the krb5-devel package too.

But now i have a new issue. Security related we dont want to have too much packages on our server/clients. So i thought, how about making a own rpm-pakage with my --with-krb5-security option allready implemented.

But when i try to compile the sources after the /configure it fails with:
#a lot of code##
krb5-security.c: In function 'net_writeev':
krb5-security.c:1990: error: invalid lvalue in assignment
make[1]: ***[krb5-security.lo] Fehler 1
make[1]: Leaving directory 'amanda_source/2_5_0/common_src'

make: *** [all-recursive] Fehler 1

I looked inside the krb5-security.c and on the line 1990:

1988: /* subtract from this iovec */
1989: iov->iov_len -= delta;
1990: (char *)iov->iov_base += delta;
so on this line it breaks and exits the make process..

anyone with good c understanding? or someone allready had this error?

I just forgot: Maybe it's interesting what versions i use:


amanda isn't installed, but it will be version 2.5.0.

i would really appreciate it.

May 24th, 2011, 04:23 AM
You should try to install a newer release, or check how it is fixed in newer release before asking for help.

In newer release we do: iov->iov_base = (char *)iov->iov_base + delta;

May 24th, 2011, 04:39 AM
Well. Sadly i'm not allowed to use a newer release. It has something to to with stabilty and high-availability. I shall only use the CentOS 5.6 available packages.
But thanks for the advice. I'll try chaning the .c file