LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-15-2015, 04:37 PM   #1
rhodges
LQ Newbie
 
Registered: Jul 2015
Posts: 3

Rep: Reputation: Disabled
Can't locate Symbol/Global/Name.pm in @INC


I have just installed centos 7 and have been trying to get request tracker installed, I have fixed all errors and have gotten to the point I get a internal server error when I look at my httpd logs I see this long error message noted below.

Can't locate Symbol/Global/Name.pm in @INC (@INC contains: /opt/rt4/sbin/../local/lib /opt/rt4/sbin/../lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/rt4/sbin/../lib/RT/Config.pm line 56.
BEGIN failed--compilation aborted at /opt/rt4/sbin/../lib/RT/Config.pm line 56.
Compilation failed in require at /opt/rt4/sbin/../lib/RT.pm line 159

When i run a find command on my server i find the file is there not sure if cpan is not seeing the file or not. When I try and install this file cpan tells me its the newest file. I have verified this with cpan site and it is the newest file. I have checked all config files in httpd and request tracker with no luck. May just scrap this install for now. The file path for this config is not what is in the error log if that helps /root/perl5/lib/perl5/Symbol/Global/Name.pm so I know the module is there. What could i be missing here.
 
Old 07-15-2015, 06:45 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 3,929

Rep: Reputation: 1183Reputation: 1183Reputation: 1183Reputation: 1183Reputation: 1183Reputation: 1183Reputation: 1183Reputation: 1183Reputation: 1183
/root/perl5/lib/perl5/Symbol/Global/Name.pm is not the right place for a Perl module to be installed. Nothing under /root is accessible to a process running as a normal user. It should be installed under one of the directories on the @INC list. Try re-installing it.

If you want to print the @INC list in a human-readable way, issue the command:

Code:
perl -e 'print join("\n",@INC),"\n"'
To tes whether it is installed correctly, do:

Code:
perl -e 'use Symbol::Global::Name'

Last edited by smallpond; 07-15-2015 at 06:47 PM.
 
Old 07-15-2015, 06:47 PM   #3
rhodges
LQ Newbie
 
Registered: Jul 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
output of command

[root@Ghost httpd]# perl -e 'print join("\n",@INC),"\n"'
/root/perl5/lib/perl5/x86_64-linux-thread-multi
/root/perl5/lib/perl5
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5
 
Old 07-15-2015, 06:48 PM   #4
rhodges
LQ Newbie
 
Registered: Jul 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Nothing happens when i run this command perl -e 'use Symbol::Global::Name' just straight back to a prompt
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Global symbol "$psid" requires explicit package name at admin.pl line 16. james2009 Programming 1 07-04-2011 05:43 PM
Failed to locate kernel symbol table mahmoodn Ubuntu 4 03-07-2011 10:45 AM
LXer: OpenClinica Global Conference to Bring Together Global Community for Open Sourc LXer Syndicated Linux News 0 01-08-2010 11:50 AM
How to check the cpu utilization on all non global zones from Global Zone rajaniyer123 Solaris / OpenSolaris 3 10-09-2008 02:43 AM
Module usage :Global symbol "$ref" requires explicit package name rajatgarg Programming 2 12-17-2003 02:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration