You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by abhishek agrawal <ab...@lycos.com> on 2001/04/19 20:11:29 UTC
problem with mod_perl and scripts .... please help!!!
Hi,
I am new to Apache and mod_perl. I have got the apache up
and running and also go the modperl installed.
When i try to run simple perl scripts under
http://localhost/perl/simple-script.plx
it works fine .... but when i try to run some scripts which use
perl modules such as Date::Calc ... it gives error .
i am using linux version of Active perl. I have installed the required
modules and it is looking at the correct path to find were the modules are installed.
I have checked the error_log and it gave the following error, when
i tried running a simple script date.pl
httpd: error while loading shared libraries: /usr/local/ActiverPerl.5.6/lib/site_perl/5.6.0/i686
-linux-therad-multi/auto/Date/Calc/calc.so : Undefined symbol: Perl_Gthr_key_ptr
i am sure that i have installed the module Date::Calc properly using
ppm. I dont know why is it giving this error. Is their some problem
using Activeperl and modperl together?
Abhishek
---
_____________________________________
The reward for working hard is more hard work.
Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/
Re: problem with mod_perl and scripts .... please help!!!
Posted by Vivek Khera <kh...@kciLink.com>.
>>>>> "aa" == abhishek agrawal <ab...@lycos.com> writes:
aa> i am sure that i have installed the module Date::Calc properly using
aa> ppm. I dont know why is it giving this error. Is their some problem
aa> using Activeperl and modperl together?
Obviously not, though. What happens when you run
perl -MDate::Calc -e 'print $Date::Calc::VERSION'
on a command line? Is that the same perl you had when you built
mod_perl?
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera@kciLink.com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/