Use lib should include local lib path as well.
Regards, Ruslan. From phone. 2010 11 2 21:32 пользователь "testwreq wreq" <testw...@gmail.com> написал: > I have RT 3.8.2; I have followed the wiki for external authentication. Now, > I am at the step where I have to clean the emal addresses for ldap > usernames. the wiki for this is > http://wiki.bestpractical.com/view/rt_logins_email2ldap > > I changed "use lib" in the code to use lib qw(/data/rt3/lib); All the > external authentication modules are located in > /data/rt3/local/plugins/RT-Authen-ExternalAuth > folder. > > When I run ./rt_logins_email2ldap -h, I get errors as follows: > Can't locate RT/Authen/ExternalAuth.pm in @INC (@INC contains: /data/rt3/lib > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl > /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at > /data/rt3/lib/RT.pm line 625. > > Can anyone assist on this issue? > > Thank you in advance .. sbu