static build of usr.bin/host fails to link

Erik Norgaard norgaard at locolomo.org
Wed Feb 24 11:05:24 UTC 2010


Hi:

I am trying to build a custom crunch file for pxeboot/jumpstart. I have 
taken the make files from rescue as a template adding the extras I need.

But I have problem linking usr.bin/host in the crunch file, I can't 
figure out what libraries to link with and include with CRUNCH_LIBS+=

on the system dynamically linked binary I tried,

ldd /usr/bin/host
/usr/bin/host:
	libcrypto.so.6 => /lib/libcrypto.so.6 (0x281f4000)
	libthr.so.3 => /lib/libthr.so.3 (0x28350000)
	libc.so.7 => /lib/libc.so.7 (0x28365000)

and looking in the source files doesn't help much either, I can't figure 
out how to specify libraries en contrib/bind9.

The make files I use are here:

   http://www.locolomo.org/pub/src/jumpstart.tgz

How do I build host statically?

Thanks, Erik
-- 
Erik Nørgaard
Ph: +34.666334818/+34.915211157                  http://www.locolomo.org


More information about the freebsd-questions mailing list