Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 2010 12:05:19 +0100
From:      Erik Norgaard <norgaard@locolomo.org>
To:        questions@freebsd.org
Subject:   static build of usr.bin/host fails to link
Message-ID:  <4B8507EF.9070902@locolomo.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B8507EF.9070902>