Re: undefined symbol: apreq_handle_apache2   problem

2023-06-21 Thread Scott Alexander
ttp://www.humak.fi/> Tel. +358 (0)50 411 9556 scott.alexan...@humak.fi<mailto:scott.alexan...@humak.fi> From: Neil Bowers Sent: 21 June 2023 12:01 To: Scott Alexander Subject: Re: undefined symbol: apreq_handle_apache2   problem Hi Scott, Try running

Re: Undefined subroutine &UNIVERSAL::ref::_hook called at /ModPerl/RegistryCooker.pm line 288

2017-06-17 Thread Vincent Veyron
On Fri, 16 Jun 2017 11:59:14 -0700 t...@ketro.com wrote: > Hey there, I'm getting random but sequential internal server errors, > which Apache logs showing: > > Undefined subroutine &UNIVERSAL::ref::_hook called at > /usr/local/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi/ModPerl/Registr

Re: Undefined symbol "modperl_io_perlio_restore_stdout"

2014-11-06 Thread Michael Schout
On 9/14/14 1:08 PM, Bernard T. Higonnet wrote: > -8<-- Start Bug Report 8<-- > 1. Problem Description: 99% sure what happened is that you didn't patch libtool in the mod_perl dist. Libtool misidentifies FreeBSD 10 as FreeBSD 1.x, and therefore thinks it can

Re: undefined

2014-09-23 Thread André Warnier
Bill Moseley wrote: I'm printing like this: my $octets = 'Быстрая коричневая лиса चाँद पर'; $r->log->warn( $octets ); $r->log->warn( Encode::decode_utf8( $octets ) ); print STDERR $octets; But what I get in the logs is this: [Tue Sep 23 09:12:07 2014] [warn] [client 10.5.24.82] \xd0\x91\xd

Re: undefined symbol modperl_xs_sv2request_rec

2011-02-04 Thread Joe Schaefer
The next release of apreq will contain a package called APR::Request::Magic, for apps that are meant to be portable between cgi and mp2. What you've reported isn't a bug in apreq or mp2, it's a bug in how your app uses apreq. APR::Request::Apache2 shouldn't be used outside a running modperl server

Re: undefined symbol modperl_xs_sv2request_rec

2011-02-04 Thread Fred Moyer
Can you post the code and the httpd conf? On Wed, Feb 2, 2011 at 10:28 PM, Mark Hedges wrote: > > A change in Module::Build recently brought it in line with > the behavior of ExtUtils::MakeMaker, which caused an error > to crop up in test cases: > > # Error: Can't load > '/usr/lib/perl5/site_per

Re: undefined symbol modperl_xs_sv2request_rec

2011-02-04 Thread Mark Hedges
On Wed, 2 Feb 2011, Mark Hedges wrote: > > A change in Module::Build recently brought it in line with > the behavior of ExtUtils::MakeMaker, which caused an error > to crop up in test cases: > > # Error: Can't load > '/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/APR/Request/Apache2

Re: Undefined symbol "Perl_pad_sv" building mp2 (all is well)

2009-09-04 Thread craig
Fred Moyer and Michael Peters were correct about not wanting to have 5.8.x libraries under perl 5.10.1. As soon as I built a 5.10.1 cleanly with no retained libraries, the undef's in Dynaload in mod_perl2 make test went away. The biggest remaining problem was getting apreq2-2.12 to build correct

Re: Undefined symbol "Perl_pad_sv" building mp2

2009-09-02 Thread craig
On Sep 2, 2009, at 6:21 AM, Michael Peters wrote: cr...@animalhead.com wrote: I have always included previous perl libraries in the @INC of new builds. And it has always worked, with the single exception of building mod_perl2 this time. All of the perl scripts and modules on my site work we

Re: Undefined symbol "Perl_pad_sv" building mp2 (resolved but all not well)

2009-09-02 Thread craig
Hi Fred, Decided to look at the source found by your 'ack'. It turns out that, in file pad.c, someone in the perl 5.10.0 or 5.10.1 project decided that the Perl_pad_sv routine was only needed if -DDEBUGGING was specified for the Perl build. Fixed this by commenting out the #ifdef DEBUGGING at l

Re: Undefined symbol "Perl_pad_sv" building mp2

