libmap and linuxpluginwrapper

Simon 'corecode' Schubert corecode at
Tue Apr 6 06:19:45 PDT 2004

On 06.04.2004, at 07:34, Matthew Dillon wrote:

:The linuxpluginwrapper port on FreeBSD-4 and DragonFly requires
:changes to rtld-elf and configuring /etc/libmap.conf .  This works
:fine for me on DragonFly (I tested the flash plugin on mozilla-firefox
:and konqueror).  Is there any reason not to apply this patch to the
:base system?
    Hmm.  That's a pretty nasty patch but it looks like FreeBSD 
brought it
    into their base system.  I will review the FreeBSD changes and 
    bring it into our base system.
To me, it really looks like a mean hack. Joerg, Andy and me were 
discussing about a similar thing for packages (providing the full 
pathname of a shared object vs rpath etc). My feeling about this is: 
Information about linking should be contained in the ELF itself and not 
be decoupled into a systemwide configuration file:

Add magic to ELF/binutils/rtld to have to possibility to explicitely 
specify the exact shared object file which should be used (as first 
try) to use for this "generic" shared object name ( Of 
course this must easily be changeable after final linking (rpath is 
hard to change afterwards because of virtual memory location + 

I think this would also be the way to use here: for example, specify in 
/usr/local/lib/linux-flashplugin6/ to try for the 
requested the file 
/usr/lib/gcc2/ or even /usr/lib/${CCVER}/ If 
this file doesn't exist, continue searching like before.

\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00000.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <>

More information about the Submit mailing list