On 11/22/06, Philip Gwyn <[EMAIL PROTECTED]> wrote:
> For an experiment, you could:
> (1) remove "-Wl,-rpath,/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE'"
> from
>   ccdlflags (in Config_heavy.pl in your installation)
> (2) rebuild PAR with this setting
> (3) re-pp your script

That worked.

So, do I remove it permenantly on my demo/deploy server?  Or is there somewhere
I can strip it out of pp?

Good question, because the setting is correct if you're building something
with an embedded perl interpreter, e.g. vim with perl support or
Apache mod_perl.
Only for PAR's purposes is it harmful. I think it gets introduced in the
"perl Makefile.PL" stage of building PAR, so we might check for this and
strip it out.


However
ldd /tmp/par-dw/cache-e581c68d5aefe29e99d0bc96c3e2d11622c5ab4b/test
        libperl.so => not found
        ....

But I believe that is expected and doesn't prevent the program from running.

Yes, the correct test would be

LD_LIBRARY_PATH=/tmp/par-dw/cache-e581c68d5aefe29e99d0bc96c3e2d11622c5ab4b \
 dd /tmp/par-dw/cache-e581c68d5aefe29e99d0bc96c3e2d11622c5ab4b/test

Cheers, Roderich

Reply via email to