Can't locate in @INC

Posted by lcornelius on 2014-01-30 01:45

Hi all,

I have been using active state perl for over 8 years.
The person that setup the dev servers have since left.

We purchased the latest version of PDK.
I installed a new server with PDK 9.2.1 and Perl 5.16.3

The PERLLIB ENV is set to c:\Perl64\site\lib and c:\Perl64\lib

When I compile the perl script to exe everything works fine.
When I execute the script I get the following error:

Can't locate in @INC (@INC contains: C:\dev\perl\) at /Net/ line 536

It is almost like the compiler don't add the libraries to the exe.
If I then static link the libs in my perl script: use lib qw (c:\Perl64\site\lib c:\Perl64\lib) ; it works on the local machine I compiled it on.

If I then run the exe on a different computer I get the following error:
Can't locate in @INC (@INC contains: c:\Perl64\site\lib c:\Perl64\lib D:\mytestfolder) at /Net/ line 536

All advise would be greatly appreciated.

lcornelius | Thu, 2014-01-30 21:15

After debugging for 48 hours I'm still stuck.

ActiveState Staff
Mon, 2014-09-22 06:29

add an explicit
use arybase;
to your code to key PerlApp