Date: Sun, 10 Sep 2006 18:19:28 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Marcin Cieslak <saper@SYSTEM.PL> Cc: emulation@freebsd.org Subject: Re: /lib/ld-linux.so.2: cannot execute binary file: fix propsal Message-ID: <20060910181928.342eefaf@Magellan.Leidinger.net> In-Reply-To: <45041321.6030003@SYSTEM.PL> References: <45041321.6030003@SYSTEM.PL>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Marcin Cieslak <saper@SYSTEM.PL> (Sun, 10 Sep 2006 15:29:05 +0200): > # in linux chroot: "/usr/bin/ldd: line 165: /lib/ld-linux.so.2: cannot > execute binary file" > > Quickfix: > > sudo brandelf -t Linux /compat/linux/lib/ld-2.3.6.so > > Correct fix: > > Adjust @{FIND} commands in emulator port Makefiles also to include > ${PREFIX}/${PREFIX_SUBDIR}lib > > In general, I guess ELF shared libraries should be Linux branded as well? No, this will not work. You can't start apps which are linked to shared libs anymore after this. The linux linker expects the to be branded differently than what you propose here (been there done that months or years ago). Bye, Alexander. -- Scully: Mulder...toads just fell from the sky! Mulder: I guess their parachutes didn't open. "The X-Files: Die Hand Die Verletzt" http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060910181928.342eefaf>