knot-dns 3.2.11 make error
I met an error when compiling knot-dns. After running "./configure", i got:
Prefix: /usr/local
Run dir: ${prefix}/var/run/knot
Storage dir: ${prefix}/var/lib/knot
Config dir: ${prefix}/etc/knot
Module dir:
Static modules: cookies dnsproxy geoip noudp onlinesign probe queryacl rrl stats synthrecord whoami
Shared modules:
Knot DNS libraries: yes
Knot DNS daemon: yes
Knot DNS utilities: yes
Knot DNS documentation: yes
Use recvmmsg: yes
Use SO_REUSEPORT(_LB): yes
XDP support: libxdp
DoQ support: no
Socket polling: epoll
Atomic support: C11
Memory allocator: auto
Fast zone parser: yes
Utilities with IDN: no
Utilities with DoH: no
Utilities with Dnstap: no
MaxMind DB support: no
Systemd integration: no
POSIX capabilities: yes
PKCS #11 support: no
Ed25519 support: yes
Ed448 support: yes
Reproducible signing: no
Code coverage: no
Sanitizer: no
LibFuzzer: no
OSS-Fuzz: no
It looks well. But when running "make", i got an error:
copying selected object files to avoid basename conflicts...
CCLD kdig
/usr/bin/ld: error: /usr/local/lib: read: Is a directory
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:3821: kdig] Error 1
make[3]: Leaving directory '/apps/svr/knot-dns-master/src'
make[2]: *** [Makefile:7040: all-recursive] Error 1
make[2]: Leaving directory '/apps/svr/knot-dns-master/src'
make[1]: *** [Makefile:2458: all] Error 2
make[1]: Leaving directory '/apps/svr/knot-dns-master/src'
make: *** [Makefile:495: all-recursive] Error 1
I want to know how to fix that?
Additionally, when configuring, i received several messages like:
gcc: warning: /usr/local/lib: linker input file unused because linking not done
I'm not sure if it's related to my problem.