Date: Sun, 14 May 2000 16:07:29 +0900 From: FUJISHIMA Satsuki <k5@cheerful.com> To: emre@interniq.org Cc: freebsd-current@freebsd.org Subject: Re: Real Player not working Message-ID: <86em75k3ta.wl@cheerful.com> In-Reply-To: In your message of "Sat, 13 May 2000 15:45:02 -0500" <391DBECE.2A54FD80@interniq.org> References: <391DBECE.2A54FD80@interniq.org>
next in thread | previous in thread | raw e-mail | index | archive | help
At Sat, 13 May 2000 15:45:02 -0500, emre <emre@interniq.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86em75k3ta.wl>