Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jul 2006 23:03:55 +0900
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        Alexander Kabaev <kabaev@gmail.com>
Cc:        deischen@FreeBSD.org, Alexander@Leidinger.net, current@FreeBSD.org
Subject:   Re: Linux-flashplugin7 & rtld - RFC
Message-ID:  <20060702230355.3d720352.nork@FreeBSD.org>
In-Reply-To: <20060627220953.24a8e7fe@kan.dnsalias.net>
References:  <44986777.6070601@FreeBSD.org> <20060621061437.GA53019@fit.vutbr.cz> <ygeodwn2fea.wl%ume@mahoroba.org> <2265.211.18.249.19.1150871779.squirrel@mail.ninth-nine.com> <20060621121114.h6udocel5wsgg8sg@netchild.homeip.net> <2692.219.127.74.121.1150885501.squirrel@mail.ninth-nine.com> <20060621155053.d6lseiz8z4ow8wo8@netchild.homeip.net> <Pine.GSO.4.64.0606211204300.23942@sea.ntplx.net> <20060623013106.d4397e26.nork@FreeBSD.org> <Pine.GSO.4.64.0606221244240.427@sea.ntplx.net> <20060622230416.3907a848@kan.dnsalias.net> <20060625191405.d0e78240.nork@FreeBSD.org> <20060627220953.24a8e7fe@kan.dnsalias.net>

next in thread | previous in thread | raw e-mail | index | archive | help
	Eureka!!!!

On Tue, 27 Jun 2006 22:09:53 -0400
Alexander Kabaev <kabaev@gmail.com> wrote:
> Nobody will banish anything. _Proper_ pathches to make rtld handle
> libmapped libraries more completely are welcome though. 

	No more rtld:-).  I found a work around.

> > 	2. firefox doesn't use libc/libm/libpthread.  But wrapper has
> > 	   libc/libm/libpthread all codes.
> > /etc/libmap.conf -----------------------------------------------
> > [firefox-bin]
> > libc.so.7			wrapper.so
> > libm.so.4			wrapper.so
> > libpthread.so.2			wrapper.so
> > /etc/libmap.conf -----------------------------------------------
> > 	So I think that glibc functions are integrated to
> > libc/m/pthread. But above issue will be fixed, I may think that
> > separate libraries are good way.
> glibc functions integrated into libc/m/pthread will never hit the tree.

	I understood that 2 is bad.  Because wrapper.so has bad
	symbols as non-versioning.

	You can test new Userland Compat Linux Technology[TM:-)].
	http://people.freebsd.org/~nork/UserlandCompatLinux-20060702.tar.bz2

/etc/libmap.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so]
libpthread.so.0		libcompatlinux.so.0
libdl.so.2		libcompatlinux.so.0
libz.so.1		libz.so.3
libm.so.6		libcompatlinux.so.0
libc.so.6		libcompatlinux.so.0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

	And set you environment value like following:

	FLASH_GTK_LIBRARY=/usr/X11R6/lib/libgtk-x11-2.0.so.0


	And I know a issue, but I cannot fix:-(.  Please change
	'catalogue' line:

/usr/X11R6/lib/X11/fs/config
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
catalogue = /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


	Please see also: readelf -Ws libcompatlinux.so.0



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060702230355.3d720352.nork>