From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DDABF138835 for ; Sun, 3 Feb 2013 21:44:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE76121C09D; Sun, 3 Feb 2013 21:44:14 +0000 (UTC) Received: from mail-ob0-f171.google.com (mail-ob0-f171.google.com [209.85.214.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 236FA21C04D for ; Sun, 3 Feb 2013 21:44:12 +0000 (UTC) Received: by mail-ob0-f171.google.com with SMTP id lz20so5742013obb.2 for ; Sun, 03 Feb 2013 13:44:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=flrGBijZRKdBddYVf2HQsNotYx4PZPt8XaU2bNvjIMY=; b=RyYsf6ck8gaejraXUwrSaoPs4USQclCz4cF0SUGTGAV6Aud78/9X2w3IqtKW7TIhan Ye+TjqSP0ply6Xq29Kry7/SKG6KTK0sqq+XHSjLm/nOQP4UPfISxM1Zvrvu58UOnwV0i 0ZZVj74YGtJ4gBlS17sz6kxTVNUlkvqAX6KNDNG/Eio8etGuCBzh4/vxQJ8GVsMhKmy1 fqi6GtB8AKaGt/TxEiwpMIZ4C6aw1YOekze5NR4NWBf/NOPKGYlbEFlvRon848jW7oND /pLosmr7+YQisc0I2odARV0TvY+iaQAOl16em7Cfjv1ELm8nnIIA5234WvO82LHv83EY 64Vg== X-Received: by 10.60.13.73 with SMTP id f9mr14670243oec.131.1359927852199; Sun, 03 Feb 2013 13:44:12 -0800 (PST) Received: from [172.31.0.2] (cpe-75-87-85-32.kc.res.rr.com. [75.87.85.32]) by mx.google.com with ESMTPS id v8sm18399851obj.1.2013.02.03.13.44.11 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 03 Feb 2013 13:44:11 -0800 (PST) Message-ID: <510EDA29.2050905@gmail.com> Date: Sun, 03 Feb 2013 15:44:09 -0600 From: "Dustin C. Hatch" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Compiling Gentoo for Raspberry Pi (Was: List of base system packages) References: <510E8726.7010600@gmail.com> <510EAB75.9030204@nileshgr.com> In-Reply-To: <510EAB75.9030204@nileshgr.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Archives-Salt: 6743cbe7-d92b-4ba4-a2eb-071ddddba93c X-Archives-Hash: 4d3739a5de33b4e4c6455ace691d4249 On 2/3/2013 12:24, Nilesh Govindrajan wrote: > On Sunday 03 February 2013 09:19:58 PM IST, Dustin C. Hatch wrote: >> On 2/3/2013 04:10, Nilesh Govindrajan wrote: >>> Okay that solved the ebuild problem, but I'm stuck with another >>> problem now -_- >>> >> ... >>> /usr/lib/libdb-4.8.so: file not recognized: File format not recognized >> >> Looks like it is trying to use the libdb shared object from the host >> system instead of the sysroot. >> >> How are you calling emerge? Can you post the command you ran that was >> used to install PAM? I don't have PAM on my Raspberry Pi, but I just >> tested cross-compiling it and it worked fine. >> > > Following your blog post you posted a link earlier; calling emerge as - > > armv6j-hardfloat-linux-gnueabi-emerge --onlydeps -1 -v $base > > It was pulled in as a dependency (for berkdb use flag, set by > default/linux/arm/10.0/armv6j profile) > > -- > Nilesh Govindarajan > http://nileshgr.com > Okay, the problem is probably the way PAM tries to link against db. Unless you need that functionality, I'd go ahead and remove the berkdb USE flag and try again. You may also want to file a bug. -- ♫Dustin