At Sat, 13 May 2000 15:45:02 -0500,
emre <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message