Subject: Re: more on last current elf problem on last I386 current
To: fgh salle <pikapika@8-0.net>
From: Thomas Bieg <tomsbsd04@tiscali.de>
List: current-users
Date: 05/07/2007 19:49:44
David Laight wrote:
> On Mon, May 07, 2007 at 01:07:14AM +0200, fgh salle wrote:
>> the result of of a ktrace on linux bash :
>> 27069      1 ktrace   EMUL  "netbsd"
>> 27069      1 ktrace   CALL  execve(0xbfbfe84b,0xbfbfe750,0xbfbfe758)
>> 27069      1 ktrace   NAMI  "/usr/pkg/emul/linux/bin/bash"
>> 27069      1 ktrace   NAMI  "/emul/linux"
>> 27069      1 ktrace   NAMI  "/emul/linux/lib/ld-linux.so.2"
>> 27069      1 ktrace   NAMI  "/lib/ld-linux.so.2"
> 
> It has already all gone wrong...
> 
> /lib/ld-linux.so.2 should have been found inside the emulation root.
> /emul/linux is usually a symlink to /usr/pkg/emul/linux

Recently there was this change (on 2007-05-04)
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/emulators/suse100_linux/Makefile.common.diff?r1=1.14&r2=1.15&f=h
which I think fixed this one (from 2007-04-19)
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/emulators/suse100_base/INSTALL.diff?r1=1.3&r2=1.4&f=h
which could have led to /emul/linux pointing to /usr/pkg/emul (instead
of /usr/pkg/emul/linux).

So if your pkgsrc is from between those dates you may have been bitten
by that.

Regards,
Tom