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

Reply via email to