configure error for bind-9.20.1

Ondřej Surý ondrej at isc.org
Mon Sep 16 12:21:02 UTC 2024


> gcc: warning: /usr/local/include: linker input file unused because linking not done
> configure:18448: $? = 0
> configure:18450: checking whether -latomic is needed for 64-bit stdatomic.h functions
> configure:18464: gcc -o conftest -g -O2 /usr/local/include   conftest.c  /usr/local/lib >&5
> /usr/bin/ld: error: /usr/local/include: read: Is a directory

The error is right there all over the build log.

> | #define PACKAGE_CONFIGARGS " '--prefix=/usr/local/bind/chroot' '--localstatedir=/var' '--sysconfdir=/etc' '--with-openssl' '--enable-c
> hroot' 'LIBURCU_CFLAGS=/usr/local/include' 'LIBURCU_LIBS=/usr/local/lib'"

When I asked you to provide how you run the ./configure, I asked for a reason.
Fortunately, it's at least in the config.log...

Your ./configure invocation is wrong, LIBURCU_CFLAGS and LIBURCU_LIBS
need to be correct CFLAGS and LIBS, but you should be setting PKG_CONFIG_PATH
instead.


However, my recommendation would be to use the prepackaged RPMs for RHEL 9
provided by ISC.

Ondrej
--
Ondřej Surý (He/Him)
ondrej at isc.org

My working hours and your working hours may be different. Please do not feel obligated to reply outside your normal working hours.



More information about the bind-users mailing list