This has been seen before.  It was fixed with 0.8, I think.  Install the
latest PAR and try again.

----- Original Message ----- 
From: "Vlad Harchev" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 11, 2004 7:46 AM
Subject: bugreport: exes produced by pp on unix with perl with libperl.so
present don't work


> Hello,
>
> I've built a perl-5.8.0 from source on my RH7.3 with dynamic library
> (libperl.so) support.
> The problem is that on systems without perl installed when I run the
> executable produced by it I get an error:
>
> ./1.bin: error while loading shared libraries: libperl.so: cannot open
shared object file: No such file or directory
>
> The solution is to add '.' to the value of environment variable
> LD_LIBRARY_PATH (it doesn't include '.' most of the times for security
reasons
> of course).
>
> After manually adding current directory to $LD_LIBRARY_PATH executable
works
> fine.
>
> It seems PAR booting code should add value of $PAR_TEMP (or in the worst
case -
> '.' instead - but that's very insecure!) when trying to run executable
from
> the archive.
>
> But this problem is of course specific to the case when perl is build with
> libperl.so
>
> -- 
>  Best regards,
>   -Vlad

Reply via email to