From owner-freebsd-current Sun May 14 0: 7:47 2000 Delivered-To: freebsd-current@freebsd.org Received: from m08.alpha-net.ne.jp (m08.alpha-net.ne.jp [210.229.64.38]) by hub.freebsd.org (Postfix) with ESMTP id 6116637B9AC for ; Sun, 14 May 2000 00:07:43 -0700 (PDT) (envelope-from k5@cheerful.com) Received: from kyoto-tc011-p156.alpha-net.ne.jp (kyoto-tc011-p156.alpha-net.ne.jp [210.237.118.158]) by m08.alpha-net.ne.jp (8.9.3/3.7W) with ESMTP id QAA03732 for ; Sun, 14 May 2000 16:05:21 +0900 (JST) Received: from souffle.bogus-local.net (souffle.bogus-local.net [192.168.1.1]) by kyoto-tc011-p156.alpha-net.ne.jp (Postfix) with ESMTP id A80D63DB8; Sun, 14 May 2000 16:07:29 +0900 (JST) Date: Sun, 14 May 2000 16:07:29 +0900 Message-ID: <86em75k3ta.wl@cheerful.com> From: FUJISHIMA Satsuki To: emre@interniq.org Cc: freebsd-current@freebsd.org Subject: Re: Real Player not working In-Reply-To: In your message of "Sat, 13 May 2000 15:45:02 -0500" <391DBECE.2A54FD80@interniq.org> References: <391DBECE.2A54FD80@interniq.org> User-Agent: Wanderlust/1.1.0 (Overjoyed) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.6 (i386--freebsd) MULE/4.1 (AOI) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At Sat, 13 May 2000 15:45:02 -0500, emre wrote: > bash-2.03# rvplayer > ELF interpreter /lib/ld-linux.so.1 not found > Abort trap This is the same problem as ports/18489, caused by binary branding confusion. $ file /usr/local/bin/rvplayer /usr/local/bin/rvplayer: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked, stripped /usr/bin/strip(used during INSTALL_PROGRAM) forces Linux binary to be branded as FreeBSD with old method and then it will always be treated as FreeBSD binary. The effort to brand it as Linux with new method will be ignored. Stripping Linux binary with Linux strip would be a workaround. -- FUJISHIMA Satsuki Index: Makefile =================================================================== RCS file: /home/ncvs/ports/audio/linux-realplayer/Makefile,v retrieving revision 1.12 diff -u -r1.12 Makefile --- Makefile 2000/04/08 21:23:56 1.12 +++ Makefile 2000/05/14 06:37:17 @@ -20,6 +20,8 @@ NO_BUILD= yes WRKSRC= ${WRKDIR}/rvplayer5.0/ +STRIP= # linux binary should not be stripped by INSTALL_PROGRAM + LIBFILES= libdecdnet.so libra14_4.so libra28_8.so libradnet.so \ librarv10.so librasipr.so librv10dec.so librvcore.so \ librvplayer.so @@ -58,6 +60,7 @@ .endfor ${INSTALL_PROGRAM} ${WRKSRC}/rvplayer ${PREFIX}/bin/ + /compat/linux/usr/bin/strip ${PREFIX}/bin/rvplayer /usr/bin/brandelf -t Linux ${PREFIX}/bin/rvplayer ${INSTALL_DATA} ${WRKSRC}/welcome.rm ${PREFIX}/share/rvplayer5.0/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message