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

Monday, May 25, 2015

Install Perl Modules on CentOS 6

sudo yum install perl-CPAN
sudo cpan
say "yes" to everything

I had an error about missing perl-YAML, sudo yum install perl-YAML, as well.

Saturday, May 16, 2015

Can't Install Modules and Themes From Drupal Page on CentOS 6

This is the error message that I got.


Run command "sudo setsebool -P httpd_can_network_connect on", it might take a few minutes for it to fully complete.