Re: Linux-flashplugin7 & rtld - RFC

From: Norikatsu Shigemura <nork_at_FreeBSD.org>
Date: Sun, 2 Jul 2006 23:03:55 +0900
	Eureka!!!!

On Tue, 27 Jun 2006 22:09:53 -0400
Alexander Kabaev <kabaev_at_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
Received on Sun Jul 02 2006 - 12:34:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:57 UTC