From owner-freebsd-questions@FreeBSD.ORG Tue Jun 27 19:21:35 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 76F5316A400 for ; Tue, 27 Jun 2006 19:21:35 +0000 (UTC) (envelope-from duane@dwpc.dwlabs.ca) Received: from smtpout.eastlink.ca (smtpout.eastlink.ca [24.222.0.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id C137444EAE for ; Tue, 27 Jun 2006 19:21:32 +0000 (GMT) (envelope-from duane@dwpc.dwlabs.ca) Received: from ip04.eastlink.ca ([24.222.10.20]) by mta01.eastlink.ca (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0J1J00L4C9PML2F0@mta01.eastlink.ca> for freebsd-questions@freebsd.org; Tue, 27 Jun 2006 16:20:10 -0300 (ADT) Received: from blk-224-199-230.eastlink.ca (HELO dwpc.dwlabs.ca) ([24.224.199.230]) by ip04.eastlink.ca with ESMTP; Tue, 27 Jun 2006 16:21:29 -0300 Received: from dwpc.dwlabs.ca (localhost [127.0.0.1]) by dwpc.dwlabs.ca (8.13.6/8.13.6) with ESMTP id k5RJKXAh037862; Tue, 27 Jun 2006 16:20:33 -0300 (ADT envelope-from duane@dwpc.dwlabs.ca) Received: (from duane@localhost) by dwpc.dwlabs.ca (8.13.6/8.13.6/Submit) id k5RJKWDV037861; Tue, 27 Jun 2006 16:20:32 -0300 (ADT envelope-from duane) Date: Tue, 27 Jun 2006 16:20:32 -0300 From: Duane Whitty In-reply-to: <44A0C3EB.10704@chrismaness.com> To: Chris Maness Message-id: <20060627192031.GA17617@dwpc.dwlabs.ca> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AR4FAFggoUSBSg References: <44A0C3EB.10704@chrismaness.com> User-Agent: Mutt/1.4.2.1i 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 19:21:35 -0000 On Mon, Jun 26, 2006 at 10:36:43PM -0700, Chris Maness wrote: > >On Tue, 23 May 2006 23:40:37 +0000 > >"Marwan Sultan" >@hotmail.com> > >wrote: > >> hello everyone! > > > >> I'm really sorry to ask over here, but sick and tired browsing and > >asking > >> around. > > > >> I'm on latest FreeBSD 6.1R latest KDE and latest firefox 1.5.3 > >> I cannot find the flash plugins for Konqueror because no more port > >for it, > >> (linux-flashplgin6) > > > >> So i have installed Firefox, now i'm lost, which in port is the flash > >> plugin? > > > >> I have linux-flashplugin7 installed, linuxpluginwrapper, > > > >looks ok > > > >$ pkg_info | grep -i flash && pkg_info | grep -i firefox > >linux-flashplugin-7.0r63 The official Macromedia Flash Player for > >Linux Mozilla > > > > firefox-1.5.0.3,1 Web browser based on the browser portion of Mozilla > >firefox-remote-20040803 Wrapper scripts for firefox web browser > > > >> But flash still not workin in firefox, i dont know what to do now? > >> Will someone kindly guied me for this? how to install flash, for > >firefox? > >> and enable it. > > > >from someone else's kind instructions, which worked great for me: > > > >- modify your libmap.conf , following what is shown in > >what /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6 > > > >- Finally edit /usr/X11R6/lib/firefox/run-mozilla.sh and add > > /usr/X11R6/lib/linux-flashplugin6 to MOZ_PLUGIN_PATH > > (near the end of the script) (colon-separated path components) > > > >- path your kernel: > >Please get and apply a dlsym(3) hook patch (apply in /usr/src ; then cd > >libexec/rtld-elf and do make rtld) > >http://people.FreeBSD.org/~nork/*rtld_dlsym_hack.diff* > > This provides > >_dlsym(3) > >function to fix dynamic-link error "can't find gtk_major_version" > >ad-hoc-ly. > > > >$cd /usr/src > >$fetch http://people.FreeBSD.org/~nork/*rtld_dlsym_hack.diff* > > > >$patch < *rtld_dlsym_hack.diff* > >$ cd libexec/rtld-elf > >$sudo make rtld > >$ sudo make install > > > >> Also How to install java? on firefox? it would be my next step. > > > >> Is there by any chance away to run flash for Konqueror? or better to > >> delete this package if im > >> having firefox? > > > >i dont know, dont use kde. > >good luck, > >Beto > 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