I was compiling Heimdal kerberos 1.4 on RHEL 5.6 and got the following error:
After some poking around, it appears that lib/otp/version-script.map 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 (http://www.h5l.org/), which links to http://www.h5l.org/dist/src/heimdal-1.4.tar.gz.
So, to fix the problem, you can download the missing file right from their git repo, here: https://github.com/heimdal/heimdal/raw/e3044663df2cfcafd5bf4e2ea6f2a1ba1503d8ea/lib/otp/version-script.map
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:
...and then you can go on with the configure, make, etc. to build it.
Edit:
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:
/usr/bin/ld: cannot open linker script file ./version-script.map: No such file or directory
After some poking around, it appears that lib/otp/version-script.map 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 (http://www.h5l.org/), which links to http://www.h5l.org/dist/src/heimdal-1.4.tar.gz.
So, to fix the problem, you can download the missing file right from their git repo, here: https://github.com/heimdal/heimdal/raw/e3044663df2cfcafd5bf4e2ea6f2a1ba1503d8ea/lib/otp/version-script.map
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:
wget http://www.h5l.org/dist/src/heimdal-1.4.tar.gz
tar xvf heimdal-1.4.tar.gz
wget --no-check-certificate https://github.com/heimdal/heimdal/raw/e3044663df2cfcafd5bf4e2ea6f2a1ba1503d8ea/lib/otp/version-script.map -P heimdal-1.4/lib/otp
...and then you can go on with the configure, make, etc. to build it.
Edit:
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
0 comments:
Post a Comment