From owner-freebsd-emulation@FreeBSD.ORG Sun Jan 16 20:53:04 2005 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8041116A4CE for ; Sun, 16 Jan 2005 20:53:04 +0000 (GMT) Received: from heineken.flexi-surf.co.uk (heineken.flexi-surf.co.uk [62.41.128.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id A15EF43D4C for ; Sun, 16 Jan 2005 20:52:58 +0000 (GMT) (envelope-from nbco@screaming.net) Received: from [192.168.2.3] ([62.55.107.164])j0GInFS25032 for ; Sun, 16 Jan 2005 18:49:15 GMT From: nbco Date: Sun, 16 Jan 2005 20:52:47 +0000 User-Agent: KMail/1.7.2 To: "freebsd-emulation@freebsd.org; Kris Kennaway" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501162052.47479.nbco@screaming.net> X-Mailman-Approved-At: Mon, 17 Jan 2005 13:06:46 +0000 Subject: Fwd: Re: Realplayer cannot find libraries, after upgrade from ports X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: nbco@screaming.net List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2005 20:53:04 -0000 Kris Kennaway said this: Please report this to the maintainer (freebsd-emulation@), with as much supporting information as you can. As follows: > Rob Lahaye wrote: > > Hi, > > > > I've just upgraded all my software from recent ports. > > Now realplayer (10.0.2_1) doesn't run anymore, because it cannot > > find its libraries: > > > > $ ldd /usr/local/lib/RealPlayer/realplay.bin | grep "not found" > > libX11.so.6 => not found > > libXrandr.so.2 => not found > > libXi.so.6 => not found > > libXext.so.6 => not found > > libXft.so.2 => not found > > libXrender.so.1 => not found > > libX11.so.6 => not found > > libXft.so.2 => not found > > libXrender.so.1 => not found > > libX11.so.6 => not found > > $ ls /usr/X11R6/lib/libX11.so.6 > > /usr/X11R6/lib/libX11.so.6 > > Meanwhile I've solved the problem with a: > > # portupgrade -frRv linux-realplayer-10.0.2_1 Hi, It appears as though after the recent ports/emulators/linux_base version bump ( see ports/UPDATING), that the Linux X11 libraries are not appearing in /usr/compat/linux/etc/ld.so.cache. realplayer was not the only affected port - acroread was also affected; both are linux binaries which run under emulation. Another fix is to do the following: 1) Add the following line to /usr/compat/linux/etc/ld.so.conf: /usr/X11R6/lib 2) Re-run /usr/compat/linux/sbin/ldconfig. This will cause the runtime ELF linker cache for the Linuxolator to be regenerated with the location of the Linux X11 libraries added to the search path, and thus the libraries should then appear in the cache. You should then be able to run acroread, realplayer etc. without further problems, even after a reboot.