in reply to Re: Re: Re: How to get use to follow symbolic links?
in thread How to get use to follow symbolic links?

I guess so.

The module I want the cgi to use is: PMLS::T9::Common.pm

I get:

 Error message:
Can't locate PMLS/T9/Common.pm in @INC (@INC contains:
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Apache2 
/data/nlpdev/pm /data/nlpdev
/usr/lib/perl5/5.8.0/i586-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl) at
/data/nlpdev/dia.cgi line 17, line 9. BEGIN
failed--compilation aborted at /data/nlpdev/dia.cgi line 17, 
line 9.
but in /data/nlpdev/pm is a (working) symbolic link PMLS-> someotherdir

Needless to say, that a cat /data/nlpdev/pm/PMLS/T9/Common.pm works. If I remove the Link and replace it with the directory it is pointing to, everything works. I see no error on my side.

Bye
 PetaMem
    All Perl:   MT, NLP, NLU

  • Comment on Re: Re: Re: Re: How to get use to follow symbolic links?

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: How to get use to follow symbolic links?
by rdfield (Priest) on Nov 06, 2003 at 12:23 UTC
    Are all the directories in /data/nlpdev/pm/PMLS/T9 world readable? Is Common.pm world readable? Apache/mod_perl runs as "nobody", so has limited ability to see files on the system.

    rdfield

      Oh man...the solution:

      Yes, Everything was world readable. Everything. Even the directories. But they were not world executable, so the cd to them failed for nobody... And I tried it of course as user, who was owner of these...

      Bye
       PetaMem
          All Perl:   MT, NLP, NLU