2009-09-01 Thread Fred Moyer
On Tue, Sep 1, 2009 at 10:14 PM, wrote: > But this is the mod_perl mailing list.  It is the place to which > one sends reports of bugs or problems with mod_perl.  I sent such > a report, citing this undefined symbol when building mod_perl2. Right, but if you are mixing major versions of perl, you

Re: Undefined symbol "Perl_pad_sv" building mp2

2009-09-01 Thread craig
But this is the mod_perl mailing list. It is the place to which one sends reports of bugs or problems with mod_perl. I sent such a report, citing this undefined symbol when building mod_perl2. It is hard for me to imagine that the fact that I gave the perl build process a list of directories to

Re: Undefined symbol "Perl_pad_sv" building mp2

2009-09-01 Thread Fred Moyer
[cc'ing the list as to not break the thread] On Tue, Sep 1, 2009 at 7:41 PM, wrote: > I have always included previous perl libraries in the @INC of > new builds.  And it has always worked, with the single > exception of building mod_perl2 this time.  All of the perl > scripts and modules on my si

Re: Undefined symbol "Perl_pad_sv" building mp2

2009-09-01 Thread Fred Moyer
Can you please cc the list on all replies? On Tue, Sep 1, 2009 at 5:41 PM, wrote: > cd /build/perl-5.10.1/ > make veryclean > ./Configure -Dd_dosuid > -Dotherlibdirs=/usr/local/lib/perl5/5.8.9:/usr/local/lib/perl5/site_perl/5.8.9:/usr/local/lib/perl5/5.8.8:/usr/local/lib/perl5/site_perl/5.8.8:/us

Re: Undefined symbol "Perl_pad_sv" building mp2

2009-09-01 Thread Fred Moyer
On Tue, Sep 1, 2009 at 9:27 AM, wrote: > A bit more data on the problem reported below: > > /build/modperl-2.0 $ grep -r Perl_pad_sv * > Binary file src/modules/perl/mod_perl.so matches > /build/modperl-2.0 $ ll src/modules/perl/mod_perl.so > -rwxr-xr-x  1 user  wheel  1559168 Aug 29 21:22 src/mod

Re: Undefined symbol "Perl_pad_sv" building mp2

2009-09-01 Thread craig
A bit more data on the problem reported below: /build/modperl-2.0 $ grep -r Perl_pad_sv * Binary file src/modules/perl/mod_perl.so matches /build/modperl-2.0 $ ll src/modules/perl/mod_perl.so -rwxr-xr-x 1 user wheel 1559168 Aug 29 21:22 src/modules/perl/ mod_perl.so /build/modperl-2.0 $ cd /

Re: Undefined symbol "Perl_pad_sv" building mp2

2009-08-30 Thread craig
On Aug 30, 2009, at 11:49 AM, Fred Moyer wrote: On Sat, Aug 29, 2009 at 9:43 PM, wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: I have upgraded to Apache 2.2.13 and Perl 5.10.1. Both seem to be working OK, although Apache with using my

Re: Undefined symbol "Perl_pad_sv building mp2

2009-08-30 Thread Fred Moyer
On Sat, Aug 29, 2009 at 9:43 PM, wrote: > -8<-- Start Bug Report 8<-- > 1. Problem Description: > > I have upgraded to Apache 2.2.13 and Perl 5.10.1.  Both seem to be working > OK, > although Apache with using my old mod_perl 2.04 that uses perl 5.8.9. Have

Re: Undefined subroutine error

2009-04-21 Thread Roberto C . Sánchez
On Tue, Apr 21, 2009 at 01:30:58PM -0400, Perrin Harkins wrote: > On Tue, Apr 21, 2009 at 12:22 PM, Roberto C. Sánchez > wrote: > > So, on a lark I tried moving the "PerlModule Example::Image" from the > > .htacess file to the virtual host configuration.  I then restarted > > apache.  So far, it s

Re: Undefined subroutine error

2009-04-21 Thread Perrin Harkins
On Tue, Apr 21, 2009 at 12:22 PM, Roberto C. Sánchez wrote: > So, on a lark I tried moving the "PerlModule Example::Image" from the > .htacess file to the virtual host configuration.  I then restarted > apache.  So far, it seems to have been working for several days.  In the > past, the problem wo

Re: Undefined subroutine error

2009-04-21 Thread Roberto C . Sánchez
On Tue, Apr 14, 2009 at 01:56:57PM -0400, Perrin Harkins wrote: > On Tue, Apr 14, 2009 at 1:34 PM, Roberto C. Sánchez > wrote: > > On Tue, Apr 14, 2009 at 01:21:09PM -0400, Perrin Harkins wrote: > >> On Tue, Apr 14, 2009 at 12:48 PM, Roberto C. Sánchez > >> wrote: > >> > As far as loading the mod

Re: Undefined subroutine error

2009-04-15 Thread Roberto C . Sánchez
On Wed, Apr 15, 2009 at 10:29:20AM +0200, Torsten Foertsch wrote: > > Ok, then how about checking if your module is really loaded. > Apache2::Status provides that or you could probably use this > PerlResponseHandler (untested): > > > SetHandler modperl > PerlResponseHandler "sub {

Re: Undefined subroutine error

2009-04-15 Thread Torsten Foertsch
On Wed 15 Apr 2009, Roberto C. Sánchez wrote: > > Would it be possible to post your module? Perhaps you forgot > > the "package" declaration? > > --8<-->8-- > > package Example::Image; Ok, then how about checking if your module is really loaded. Apache2::Status provides th

Re: Undefined subroutine error

2009-04-14 Thread Roberto C . Sánchez
On Tue, Apr 14, 2009 at 07:48:49PM +0200, Torsten Foertsch wrote: > On Tue 14 Apr 2009, Roberto C. Sánchez wrote: > > I am currently using the latter call everywhere and it is still > > generating the "Undefined subroutine" error. > > Would it be possible to post your module? Perhaps you forgot >

Re: Undefined subroutine error

2009-04-14 Thread Perrin Harkins
On Tue, Apr 14, 2009 at 1:34 PM, Roberto C. Sánchez wrote: > On Tue, Apr 14, 2009 at 01:21:09PM -0400, Perrin Harkins wrote: >> On Tue, Apr 14, 2009 at 12:48 PM, Roberto C. Sánchez >> wrote: >> > As far as loading the module, I have tried: >> > >> >  - "PerlModule Example::Image" in .htaccess >>

Re: Undefined subroutine error

2009-04-14 Thread Torsten Foertsch
On Tue 14 Apr 2009, Roberto C. Sánchez wrote: > I am currently using the latter call everywhere and it is still > generating the "Undefined subroutine" error. Would it be possible to post your module? Perhaps you forgot the "package" declaration? Torsten -- Need professional mod_perl support?

Re: Undefined subroutine error

2009-04-14 Thread Roberto C . Sánchez
On Tue, Apr 14, 2009 at 01:21:09PM -0400, Perrin Harkins wrote: > On Tue, Apr 14, 2009 at 12:48 PM, Roberto C. Sánchez > wrote: > > As far as loading the module, I have tried: > > > >  - "PerlModule Example::Image" in .htaccess > >  - "use Example::Image;" in the main HTML::Mason component > > Ei

Re: Undefined subroutine error

2009-04-14 Thread Perrin Harkins
On Tue, Apr 14, 2009 at 12:48 PM, Roberto C. Sánchez wrote: > As far as loading the module, I have tried: > >  - "PerlModule Example::Image" in .htaccess >  - "use Example::Image;" in the main HTML::Mason component Either of those should be ok. If you decide to export the sub later, you'd need t

Re: Undefined subroutine error

2009-04-14 Thread Roberto C . Sánchez
On Tue, Apr 14, 2009 at 12:36:25PM -0400, Perrin Harkins wrote: > On Tue, Apr 14, 2009 at 8:38 AM, Roberto C. Sánchez > wrote: > > OK, so the changes to include the mod_include and mod_disk_cache on the > > production server did not do the trick.  The problem persists. > > I think it's all about

Re: Undefined subroutine error

2009-04-14 Thread Perrin Harkins
On Tue, Apr 14, 2009 at 8:38 AM, Roberto C. Sánchez wrote: > OK, so the changes to include the mod_include and mod_disk_cache on the > production server did not do the trick.  The problem persists. I think it's all about the way you export your function, but you haven't answered my question about

Re: Undefined subroutine error

2009-04-14 Thread Roberto C . Sánchez
On Mon, Apr 13, 2009 at 10:12:27PM -0400, Perrin Harkins wrote: > > Are they really identically configured? Are you sure there isn't a > difference in startup.pl or in MaxRequestsPerChild or something like > that? > OK, so the changes to include the mod_include and mod_disk_cache on the producti

Re: Undefined subroutine error

2009-04-13 Thread Perrin Harkins
On Mon, Apr 13, 2009 at 10:54 PM, Roberto C. Sánchez wrote: > The entire Example/Image.pm: I don't see you exporting get_image_data. Do you call it with a fully-qualified name then? e.g. Example::Image::get_image_data(). - Perrin

Re: Undefined subroutine error

2009-04-13 Thread Roberto C . Sánchez
On Mon, Apr 13, 2009 at 10:12:27PM -0400, Perrin Harkins wrote: > > In your Image.pm module, do you declare a package name? Do you export > get_image_name()? How do you load this module in your new Mason > setup? > The entire Example/Image.pm: --8<-->8-- package Exampl

Re: Undefined subroutine error

2009-04-13 Thread Perrin Harkins
On Mon, Apr 13, 2009 at 8:21 PM, Roberto C. Sánchez wrote: > I've been dealing with trying to figure out an "Undefined subroutine" > error on one of my sites.  At first I thought it was something to do > with Apache::ASP, so I sent a message requesting help to that list: > http://mail-archives.apa

Re: undefined subroutine: get_server_description, get_server_banner

2008-04-09 Thread Jeff
Doh! Thanks for that Adam! The version info in the docs was indeed staring me in the face An MP2 upgrade is out of the question - Debian Stable is 2.0.2 for the next few years (historically, 3 year cycle, Stable was first released Aug-07), Testing and Unstable currently have MP2.0.3_5, but th

Re: undefined subroutine: get_server_description, get_server_banner

2008-04-08 Thread adam . prime
Quoting Jeff Armstrong <[EMAIL PROTECTED]>: Folks, indicates that I should be able to: $description = Apache2::ServerUtil::get_server_description(); however, I find that Apache2::ServerUtil::get_se

Re: undefined subroutine: get_server_description, get_server_banner

2008-04-08 Thread Jeff
Did you remember to "use Apache2::ServerUtil"? It's probably obvious, but it's easy to miss sometimes - mod_perl doesn't pull in all the APIs automatically, just what you specify (to avoid memory overhead for things you don't use). Yes - I have already used Apache2::ServerUtil - other funcs ar

