From owner-freebsd-ports@FreeBSD.ORG Sun Jun 19 07:31:27 2011 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6DAC106564A; Sun, 19 Jun 2011 07:31:27 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from spartan.hamla.org (spartan.hamla.org [206.251.255.30]) by mx1.freebsd.org (Postfix) with ESMTP id 87BD08FC13; Sun, 19 Jun 2011 07:31:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by spartan.hamla.org (Postfix) with ESMTP id 66290170F9; Sun, 19 Jun 2011 03:15:50 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:reply-to:message-id :subject:subject:from:from:date:date:received; s=aegis; t= 1308467750; bh=svwbUq1kuExS5gTaxyE6c0vY79H8vvKeHWJc+INy73U=; b=E OSpV/gOiLrS4YEE2Tmp/+S4Yu9OFrtiuaOZLbQuYnQzwKO+RIVPctptdeEFVPQFh ap0y96+QOGTmbzpuiactYU5MFXYd0QeI2tYyat4lHdTc1qDR4weDOmosMd919AZx wiCW6jYxXfVcjjUTPxoVe8PbQRn37xXLQMVZcuEnGU= X-Virus-Scanned: by ClamAV at spartan.hamla.org Received: from spartan.hamla.org ([127.0.0.1]) by localhost (spartan.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id yijvC9oRsvQJ; Sun, 19 Jun 2011 03:15:50 -0400 (EDT) Date: Sun, 19 Jun 2011 03:15:46 -0400 From: Sahil Tandon To: Pierre PEYRONNEL Message-ID: <20110619071546.GD21579@magic.hamla.org> References: <3535BDAF-0161-4F5D-BF64-4208F87CB401@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3535BDAF-0161-4F5D-BF64-4208F87CB401@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: ports@FreeBSD.org, mandree@FreeBSD.org Subject: Re: FreeBSD Port: dnsmasq-2.57_3,1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sahil Tandon List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2011 07:31:27 -0000 On Sat, 2011-06-18 at 22:37:36 +0200, Pierre PEYRONNEL wrote: > i'm trying to install on my FreeNAS 8.0 system (based on FreeBDS 8.2) > the dnsmasq package as described on this page : > http://www.FreeBSD.org/cgi/ports.cgi?query=dnsmasq&stype=all > > where it says it needs libidn-1.19 > > but once installed (with pkg_add -r dnsmasq), i get the following : > > [root@freenas /usr/local/sbin]# ./dnsmasq /libexec/ld-elf.so.1: Shared > object "libidn.so.16" not found, required by "dnsmasq" > > - why isn't it linked with libidn.so ? i'm thinking it would prevent > the version issue with this lib. pkg_add(1) fetched an older package of dnsmasq which, in turn, had been linked against the older libidn library. This is expected behavior if you are running -RELEASE, as documented in the FreeBSD Handbook (4.4.1 Installing a Package): Note: pkg_add(1) will download the latest version of your application if you are using FreeBSD-CURRENT or FreeBSD-STABLE. If you run a -RELEASE version, it will grab the version of the package that was built with your release. It is possible to change this behavior by overriding PACKAGESITE. For example, if you run a FreeBSD 8.1-RELEASE system, by default pkg_add(1) will try to fetch packages from ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/. If you want to force pkg_add(1) to download FreeBSD 8-STABLE packages, set PACKAGESITE to ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Latest/. > - can this be fixed in ports ? (or will i need to install a full > FreeBSD 8.2 and recompile it with the libidn version i need ?) There is no problem to be fixed; either compile the dnsmasq port yourself, or fetch a -STABLE package. -- Sahil Tandon