From owner-freebsd-questions@FreeBSD.ORG Wed Feb 24 11:05:24 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29B73106564A for ; Wed, 24 Feb 2010 11:05:24 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id CF9BC8FC0A for ; Wed, 24 Feb 2010 11:05:23 +0000 (UTC) Received: from beta.1-16-172-dyn.locolomo.org (unknown [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id 353541C0847 for ; Wed, 24 Feb 2010 12:05:20 +0100 (CET) Message-ID: <4B8507EF.9070902@locolomo.org> Date: Wed, 24 Feb 2010 12:05:19 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: static build of usr.bin/host fails to link X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2010 11:05:24 -0000 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