Re: undefined subroutine: get_server_description, get_server_banner

2008-04-08 Thread Torsten Foertsch
On Tue 08 Apr 2008, Jeff Armstrong wrote: > More specifically, I was also hoping to gain direct access to the SSL > connection info for client certificate authentication - e.g. the stuff > that appears in %ENV like: >   SSL_CLIENT_S_DN_CN >   SSL_CLIENT_S_DN_Email >   SSL_CLIENT_S_DN Apache2::ModS

Re: undefined subroutine: get_server_description, get_server_banner

2008-04-08 Thread Malcolm
On Tuesday 08 April 2008 07:26:55 am Jeff Armstrong wrote: > Folks, > > escription_> indicates that I should be able to: >$description = Apache2::ServerUtil::get_server_description(); > > however, I find that >Ap

Re: undefined subroutine: get_server_description, get_server_banner

2008-04-08 Thread Jeff Armstrong
Folks, I am finding this frustrating - many of the documented functions do not appear to work, another example - I am trying to find the local IP and port of the connection - local_ip works, $r->connection->local_addr->port() does not, and $r->server->port() return 0. Has anyone already wr

RE: Undefined symbol compile errors with mod_perl-1.99_14 and AIX 5.2

2007-03-15 Thread Crumley, Martin \(GE Infra, Energy\)
er options I'm using. Thanks, Martin -Original Message- From: imacat [mailto:[EMAIL PROTECTED] Sent: 15 March 2007 10:15 To: mod_perl Subject: Re: Undefined symbol compile errors with mod_perl-1.99_14 and AIX 5.2 On Thu, 15 Mar 2007 10:55:47 +0100 "Crumley, Martin \(GE Infr

