From owner-freebsd-gnome@FreeBSD.ORG Wed Jan 19 02:09:11 2005 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D039F16A4CE for ; Wed, 19 Jan 2005 02:09:10 +0000 (GMT) Received: from mercury.ll.net (mercury.ll.net [209.131.224.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75E7043D5E for ; Wed, 19 Jan 2005 02:09:10 +0000 (GMT) (envelope-from supraexpress@globaleyes.net) Received: from globaleyes.net (unverified [209.131.253.93]) by mercury.ll.net for ; Tue, 18 Jan 2005 20:09:08 -0600 Date: Tue, 18 Jan 2005 20:09:03 -0600 (CST) From: supraexpress@globaleyes.net To: freebsd-gnome@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Message-Id: <20050119020910.75E7043D5E@mx1.FreeBSD.org> Subject: Re: Realplayer cannot find libraries X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2005 02:09:11 -0000 Try (as root, of course): cd /usr/compat/linux ./sbin/ldconfig /usr/compat/linux/lib /usr/compat/linux/usr/X11R6/lib /usr/compat/linux/var /usr/compat/linux/usr/X11R6/lib/X11/locale/lib On 18 Jan, andy@neu.net wrote: > On Sunday 16 January 2005 14:15, Rob Lahaye wrote: >> 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. > > ------------------------------------------------------------------------- > > I have tried the above suggestions, but I am still getting the following > error: > > /usr/local/bin/realplay & > [1] 12982 > [root@amd64 ~]# /usr/local/lib/RealPlayer/realplay.bin: error while > loading shared libraries: libstdc++.so.5: cannot open shared object file: > No such file or directory > > > Here is output from ldd: > [root@amd64 ~]# ldd /usr/local/lib/RealPlayer/realplay.bin | grep "not > found" > /usr/local/lib/RealPlayer/realplay.bin: /lib/libc.so.6: version > `GLIBC_2.3' not found (required by /usr/local/lib/RealPlayer/realplay.bin) > /usr/local/lib/RealPlayer/realplay.bin: /lib/libc.so.6: version > `GLIBC_2.3' not found (required by /usr/lib/libgtk-x11-2.0.so.0) > /usr/local/lib/RealPlayer/realplay.bin: /lib/libc.so.6: version > `GLIBC_2.3' not found (required by /usr/lib/libfontconfig.so.1) > libstdc++.so.5 => not found > libfreetype.so.6 => not found > libfreetype.so.6 => not found > libfreetype.so.6 => not found > libfreetype.so.6 => not found > > Could someone please give me the magic incantation to make this work. > > Thanks in advance > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"