From owner-freebsd-questions@FreeBSD.ORG Wed Jan 17 02:36:44 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3607316A416 for ; Wed, 17 Jan 2007 02:36:44 +0000 (UTC) (envelope-from dghatikachalam@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.230]) by mx1.freebsd.org (Postfix) with ESMTP id D4A5213C459 for ; Wed, 17 Jan 2007 02:36:43 +0000 (UTC) (envelope-from dghatikachalam@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so2218391wxc for ; Tue, 16 Jan 2007 18:36:43 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=oR1mlFQmIGXzAYAjmL+77lP1ETIoFeIBOvydtAhb+GTyEkue5jaBJK28j0QX+MHWk8atFuGnvP4cBZoTolmlClEICpGYQ4OiexLFk/D6owsltWgc6WinlwUkD1BRdYVcWX4ObMZGkmb/aRMZPzTXeaNLDZi7kUDgV4EAoxVD2io= Received: by 10.70.65.8 with SMTP id n8mr2287445wxa.1169001403176; Tue, 16 Jan 2007 18:36:43 -0800 (PST) Received: by 10.70.52.12 with HTTP; Tue, 16 Jan 2007 18:36:43 -0800 (PST) Message-ID: Date: Tue, 16 Jan 2007 21:36:43 -0500 From: "Dak Ghatikachalam" To: "FreeBSD WickerBill" In-Reply-To: <2d19405f0701161337p784d881dk52289aa61d9ce34d@mail.gmail.com> MIME-Version: 1.0 References: <20070116131316.N47969@wonkity.com> <2d19405f0701161337p784d881dk52289aa61d9ce34d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Firefox mess in Freebsd 6.1 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: Wed, 17 Jan 2007 02:36:44 -0000 6.1-RELEASE FreeBSD 6.1 I have these files in $ pwd /usr/local/lib/firefox/plugins $ ls -lrt total 2132 -rwxr-xr-x 1 root wheel 2158864 Oct 27 16:42 libflashplayer.so -r--r--r-- 1 root wheel 856 Oct 27 16:42 flashplayer.xpt drwxr-xr-x 2 500 100 512 Dec 4 19:09 install_flash_player_7_linux $ I need to try the Warren's method to see if that is going to help me, first of all I need to read man portupgrade to perform the upgrade from 6.1to 6.2 , as i am new into this freebsd world. Thanks for your input Dak On 1/16/07, FreeBSD WickerBill wrote: > > On 1/16/07, Warren Block wrote: > > > > On Tue, 16 Jan 2007, Dak Ghatikachalam wrote: > > > > > My Firefox is crashing all the time since I setup the flash plugins, > > > > > > I first plugged in the mplayer and after which it was working well. > > > > > > Because several other news websites were expecting flash or shockwave > > > plugins > > > > > > I went ahead and did everything per the instructions in > > > > > > < that procedure is outdated, so I'm not going to repeat the link > > > > > > > after doing this the firefox is crashing left and right. > > > > Here's my checklist. This works on 6.2-Release and 6.2-Stable as of > > 16 Jan 2007 with Firefox 2.0.0.1: > > > > Install the dlsym patch: > > > > Note: a new version of rtld.c came out in stable on 16 Jan 2007. If you > > don't run 6-Stable, fetch the patch file like this: > > > > # cd /usr/src/libexec/rtld-elf/ > > # fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff > > > > Here's an updated patch file I made for rtld.c v 1.106.2.4: > > > > --- rtld.c.orig Tue Jan 16 06:50:53 2007 > > +++ rtld.c Tue Jan 16 06:54:15 2007 > > @@ -131,6 +131,7 @@ > > static void unref_dag(Obj_Entry *); > > static void ref_dag(Obj_Entry *); > > > > +void *_dlsym(void *, const char *); > > void r_debug_state(struct r_debug *, struct link_map *); > > > > /* > > @@ -182,6 +183,7 @@ > > (func_ptr_type) &dlclose, > > (func_ptr_type) &dlerror, > > (func_ptr_type) &dlopen, > > + (func_ptr_type) &_dlsym, > > (func_ptr_type) &dlsym, > > (func_ptr_type) &dladdr, > > (func_ptr_type) &dllockinit, > > @@ -1762,6 +1764,12 @@ > > trace_loaded_objects(obj); > > wlock_release(rtld_bind_lock, lockstate); > > exit(0); > > +} > > + > > +void * > > +_dlsym(void *handle, const char *name) > > +{ > > + return dlsym(handle, name); > > } > > > > void * > > --cut here > > > > # patch < rtld_dlsym_hack.diff > > # make > > # make install > > > > Link the library: > > > > cd /usr/local/lib/browser_plugins > > ln -sf /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so . > > ln -sf /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt . > > > > In /etc/libmap.conf: > > > > # [ALPHA SUPPORT] Flash7 with Mozilla > > [/usr/local/lib/npapi/linux-flashplugin/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 > > > > -Warren Block * Rapid City, South Dakota USA > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscribe@freebsd.org" > > > > or, look in /usr/local/lib/firefox/plugins/ and make sure the plugin or a > symlink exists. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >