rschupp / PAR-Packer

(perl) Generate stand-alone executables, perl scripts and PAR files https://metacpan.org/pod/PAR::Packer
Other
48 stars 13 forks source link

CryptFile.so: undefined symbol: OPENSSL_init_crypto #52

Closed leandrocombr closed 2 years ago

leandrocombr commented 2 years ago

Hello i'm running the command

pp -f Crypto -M Filter::Crypto::Decrypt -o hello hellp.pl

And I get the following message. I couldn't resolve it.

/usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/5.34.0/x86_64-linux/auto/Filter/Crypto/CryptFile/CryptFile.so: undefined symbol: OPENSSL_init_crypto

rschupp commented 2 years ago

I can't reproduce this. What does

readelf -d /usr/lib/perl5/site_perl/5.34.0/x86_64-linux/auto/Filter/Crypto/CryptFile/CryptFile.so

print?

leandrocombr commented 2 years ago

[root@servidor]# readelf -d /usr/lib/perl5/site_perl/5.34.0/x86_64-linux/auto/Filter/Crypto/CryptFile/CryptFile.so

readelf: /usr/lib/perl5/site_perl/5.34.0/x86_64-linux/auto/Filter/Crypto/CryptFile/CryptFile.so: Error: No such file

leandrocombr commented 2 years ago

Thanks.

I installed CryptFile.so, Worked perfectly!

I need to protect source code or make access to PERL source code difficult.

Any suggestion?