Wednesday, March 30, 2011

heimdal 1.4 missing lib/otp/

I was compiling Heimdal kerberos 1.4 on RHEL 5.6 and got the following error:

/usr/bin/ld: cannot open linker script file ./ No such file or directory

After some poking around, it appears that lib/otp/ is missing from the 1.4 source, which is weird since I downloaded it right from the big "Download 1.4" link from their website (, which links to

So, to fix the problem, you can download the missing file right from their git repo, here:

Just place it in heimdal-1.4/lib/otp, and you should be good to go.

So the whole process would look something like this:

tar xvf heimdal-1.4.tar.gz
wget --no-check-certificate -P heimdal-1.4/lib/otp

...and then you can go on with the configure, make, etc. to build it.

Of course if you don't care about OTP (one time password) support, you can just disable this altogether when compiling and not worry about the missing file. Just add the "--disable-otp" flag when running the configure command:

./configure --disable-otp


Post a Comment