You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Charles A. Monteiro" <ch...@datasof.com> on 2004/07/12 21:05:37 UTC

Newcomer: error upon loading mod_perl , undefined symbol: Perl_Ipatchlevel_ptr

Hi. Totally new to modperl2, we are using it in the context of  
RequestTracker, running on the latest version of perl i.e. 5.8.4 which was  
obtained from perl.org, also got the modperl from perl.apache.org, using  
the latest RHEL, etc

We get the following error which occurs when we attempt to start Apache.  
The error is:
  Syntax error on line 10 of /etc/httpd/conf.d/perl.conf:
Cannot load /etc/httpd/modules/mod_perl.so into server:   
/etc/httpd/modules/mod_perl.so: undefined symbol: Perl_Ipatchlevel_ptr

If there any other diagnostics that I can run please let me know. The help  
is greatly appreciated.

thanks

Charles

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: Newcomer: error upon loading mod_perl , undefined symbol: Perl_Ipatchlevel_ptr

Posted by "Charles A. Monteiro" <ch...@datasof.com>.
will do , just was not sure it was a bug in the first place :)

our sysadmin decided to call RedHat and get a proper srpm (5.8.3)from them  
i.e she un-installed 5.8.4 we she had built from source. BTW, RHEL latest  
version comes with perl 5.8.0.

Running the command you suggested I got:

ldd /etc/httpd/modules/mod_perl.so
         libperl.so =>  
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE/libperl.so (0xb74a0000)

also:

nm /usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE/libperl.so | grep  
patchlevel_ptr
001023b0 T Perl_Ipatchlevel_ptr

At this moment I don't know if the 5.8.3 fixed the issue , I will let you  
know later. Thought I include the above input so that you could confirm  
that they look as what is expected. If we still have an issue I will  
certainly use the bug system.

thanks

Charles


On Tue, 13 Jul 2004 12:48:35 -0700, Stas Bekman <st...@stason.org> wrote:

> Charles A. Monteiro wrote:
>> Actually we do:
>>  file:/home/oracle/OraHome1/Apache/Apache/libexec/libperl.so
>> file:/root/downloads/perl-5.8.4/libperl.so
>> file:/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
>> file:/usr/local/lib/perl5/5.8.4/i686-linux/CORE/libperl.so
>>  so does:
>>  file:/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
>>  count as being under /usr/lib/ i.e. is the issue with being directly  
>> under  or along its path?
>>  Am I to maintain only one location for libperl.so? I believe that my  
>> admin  will feel uncomfortable messing with the Oracle install.
>>  By your advise of "move it away" , should I simply delete:
>> file:/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so and  
>> for  that matter the entire 5.8.0 distribution since I assume that we  
>> should be  using 5.8.4?
>
> No, no, I meant a real /usr/lib/libperl.so. Your looks fine.
>
> Next complete a proper bug report (as you should always do in the  
> future):http://perl.apache.org/bugs/
>
> and in addition send us the output of
>
> % ldd /etc/httpd/modules/mod_perl.so
>
> next look at which libperl.so does it point. And do:
>
> % nm that/path/to/libperl.so | grep patchlevel_ptr
>
> and send it here too
>
> Thanks.
>
> __________________________________________________________________
> Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
> http://stason.org/     mod_perl Guide ---> http://perl.apache.org
> mailto:stas@stason.org http://use.perl.org http://apacheweek.com
> http://modperlbook.org http://apache.org   http://ticketmaster.com
>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: Newcomer: error upon loading mod_perl , undefined symbol: Perl_Ipatchlevel_ptr

Posted by Stas Bekman <st...@stason.org>.
Charles A. Monteiro wrote:
> Actually we do:
> 
> file:/home/oracle/OraHome1/Apache/Apache/libexec/libperl.so
> file:/root/downloads/perl-5.8.4/libperl.so
> file:/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
> file:/usr/local/lib/perl5/5.8.4/i686-linux/CORE/libperl.so
> 
> so does:
> 
> file:/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
> 
> count as being under /usr/lib/ i.e. is the issue with being directly 
> under  or along its path?
> 
> Am I to maintain only one location for libperl.so? I believe that my 
> admin  will feel uncomfortable messing with the Oracle install.
> 
> By your advise of "move it away" , should I simply delete:
> file:/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so and 
> for  that matter the entire 5.8.0 distribution since I assume that we 
> should be  using 5.8.4?

