On Mon, 22 Sep 2008 20:28:18 Shachar Shemesh wrote:
>
> Ehud Karni wrote:
> >
> > will adding a simple rule to make a real link, something like
> >     ln -f libplugin.so.0.1.2 plugin.so
> > work for you ?
> >
> Right now I'm not working on a Mozilla plugin (I'm writing a plugin for
> net-snmp agent, which is less anal about such things), so a link is
> neither necessary nor particularly important. When writing Mozilla
> plugins, the problem is not creating the links (running "make install"
> create those links with no extra work). The problem is that mozilla
> does, roughly, the following:
> - Scan all files in the plugin directory
> - For each file: As long as the type is "symlink", resolve where it
> points to.
> - Check whether the file name ends with ".so"
>
> So the above plan (link from .so to the real name) will simply not work.
> Please don't ask me why that is what Mozilla does.

Shachar, I suggested a real (hard) link, not a symbolic link.
The -f was to ensure re-linking even if the target exist.

Ehud.


--
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D <http://www.keyserver.net/>    Better Safe Than Sorry

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to