Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 1999 11:15:36 +0100
From:      Marcel Moolenaar <marcel@scc.nl>
To:        emulation@FreeBSD.ORG
Subject:   Re: Suggestion, Linux ldconfig /etc/defaults/rc.conf
Message-ID:  <36F223C8.5550608A@scc.nl>
References:  <19990319000636.L4567@cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Christopher G. Mann" wrote:

> Problem: Headaches getting Real Player 5.0 to work under FreeBSD 3.1
> with Linux emulation.
> 
> Source: Tracking down appropriate Linux ldconfig-type settings.
> 
> Suggestion: With Linux emulation on by default now, wouldn't it make
> sense to migrate the Linux library paths into /etc/default/rc.conf?
> That was the first place I looked, and the spot I was ultimately
> disappointed to not find it in.

It's much simpler. Yesterday I installed real Player 5.0 using the ports to
see if it works with my new linux_lib and linux_devel replacements. It worked
somewhat out of the box. So this is what I suggest you do:

download linux-base from my webpage http://www.wi.leidenuniv.nl/~mhmoolen/
and install it. After that, install the real-player using the ports
collection. There are (just) two thing you need to do:

(1) Make sure you have applied the following patch to the Makefile of the
rvplayer port:

*** Makefile.orig       Thu Mar 18 13:02:41 1999
--- Makefile    Thu Mar 18 13:03:02 1999
***************
*** 13,19 ****
  
  MAINTAINER=   kkennawa@physics.adelaide.edu.au
  
! RUN_DEPENDS=  /compat/linux/lib/libc.so.5:${PORTSDIR}/emulators/linux_lib
  
  ONLY_FOR_ARCHS= i386
  NO_CDROM=       "Redistribution not allowed"
--- 13,19 ----
  
  MAINTAINER=   kkennawa@physics.adelaide.edu.au
  
! RUN_DEPENDS= 
/compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emu
lators/linux-base
  
  ONLY_FOR_ARCHS= i386
  NO_CDROM=       "Redistribution not allowed"

(2) After installation of the linux-realplayer port, update
/compat/linux/etc/ld.so.conf to include the path where the rvplayer libs are
installed (/usr/local/lib/rvplayer5.0 IIRC) and run
/compat/linux/sbin/ldconfig. There is no need to create or update
LD_LIBRARY_PATH envvars.

That's it!
If this don't solve your problem, then euh... something else will :-)

marcel


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36F223C8.5550608A>