No, no, I meant a real /usr/lib/libperl.so. Your looks fine.

Next complete a proper bug report (as you should always do in the 
future):http://perl.apache.org/bugs/

and in addition send us the output of

% ldd /etc/httpd/modules/mod_perl.so

next look at which libperl.so does it point. And do:

% nm that/path/to/libperl.so | grep patchlevel_ptr

and send it here too

Thanks.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: Newcomer: error upon loading mod_perl , undefined symbol: Perl_Ipatchlevel_ptr

Posted by "Charles A. Monteiro" <ch...@datasof.com>.
Actually we do:

file:/home/oracle/OraHome1/Apache/Apache/libexec/libperl.so
file:/root/downloads/perl-5.8.4/libperl.so
file:/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
file:/usr/local/lib/perl5/5.8.4/i686-linux/CORE/libperl.so

so does:

file:/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so

count as being under /usr/lib/ i.e. is the issue with being directly under  
or along its path?

Am I to maintain only one location for libperl.so? I believe that my admin  
will feel uncomfortable messing with the Oracle install.

By your advise of "move it away" , should I simply delete:
file:/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so and for  
that matter the entire 5.8.0 distribution since I assume that we should be  
using 5.8.4?

thank you for your help,

-Charles



On Mon, 12 Jul 2004 12:12:58 -0700, Stas Bekman <st...@stason.org> wrote:

> Charles A. Monteiro wrote:
>> Hi. Totally new to modperl2, we are using it in the context of   
>> RequestTracker, running on the latest version of perl i.e. 5.8.4 which  
>> was  obtained from perl.org, also got the modperl from perl.apache.org,  
>> using  the latest RHEL, etc
>>  We get the following error which occurs when we attempt to start  
>> Apache.  The error is:
>>  Syntax error on line 10 of /etc/httpd/conf.d/perl.conf:
>> Cannot load /etc/httpd/modules/mod_perl.so into server:    
>> /etc/httpd/modules/mod_perl.so: undefined symbol: Perl_Ipatchlevel_ptr
>>  If there any other diagnostics that I can run please let me know. The  
>> help  is greatly appreciated.
>
> Most likely this is the case where you have more than one perl installed  
> on your system and one of them has libperl.so in /usr/lib, which is a  
> bad idea. If that'a case move it away and everything should work just  
> fine.
>
> If not, please file a proper bug report as explained here:
> http://perl.apache.org/bugs/
>
>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: Newcomer: error upon loading mod_perl , undefined symbol: Perl_Ipatchlevel_ptr

Posted by Stas Bekman <st...@stason.org>.
Charles A. Monteiro wrote:
> Hi. Totally new to modperl2, we are using it in the context of  
> RequestTracker, running on the latest version of perl i.e. 5.8.4 which 
> was  obtained from perl.org, also got the modperl from perl.apache.org, 
> using  the latest RHEL, etc
> 
> We get the following error which occurs when we attempt to start 
> Apache.  The error is:
>  Syntax error on line 10 of /etc/httpd/conf.d/perl.conf:
> Cannot load /etc/httpd/modules/mod_perl.so into server:   
> /etc/httpd/modules/mod_perl.so: undefined symbol: Perl_Ipatchlevel_ptr
> 
> If there any other diagnostics that I can run please let me know. The 
> help  is greatly appreciated.

Most likely this is the case where you have more than one perl installed 
on your system and one of them has libperl.so in /usr/lib, which is a 
bad idea. If that'a case move it away and everything should work just fine.

If not, please file a proper bug report as explained here:
http://perl.apache.org/bugs/


-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html