CD/usr/src/libexec/rtld-elf
Fetch http://www.jail.se/freebsd/rtld_dlsym_hack.diff
Patch <rtld_dlsym_hack.diff
Make clean all install
CD/usr/ports/www/linux-flashplugin7
Make install clean
CD/usr/ports/devel/linuxthreads
Make install clean
CD/usr/ports/www/linuxpluginwrapper
Make install clean
CD/usr/x11r6/lib/browser_plugins
Rm libflashplayer. So flashplayer. xpt
Ln-S ../linux-flashplugin7/flashplayer. xpt
Ln-S ../linux-flashplugin7/libflashplayer. So
CD/etc
Fetch http://www.jail.se/freebsd/libmap.conf
From: http://www.jail.se/freebsd.html
Appendix 1: rtld_dlsym_hack.diff
--- Libexec/rtld-elf/rtld. C. origfri Sep 24 08:04:52 2004
++ Libexec/rtld-elf/rtld. csun Oct 17 03:37:44 2004
@-129,6 + 129,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 *);
/*
@-177,6 + 178,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,
@-1736,6 + 1738,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 *
Appendix 2: libmap. conf
#/Etc/libmap. conf for FreeBSD 6.0 (6.0-beta3 or after) and 7-Current
# $ ID: libmap. conf-FreeBSD6, V 1.21 00:29:33 nork exp $
######################################## ###############
# Flash7 with Mozilla/Firebird/galeon/epiphany/Konqueror
[/Usr/x11r6/lib/linux-flashplugin7/libflashplayer. So]
Libpthread. so.0 pluginwrapper/flash7.so
Libdl. so.2 pluginwrapper/flash7.so
Libz. so.1 libz. so.3
Libstdc ++-libc6.2-2. so.3 libstdc ++. so.4
Libm. so.6 libm. so.4
Libc. so.6 pluginwrapper/flash7.so
######################################## ###############
# Flash6 with opera is not avilable.
# Flash6 with Konqueror
# See also: http://freebsd.kde.org/howtos/konqueror-flash.php
# This configuration was integrated to following one.
# Flash6 with Mozilla/Firebird/galeon/epiphany/Konqueror
[/Usr/x11r6/lib/linux-flashplugin6/libflashplayer. So]
Libpthread. sow.pluginwrapper/flash6.so
Libdl. so.2pluginwrapper/flash6.so
Libz. so.1libz. so.3
Libstdc ++-libc6.2-2. so.3libstdc ++. so.5
Libm. so.6libm. so.4
Libc. so.6pluginwrapper/flash6.so
######################################## ###############
# Batch bat5 with Mozilla/Firebird/galeon/epiphany/Konqueror
[/Usr/x11r6/acrobat5/browsers/intellinux/nppdf. So]
Libc. so.6pluginwrapper/acrobat. So
# Using bat7 with Mozilla/Firebird/galeon/epiphany/Konqueror
[/Usr/compat/Linux/usr/local/Adobe/acrobat7.0/Browser/intellinux/nppdf. So]
Libc. so.6pluginwrapper/acrobat. So
# Japan elastic bat7 with Mozilla/Firebird/galeon/epiphany/Konqueror
[/Usr/x11r6/acrobat7/Browser/intellinux/nppdf. So]
Libc. so.6pluginwrapper/acrobat. So
######################################## ###############
# Helix RealPlayer with Mozilla/Firebird/galeon/epiphany/Konqueror
[/Usr/x11r6/lib/Linux-Mozilla/plugins/nphelix. So]
Libstdc ++. so.5libstdc ++. so.5
Libc. so.6pluginwrapper/RealPlayer. So
######################################## ###############
# Java3D
# Note: These are samples. Please see also install messages
# Of Java/Java3D port.
[/Usr/local/jdk1.4.2/JRE/lib/i386/libj3d. So]
Libdl. so.2pluginwrapper/Java3D. So
Libm. so.6libm. so.4
Libnsl. so.1pluginwrapper/Java3D. So
Libpthread. sow.pluginwrapper/Java3D. So
Libc. so.6pluginwrapper/Java3D. So
[/Usr/local/jdk1.4.2/JRE/lib/i386/libj3daudio. So]
Libm. so.6libm. so.4
Libnsl. so.1pluginwrapper/java3d_snd.so
Libpthread. sow.pluginwrapper/java3d_snd.so
Libc. so.6pluginwrapper/java3d_snd.so
[/Usr/local/jdk1.4.2/JRE/lib/i386/libj3dutils. So]
Libpthread. sow.pluginwrapper/Java3D. So
Libc. so.6pluginwrapper/Java3D. So
######################################## ###############
# Java advanced imaging (JAI) API
# Note: This is a sample. Please see also install messages
# Of Java/JAI port.
[/Usr/local/jdk1.4.2/JRE/lib/i386/libmlib_jai/libmlib_jai.so]
Libm. so.6libm. so.4
Libc. so.6pluginwrapper/JAI. So
######################################## ###############
# Jai image I/O tools
# Note: This is a sample. Please see also install messages
# Of Java/JAI-ImageIO port.
[/Usr/local/jdk1.4.2/JRE/lib/i386/libclib_jiio.so]
Libm. so.6libm. so.4
Libc. so.6pluginwrapper/JAI. So
######################################## ###############
# Photo image print system (for Epson bubble jet printers driver)
# [/Usr/local/lib/pips/]
# Libc. so.6pluginwrapper/pips. So
# Libdl. so.2pluginwrapper/pips. So
######################################## ###############
# [/Compat/Linux/usr/lib/Oracle/10.1.0.3/client/lib/libclntsh. so.10.1]
# Libdl. so.2pluginwrapper/oci8.so
# Libm. so.6libm. so.4
# Libpthread. sow.libpthread. so.2
# Libnsl. so.1pluginwrapper/oci8.so
# Libc. so.6pluginwrapper/oci8.so