perlapp complains about missing libperl.so

Posted by mterry on 2013-04-19 05:49
Forums: PDK Support | OS: Linux

so I have a perlapp, compiled with:
perlapp --exe linux-x86-64 --force --perl/opt/activeperl/bin/perl-static sonarpush.pl

note: there is no perl installed on the target system.

Why does the below error happen when the file is executed on the target system? This same perlapp works on an ubuntu system without perl, what is different about cent5.7?

[root@centos5.7 ~]# ./linux-x86-64
Error: Can't locate libperl.so
Make sure the ActivePerl bin directory is in your PATH
PATH=/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin

mterry | Fri, 2013-04-19 10:46

/tmp has noexec, so specify temp explicitly fixes issue.
resolved.

mterry | Fri, 2013-04-19 10:46

x

spanga | Mon, 2018-09-17 02:22

[spanga@hostname ~]$ sudo /sbin/service jobfeed_knowledge start
Starting jobfeed_knowledge: Failed
Error: Can't locate libperl.so
Make sure the ActivePerl bin directory is in your PATH
PATH=/sbin:/usr/sbin:/bin:/usr/bin