Hello Autrijus,

what's the status of getting shared libraries into a PAR executable?

I have spent some time on thinking around this, and apart from the fact
that I don't know to which extent you have finished something,
I came to the conclusion that - without involving ScanDeps yet -
the following steps would be straightforward:

1. in myldr/main.c: we need to find out the tmpdir to use,
   and create a private dir below that (maybe containing $$, and
   if possible the hostname.
   $ENV{LD_LIBRARY_PATH} would need to be set before calling perl,
   and have its first entry pointing to this directory.

2. script/par.pl would need to unpack at least ending with .so
   to this directory
   
3. pp would need an option for adding .so (and maybe other) files
   into the PAR part of the executable.
   
After proving feasibility, the finer steps (such as determining automatically
which files need to be packed) could be done later.

What do you think?

Best regards,

        Markus


--
Markus Jansen                      Senior IS/IT Support Engineer, EED/IT
Ericsson Eurolab Deutschland GmbH  Email : [EMAIL PROTECTED]
Ericsson Allee 1                   Phone : +49 2407 575 5157
52134 Herzogenrath                 Fax   : +49 2407 575 7289
Germany                            Mobile: +49 172 274 2003

Reply via email to