I cannot compile the port dns/bind-tools. I get this error two days ago after updating the ports tree and compile all stale ports. Yesterday I update again the ports tree and get same error. Today again after updating ports tree, so I think the ports tree is right (Makefile of the port).
The build give me this error. It seems that the port want libprotoc.so.29.4.0:
In the system the library libprotoc.so is at version libprotoc.so.29.5.0.
Currently in the system is installed the port dns/bind918 and it is stale too (need updating). The content of Makefile of the port dns/bind-tools is:
I need to change version of bind from dns/bind918 to dns/bind920? But the error does not seams related to bind version.
The build give me this error. It seems that the port want libprotoc.so.29.4.0:
Code:
...
libtool: link: (cd ".libs" && rm -f "libisc.so" && ln -s "libisc-9.20.10.so" "libisc.so")
libtool: link: ( cd ".libs" && rm -f "libisc.la" && ln -s "../libisc.la" "libisc.la" )
Making all in dns
cc -g -I. ./gen.c -o gen
mkdir -p include/dns
./gen -s . -c > include/dns/enumclass.h
mkdir -p include/dns
./gen -s . -t > include/dns/enumtype.h
mkdir -p include/dns
./gen -s . -i -P ./rdata/rdatastructpre.h -S ./rdata/rdatastructsuf.h > include/dns/rdatastruct.h
./gen -s . > code.h
/usr/local/bin/protoc-c --proto_path=. --c_out=. dnstap.proto
ld-elf.so.1: Shared object "libprotoc.so.29.4.0" not found, required by "protoc-c"
*** Error code 1
Stop.
make[4]: stopped in /usr/ports/dns/bind-tools/work/bind-9.20.10/lib/dns
*** Error code 1
Stop.
make[3]: stopped in /usr/ports/dns/bind-tools/work/bind-9.20.10/lib
*** Error code 1
Stop.
make[2]: stopped in /usr/ports/dns/bind-tools/work/bind-9.20.10/lib
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/dns/bind-tools/work/bind-9.20.10
*** Error code 1
Stop.
make: stopped in /usr/ports/dns/bind-tools/work/bind-9.20.10
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/dns/bind-tools
*** Error code 1
Stop.
make: stopped in /usr/ports/dns/bind-tools
In the system the library libprotoc.so is at version libprotoc.so.29.5.0.
Code:
# find /usr/local -name 'libprotoc.so*'
/usr/local/lib/libprotoc.so.29.5.0
/usr/local/lib/libprotoc.so
# ls /usr/local/lib/libprotoc.so
lrwxr-xr-x 1 root wheel 19 2025.07.05 11:28 /usr/local/lib/libprotoc.so -> libprotoc.so.29.5.0
# pkg which /usr/local/lib/libprotoc.so
/usr/local/lib/libprotoc.so was installed by package protobuf-29.5,1
# pkg query '%o' protobuf
devel/protobuf
Currently in the system is installed the port dns/bind918 and it is stale too (need updating). The content of Makefile of the port dns/bind-tools is:
Makefile:
# Define PORTREVISION in ${MASTERDIR}
.ifdef BIND_TOOLS_DEVEL
MASTERDIR= ${.CURDIR}/../../dns/bind9-devel
PLIST= ${.CURDIR}/pkg-plist-devel
.else
MASTERDIR= ${.CURDIR}/../../dns/bind920
PLIST= ${.CURDIR}/pkg-plist
.endif
DESCR= ${.CURDIR}/pkg-descr
BIND_TOOLS_SLAVE= YES
PORTSCOUT= ignore:1
.include "${MASTERDIR}/Makefile"
I need to change version of bind from dns/bind918 to dns/bind920? But the error does not seams related to bind version.