Re: Undefined symbol compile errors with mod_perl-1.99_14 and AIX 5.2

2007-03-15 Thread imacat
On Thu, 15 Mar 2007 10:55:47 +0100 "Crumley, Martin \(GE Infra, Energy\)" <[EMAIL PROTECTED]> wrote: > I'm experiencing problems when I run the make command on > mod_perl-1.99_14. I'm including an extract of the output when running > the make. Why not using mod_perl 2.0.3? Version 1.99_xx

Re: undefined routines & mod_dbd

2007-01-30 Thread Philip M. Gollucci
Robert Landrum wrote: > I suspect that this may be because you're not actually running in > mod_perl. Aside from that, I don't see any methods actually defined in > Apache2::Module::loaded... not even a bootstrap. So it might need to > be loaded from something like Apache2. mod_dbd is not yet wr

RE: undefined routines & mod_dbd

2007-01-30 Thread Garnier, Jeremie
Sorry, i twas just an error in my httpd.conf. Can I access to mod_dbd function with the mod_perl? Thanks Jérémie -Message d'origine- De : Robert Landrum [mailto:[EMAIL PROTECTED] Envoyé : mardi 30 janvier 2007 17:46 À : Garnier, Jeremie Cc : Modperl@perl.apache.org Objet : Re: unde

