[rt-users] RT-Authen-ExternalAuth plugin causes 'Can't locate Apache.pm in @INC' issue

Srikumar Nair srikumarp at fb.com
Wed Feb 1 20:33:38 EST 2012



We have a RT 4.0.4 installation running on Apache.
We have some front end PHP code that calls Perl scripts which use Perl RT APIs for RT interactions.

Recently we installed the RT-Authen-ExternalAuth plugin (version 0.09) to RT.
This creates the the following error when ever the php tries to invoke the perl scripts.
But if I remove the plugin from the RT_SiteConfig.pm file everything works fine again.

Has anyone see this issue?


Can't locate Apache.pm in @INC (@INC contains: /opt/rt4/local/lib /opt/rt4/local/plugins/RT-Site-Facebook-TicketPageMenu/lib /opt/rt4/local/plugins/RT-Site-Facebook-SetQueue/lib /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib /opt/rt4/local/plugins/RT-Extension-ArticleTemplates/lib /opt/rt4/lib /opt/rt4/share/html/fb/perl /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 /usr/lib/perl5/5.8.8/CGI/Cookie.pm line 38, <DATA> line 558.
Compilation failed in require at /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI/Cookie.pm line 3, <DATA> line 558.
BEGIN failed--compilation aborted at /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI/Cookie.pm line 3, <DATA> line 558.
Compilation failed in require at /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm line 4, <DATA> line 558.
BEGIN failed--compilation aborted at /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm line 4, <DATA> line 558.
Compilation failed in require at /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm line 27, <DATA> line 558.
BEGIN failed--compilation aborted at /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm line 27, <DATA> line 558.

Thanks a bunch.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120202/60824ec1/attachment.htm>


More information about the rt-users mailing list