Skip Menu |
 

From: "小 贤" <fairyamanada@hotmail.com>
To: "krb5-bugs@mit.edu" <krb5-bugs@mit.edu>
Date: Sun, 27 Dec 2020 06:27:04 +0000
Subject: counting error while building the krb5 project
Hi
I have compiled the krb5 source code.
I have counted an error when I exec make command.
I have check the error and found that the 'libkrb5support.so.0.1' file is not in the lib folder, it is in the util/support folder.
But the makefile ask to find it in the lib directory.
and there are many files errors like this.

How can I fix this issue?


Download image.png
image/png 274KiB

Image displayed inline above

From: ghudson@mit.edu
Subject: git commit

Fix all-liblinks when symlinks are unsupported

After building libraries, we make links to a central directory so that
programs and other libraries can be built against them. These links
were changed from symlinks to hard links by commit
24311fa2b4b95597695560144313debe0211e968, and were reverted to
symlinks by commit 6e0bfbc787509dbaac4947a76e07a2bd6ba7956d.

As part of the first commit, the links to .so and .so.X were made
within the central directory instead of directly to the library build
directory. However, the dependencies were not updated to ensure that
the link target is created before the link, so when $(LN_S) is "cp
-pR" and not "ln -s", the build steps could be executed out of order
and fail. This part of the first commit was not reverted in the
second commit. Revert it now so that the dependencies match the
links.

https://github.com/krb5/krb5/commit/fe2a9b6254e86a761dd7f79671ee0fc8a754edcd
Author: Greg Hudson <ghudson@mit.edu>
Commit: fe2a9b6254e86a761dd7f79671ee0fc8a754edcd
Branch: master
src/config/lib.in | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)