Search This Blog

Monday, August 15, 2016

Running ActivePerl compiled executable in linux

Perl Error:
Panic: '/usr/lib64/perl5/CORE/libperl.so' is not an ActivePerl 5.14 library

Solution 1: remove noexec switch from /tmp
Solution 2: perlapp --tmpdir "tmp_directory", for me I created a tmp folder in the same folder as the executable, and then referenced to it using --tmpdir. when the executable execute, it extracts all the required libraries to the "tmp_directory".

How to find out what Active Directory groups you are in

Command Prompt:
gpresult /V

Friday, August 12, 2016

Compiled exe ActiveState Perl Net::LDAP failed to establish connection

Compiled exe using ActiveState Perl Net::LDAP failed to establish connection
Reference: http://www.nntp.perl.org/group/perl.ldap/2014/04/msg3756.html

Solution: rename C:\Perl64\site\lib\IO\Socket\INET6.pm to for example, C:\Perl64\site\lib\IO\Socket\INET6.pm.old