Attitude Adjustment doesn't build "bind"

Hello,

I'm trying to build an image for my custom hardware and I need a full version of nslookup, which the one of busybox is to simple and does not work well for IPv6.

I'm trying to build the dnslookup from bind, but the build always fails saying that dependency libcrypto.so.1.0.0 is missing, which should be false because I have libopenssl being compiled and I have ssh working.

/package/feeds/packages/bind/compile.txt:Package bind-libs is missing dependencies for the following libraries: /openwrt/logs/package/feeds/packages/bind/compile.txt:libcrypto.so.1.0.0

recipe for target packages/bind-libs_9.7.2-P3-1_nova_mips.ipk' failed

Can you help me troubleshoot?

Best Regards,

César

Attitude Adjustment is from 2013 and long EOL and unmaintained. You should upgrade!

2 Likes

I really need it in this version, has anybody been sucessfull in building it?

I very very much doubt it. As already pointed out, Barrier Breaker was obsolete many years ago, so large numbers of libraries and packages will also be way out of date.

The fact you're trying to build BIND 9.7.2 P3 fills me with horror. There have been 109 CVEs for bind9 since that version was released in 2010. Goodness knows how many there are in the libraries or depends on.

This is not a version you should be using, in any way whatsoever.

I was able to compile fetcth and compile Bind 9.9.5-P1 but although the package is selected in menuconfig the binaries are not going to the root file system (they exist and work, I'm only interested on nslookup). Can you help me figure out what the necessary changes on Makefile are needed for that?

I installed the package through scripts/feeds and selected bind-host [*] on menuconfig.

Best Regards,

What are the specifications of your custom hardware?

Create a new subpackage (e.g. bind-nslookup) and create similar sections to one of the existing ones (e.g. bind-client). Just search for all occurrences of bind-client and create similar sections.

The sections could look something like this (NB: Completely untested):

define Package/bind-nslookup
  $(call Package/bind/Default)
  TITLE+= NSLookup Tool
endef

define Package/bind-nslookup/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/nslookup $(1)/usr/bin/
endef

$(eval $(call BuildPackage,bind-nslookup))
2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.