Re: undefined routines & mod_dbd

2007-01-30 Thread Robert Landrum
Garnier, Jeremie wrote: use Apache2::Module (); # test if an Apache module is loaded if (Apache2::Module::loaded('mod_dbd.c')) { … } But it dones: Undefined subroutine &Apache2::Module::loaded call at… I suspect that this may be because you're not actually running in mod_perl.

Re: Undefined subroutine in the included templates

2006-11-21 Thread Jeff Pang
>You're running into this problem: >http://perl.apache.org/docs/1.0/guide/porting.html#Name_collisions_with_Modules_and_libs > >The best solution is to put your subs into a namespace with a package >declaration. Sorry I don't think so since both the template name and the subroutine name are u

Re: Undefined subroutine in the included templates

2006-11-19 Thread Perrin Harkins
Jeff Pang wrote: [error] Undefined subroutine &Apache::ROOT::groups::listMembers_2epl::print_groupshow_head called at /home/apache1.3/modperl/listMembers.pl line 26.\n You're running into this problem: http://perl.apache.org/docs/1.0/guide/porting.html#Name_collisions_with_Modules_and_libs T

Re: Undefined Value error

2005-11-16 Thread Philippe M. Chiasson
Philippe M. Chiasson wrote: > Brenda Washington wrote: > >>I'm getting this error when running a test in mod_perl. I've looked at the >>httpd.conf file and I can't figure out >>what's causing this error, or how to fix it. How do I re-define the value at >>line 2107? This problem has possibly b

Re: Undefined Value error

2005-11-16 Thread Philippe M. Chiasson
Brenda Washington wrote: > I'm getting this error when running a test in mod_perl. I've looked at the > httpd.conf file and I can't figure out > what's causing this error, or how to fix it. How do I re-define the value at > line 2107? > > [Tue Nov 15 14:36:14 2005] [info] 0 APR:: modules loaded

Re: undefined symbol: perl_get_cv

2005-11-02 Thread Philip M. Gollucci
Marc Tardif wrote: I am trying to compile mod_perl-2.0.2 with httpd-2.0.55. These are the compilation options I used for mod_perl: What OS and perl -V ? # perl Makefile.PL MP_APXS=/path/to/bin/apxs Good Syntax error on line 235 of /path/to/etc/apache/httpd.conf: Cannot load /path/to/

Re: undefined symbol: PerlIOBase_binmode

2005-03-13 Thread Stas Bekman
Andreas Krüger wrote: Hello, [...] When I run make test; it comes up with this error: Cannot load /root/mod_perl-2.0.0-RC4/src/modules/perl/mod_perl.so into server: /root/mod_perl-2.0.0-RC4/src/modules/perl/mod_perl.so: undefined symbol: PerlIOBase_binmode [ error] And I have NO clue why it does t