From owner-freebsd-questions@FreeBSD.ORG Mon Nov 14 23:32:23 2005 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 8E8AA16A41F for ; Mon, 14 Nov 2005 23:32:23 +0000 (GMT) (envelope-from h.nieser@xs4all.nl) Received: from smtp-vbr2.xs4all.nl (smtp-vbr2.xs4all.nl [194.109.24.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC10843D58 for ; Mon, 14 Nov 2005 23:32:22 +0000 (GMT) (envelope-from h.nieser@xs4all.nl) Received: from [192.168.1.10] (nieser.net [194.109.160.131]) by smtp-vbr2.xs4all.nl (8.13.3/8.13.3) with ESMTP id jAENWKEU009376 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 15 Nov 2005 00:32:20 +0100 (CET) (envelope-from h.nieser@xs4all.nl) Message-ID: <43791E85.2050708@xs4all.nl> Date: Tue, 15 Nov 2005 00:32:21 +0100 From: Hans Nieser User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051106) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <1132007534.6427.57.camel@dracula> <437914BD.2060308@nieser.net> In-Reply-To: <437914BD.2060308@nieser.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: Linuxpluginwrapper 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: Mon, 14 Nov 2005 23:32:23 -0000 Hans Nieser wrote: > Dev Tugnait wrote: > >> I have built the linuxpluginwrapper port but it doesn't work anymore. >> Attaching my libmap.conf >> >> Here's what happens when i do a deinstall in that port >> ===> Deinstalling for www/linuxpluginwrapper >> ===> Deinstalling linuxpluginwrapper-20050910 >> pkg_delete: file '/usr/local/sbin/is_enabled_lpw' doesn't exist >> pkg_delete: couldn't entirely delete package (perhaps the packing list >> is >> incorrectly specified?) >> >> Anyone got flash working? >> > > I haven't been unable to uninstall anything, but I definitely am having > issues getting flash to work for firefox. I have an up-to-date portstree > and have all the latest version of ports installed. > > I've simply tried installing linuxpluginwrapper and linux-flashplugin7, > with the following in my /etc/libmap.conf: > > ####################################################### > # [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 > > I've been told to link something, but not what needs to be linked to what > exactly, and I don't really understand much about the whole library thing > to figure it out for myself... Thanks to the helpful people in #freebsd-gnome on freenode IRC I got it to work doing the following (the diff step was in the pkg-message for linuxpluginwrapper, so missing that step was my own fault): - Install www/linuxpluginwrapper - Install www/linux-flashplugin7 - Put following in /etc/libmap.conf [/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 - Apply the patch at http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff to /usr/src/libexec/rtld-elf/rtld.c (using "patch < difffile"). - Rebuild rtld-elf: cd /usr/src/libexec/rtld-elf/ make clean cleandir make clean cleandir make obj make depend make make install - Link the plugin: ln -s /usr/X11R6/lib/linux-flashplugin7/libflashplayer.so /usr/X11R6/lib/browser_plugins/