From owner-freebsd-questions Sat Jan 9 16:56:48 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA08076 for freebsd-questions-outgoing; Sat, 9 Jan 1999 16:56:48 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from smtp1.vnet.net (smtp1.vnet.net [166.82.1.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA08070 for ; Sat, 9 Jan 1999 16:56:47 -0800 (PST) (envelope-from rivers@dignus.com) Received: from dignus.com (ponds.vnet.net [166.82.177.48]) by smtp1.vnet.net (8.9.1a/8.9.1) with ESMTP id TAA11676; Sat, 9 Jan 1999 19:46:38 -0500 (EST) Received: from lakes.dignus.com (lakes.dignus.com [10.0.0.3]) by dignus.com (8.9.1/8.8.5) with ESMTP id UAA15081; Sat, 9 Jan 1999 20:31:44 -0500 (EST) Received: (from rivers@localhost) by lakes.dignus.com (8.9.1/8.6.9) id TAA25604; Sat, 9 Jan 1999 19:47:45 -0500 (EST) Date: Sat, 9 Jan 1999 19:47:45 -0500 (EST) From: Thomas David Rivers Message-Id: <199901100047.TAA25604@lakes.dignus.com> To: btman@ugcs.caltech.edu, freebsd-questions@FreeBSD.ORG Subject: Re: Linux shared libraries (RealAudio) In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > (please reply via e-mail; I'm not subscribed to freebsd-questions > currently.) > > Okay... so I'm trying to use the Linux RealPlayer 5.0, since they > seem to have given up on development for the FreeBSD version at 3.0 (bah). > My system is 3.0-CURRENT (elf). > > Now, granted, it works just fine. That is, it works great if I run > rvplayer from within the directory containing all the RealPlayer *.so > files (i.e., the install dir). if the *.so files are somewhere else, > well... that's a different story. :) > > What I'd love to be able to do (for instance, for firing up the > player out of Netscape) is to put the shared library files into > /usr/local/lib (or a subdir), and have ldconfig add those so rvplayer can > find them. Real's documentation suggests setting LD_LIBRARY_PATH to the > RealPlayer install directory, but I don't wanna. :) > > I've tried putting the *.so files into /usr/local/lib, > /usr/local/lib/rvplayer, and /usr/lib/compat, and then re-running the > ldconfig loop from /etc/rc. However, this doesn't register any of the new > *.so files. All it seems to find are the "authorized" *.so.* files, with > all the symlinks and aliases and things. > > So my question is this... what do I need to do in order to make > ldconfig see these new files? Do I need to have that wacky symlink > structure of -lwhatever.# = libwhatever.so.# -> libwhatever.so and so on? > > The whole ld thing is just the teensiest bit esoteric to someone > who doesn't stir them around on a daily basis... :) > > So what's the secret? > > Brian > I put the realplayer shared libraries in the Linux `compat' tree: /compat/linux/lib which is "pointed" at in /etc/rc for where to load linux shared libaries... That works well for me. - Dave Rivers - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message