From owner-freebsd-questions@FreeBSD.ORG Tue Jun 27 20:56:10 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F8B216A52F for ; Tue, 27 Jun 2006 20:56:10 +0000 (UTC) (envelope-from chris@chrismaness.com) Received: from ylpvm01.prodigy.net (ylpvm01-ext.prodigy.net [207.115.57.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98B97454D8 for ; Tue, 27 Jun 2006 19:54:20 +0000 (GMT) (envelope-from chris@chrismaness.com) X-ORBL: [69.108.69.90] Received: from [192.168.4.2] (adsl-69-108-69-90.dsl.irvnca.pacbell.net [69.108.69.90]) by ylpvm01.prodigy.net (8.13.7 out spool5000 dk/8.13.7) with ESMTP id k5RJsDKm016937; Tue, 27 Jun 2006 15:54:15 -0400 Message-ID: <44A18CE5.70301@chrismaness.com> Date: Tue, 27 Jun 2006 12:54:13 -0700 From: Chris Maness User-Agent: Thunderbird 1.5.0.2 (X11/20060425) MIME-Version: 1.0 To: Duane Whitty References: <44A0C3EB.10704@chrismaness.com> <20060627192031.GA17617@dwpc.dwlabs.ca> In-Reply-To: <20060627192031.GA17617@dwpc.dwlabs.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: firefox with flash and java! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 20:56:10 -0000 Duane Whitty wrote: >> I have followed all of the instructions for patching the src (from >> above), and firefox still crashes with the error: /libexec/ld-elf.so.1: >> /usr/local/lib/pluginwrapper/flash7.so: Undefined symbol "_dlsym" when >> a flash page is loaded. What have I missed? >> > > Hi, > > I'm using flash on 6-STABLE so I don't know if it works on 6.1R or not. > > Make sure you linux_base ports and linuxpluginwrapper are up-to-date. > I'll assume your linux-flashplugin-7 is up-to-date. My version is > linux-flashplugin-7.0r63. > > A directory listing of /usr/X11R6/lib/firefox/plugins might also help. > Here is what my listing looks like: > > dwpc@ /etc# ll /usr/X11R6/lib/firefox/plugins > total 32 > lrwxr-xr-x 1 root wheel 49 Jun 26 23:39 flashplayer.xpt -> /usr/X11R6/lib/linux-flashplugin7/flashplayer.xpt > lrwxr-xr-x 1 root wheel 51 Jun 26 23:40 libflashplayer.so -> /usr/X11R6/lib/linux-flashplugin7/libflashplayer.so > -rwxr-xr-x 1 root wheel 19216 Jun 19 17:45 libnullplugin.so > -rwxr-xr-x 1 root wheel 11632 Jun 19 17:45 libunixprintplugin.so > > > Also here is what my /etc/libmap.conf looks like: > > # [ALPHA SUPPORT] Flash7 with Mozilla > [/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so] > libpthread.so.0 libpthread.so.2 > libdl.so.2 pluginwrapper/flash7.so > libz.so.1 libz.so.3 > libm.so.6 libm.so.4 > libc.so.6 pluginwrapper/flash7.so > > > BTW, there is a discussion concerning this on current@ > which is very interesting and I recommend as good reading. > As that discussion implies and as the linuxpluginwrapper > states explicitly, this is unsupported. > > Hope this helps. YMMV > > --Duane > I was able to get it to work by following different instructions on patching the /usr/src tree. # cd /usr/src # fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff # patch < rtld_dlsym_hack.diff # cd libexec/rtld-elf/ # make clean # make obj # make depend # make # make install worked like a charm ;o) Chris Maness