problem installing mod_perl-2.0.3 on Apache2/2.2.4: Apache/Constants/Constants.so: undefined symbol: perl_require_module

2007-05-28 Thread Mark Wood-Patrick
1. Problem Description: On running the apache server I get: /usr/local/apache_2.2.4/bin/httpd: relocation error: /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux/auto/Apache/Constants/Constants.so: undefined symbol: perl_require_module This appears to go away if I remove: PerlModul

Re: problem calling a file under mod_perl2

2007-05-28 Thread Alicia Amadoz
Hi again, Thanks for your suggestions Clint. I have tried some more things and it doesn't work yet. In my httpd.conf file I have this configuration: PerlSwitches -wT PerlPostConfigRequire /usr/local/apache2/htdocs/www/p_scripts/perl-cgi/startup.pl SetHandler perl-script PerlRes

Re: non-http request service by mod_perl or mod_cgi or else

2007-05-28 Thread Max Rodkin
Hi,Perrin yes, Perrin, it`s very good article, but one question: is described pre_connection handler implementation method suitable for my hosting? The phpinfo information: " Apache Version Apache/1.3.34 (Unix) mod_fastcgi/2.4.0 PHP/4.4.0 mod_deflate/1.0.21 rus/PL30.22 Loaded Module

Re: problem calling a file under mod_perl2

2007-05-28 Thread Clinton Gormley
On Mon, 2007-05-28 at 12:36 +0200, Alicia Amadoz wrote: > Hi, > > I have tried with adding the directory where perl_functions.pl lives in > my startup.pl file. Again, the error is the following: > > Can't locate perl_functions.pl in @INC So you need to examine @INC to see what is missing. just

Re: problem calling a file under mod_perl2

2007-05-28 Thread Alicia Amadoz
Hi, I have tried with adding the directory where perl_functions.pl lives in my startup.pl file. Again, the error is the following: Can't locate perl_functions.pl in @INC I have also tried with the absolute path at require "path"; in 'search.pl' and it works ok. But I need to work with relative p

Re: problem calling a file under mod_perl2

2007-05-28 Thread Clinton Gormley
Hi Alicia The handling of the current working directory has changed from mod_perl 1 to mod_perl 2. In mod_perl1, mod perl registry used to chdir into the script's directory. This no longer happens as mod_perl2 has to support threads, and chdir is not thread safe - it would affect all other thre

problem calling a file under mod_perl2

2007-05-28 Thread Alicia Amadoz
Hi, I have a problem loading a perl file under mode_perl2. I want to reuse some subrutines that I have in 'perl_functions.pl' file and I am trying to call this file from 'search.pl' file. I get this error: Can't locate ../perl_functions.pl in @INC My configuration is the following: In httpd.