Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-21 Thread Stas Bekman
MARTIN Pierre wrote: [...] My mistake was that i removed perl, and so everything which has been previously configured with default perl version was broken and unable to work with the new perl installation i made... for the future, you can always install perl to a special directory (e.g. $HOME/perl

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-21 Thread MARTIN Pierre
Hello here to everybody who helped me when i was in troubles... I write this just to tell you where i am now, i hope it will help you to understand something new in the "linker" (???) subject. So, my problem was, that i was unable to compile modperl 2 with apache 2. Not exactly will you say, i wa

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-13 Thread Stas Bekman
Joe Orton wrote: On Wed, Oct 13, 2004 at 05:02:30PM -0400, Stas Bekman wrote: Joe Orton wrote: If -lperl was specified on the link line and ldd does not show a dependency on libperl.so.N, then barring a complete linker fubar, it must be the case that a libperl.a was linked statically. I doubt that

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-13 Thread Joe Orton
On Wed, Oct 13, 2004 at 05:02:30PM -0400, Stas Bekman wrote: > Joe Orton wrote: > >If -lperl was specified on the link line and ldd does not show a > >dependency on libperl.so.N, then barring a complete linker fubar, it > >must be the case that a libperl.a was linked statically. > > I doubt that t

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-13 Thread Stas Bekman
Joe Orton wrote: On Wed, Oct 13, 2004 at 08:26:43AM -0400, Stas Bekman wrote: Joe Orton wrote: This problem is probably caused by a bogus libperl.a on your system somewhere. What does: ls -l /usr/lib/perl/5.6.1/CORE/libperl.* /usr/lib/libperl.* \ /usr/local/lib/libperl.* give? IMHO, it's libperl

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-13 Thread Joe Orton
On Wed, Oct 13, 2004 at 08:26:43AM -0400, Stas Bekman wrote: > Joe Orton wrote: > >This problem is probably caused by a bogus libperl.a on your system > >somewhere. What does: > > > >ls -l /usr/lib/perl/5.6.1/CORE/libperl.* /usr/lib/libperl.* \ > > /usr/local/lib/libperl.* > > > >give? > > IMH

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-13 Thread Stas Bekman
Joe Orton wrote: On Mon, Oct 11, 2004 at 11:47:33PM +0200, MARTIN Pierre wrote: Please do: cd src/modules/perl/ rm mod_perl.so make -f Makefile.modperl Here we go: /data/misc/mod_perl-1.99_16/src/modules/perl# rm mod_perl.so /data/misc/mod_perl-1.99_16/src/modules/perl# make -f Makefile.modperl rm

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-12 Thread Joe Orton
On Mon, Oct 11, 2004 at 11:47:33PM +0200, MARTIN Pierre wrote: > > Please do: > > cd src/modules/perl/ > > rm mod_perl.so > > make -f Makefile.modperl > > Here we go: > > /data/misc/mod_perl-1.99_16/src/modules/perl# rm mod_perl.so > /data/misc/mod_perl-1.99_16/src/modules/perl# make -f Makefile.

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-12 Thread MARTIN Pierre
Hello Nick, > If you want mod_perl for Apache2 in Debian, I'd suggest you use a > packaged > version; it's a lot easier. My problem is, that i CANT get the debian package because i compiled & installed apache manualy. Few weeks ago i tryed to override some debian dependency packages, and the resu

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-12 Thread MARTIN Pierre
> Hi Pierre, Hello William, > I run Apache with Debian and have had > troubles in the past with compiling mod_perl due to having two copies of > libperl.so[1]; I think this would more likely be the case if you have > compiled Perl yourself. We discussed about all this with Stas and we arrived at

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-12 Thread William McKee
Hi Pierre, You're in the right place. I run Apache with Debian and have had troubles in the past with compiling mod_perl due to having two copies of libperl.so[1]; I think this would more likely be the case if you have compiled Perl yourself. William [1] http://mathforum.org/epigone/modperl/pe

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-11 Thread Nick Phillips
On 12/10/2004, at 11:46 AM, MARTIN Pierre wrote: I think your linker is broken. I say that because it included the linking directives: -L/usr/lib/perl/5.6.1/CORE -lperl but the resulting mod_perl.so doesn't show it up. It should have complained if it didn't find it. Try upgrading your linker (

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-11 Thread Stas Bekman
MARTIN Pierre wrote: I think your linker is broken. I say that because it included the linking directives: -L/usr/lib/perl/5.6.1/CORE -lperl but the resulting mod_perl.so doesn't show it up. It should have complained if it didn't find it. Try upgrading your linker (cc) and try rebuilding mod_perl

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-11 Thread MARTIN Pierre
> I think your linker is broken. I say that because it included the linking > directives: > >-L/usr/lib/perl/5.6.1/CORE -lperl > > but the resulting mod_perl.so doesn't show it up. It should have > complained if it didn't find it. Try upgrading your linker (cc) and try > rebuilding mod_perl aga

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-11 Thread Stas Bekman
MARTIN Pierre wrote: Please do: cd src/modules/perl/ rm mod_perl.so make -f Makefile.modperl Here we go: /data/misc/mod_perl-1.99_16/src/modules/perl# rm mod_perl.so /data/misc/mod_perl-1.99_16/src/modules/perl# make -f Makefile.modperl rm -f mod_perl.so cc -shared -L/usr/local/lib \ [...] -rdyna

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-11 Thread MARTIN Pierre
> Please do: > cd src/modules/perl/ > rm mod_perl.so > make -f Makefile.modperl Here we go: /data/misc/mod_perl-1.99_16/src/modules/perl# rm mod_perl.so /data/misc/mod_perl-1.99_16/src/modules/perl# make -f Makefile.modperl rm -f mod_perl.so cc -shared -L/usr/local/lib \ \ mod_perl.lo modperl_in

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-11 Thread Stas Bekman
MARTIN Pierre wrote: what happens if you do: nm src/modules/perl/mod_perl.so | grep PL_ U PL_curcop OK, so we now know that perl wasn't linked statically. If it was it'd have been shown as resolved (usually T instead of U) and this: ldd -r src/modules/perl/mod_perl.so OUCH Output is

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-11 Thread MARTIN Pierre
> what happens if you do: >nm src/modules/perl/mod_perl.so | grep PL_ U PL_curcop U PL_curinterp U PL_curpad U PL_curstack U PL_curstackinfo U PL_curstash U PL_defoutgv U PL_defstash U PL_diehook U PL_egi

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-11 Thread Stas Bekman
MARTIN Pierre wrote: Hmm, can you please paste the arguments you passed to perl Makefile.PL? I can't figure out why the above output doesn't show a link to libperl.so To configure i just did: perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 MP_INST_APACHE2=1 Is there a step before that i forgot? N

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-11 Thread MARTIN Pierre
> Hmm, can you please paste the arguments you passed to perl Makefile.PL? I > can't figure out why the above output doesn't show a link to libperl.so To configure i just did: perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 MP_INST_APACHE2=1 Is there a step before that i forgot? /data/misc/mod_pe

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-11 Thread Stas Bekman
MARTIN Pierre wrote: Hello again, Here are the needed informations, this time CCed to all the mailing list: [one more tip: when you reply on the top (which is not the best thing to do) please don't quote the whole previous email. The best technique is to remove all irrelevant parts of the origina

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-11 Thread MARTIN Pierre
problem... Thank you! Pierre - Original Message - From: "Stas Bekman" <[EMAIL PROTECTED]> To: "MARTIN Pierre" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, October 11, 2004 7:33 PM Subject: Re: [mp2] & Apache2: undefined symbol: PL_localizing

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-11 Thread Stas Bekman
MARTIN Pierre wrote: Hello all, I am totally new to mod_perl mailing list so maybe i am not posting in the right place. You are posting it to the right place, Martin. I recently installed a debian woody on a pentium based box. I also managed to install Apache 2 (with php and some others modules) a

[mp2] & Apache2: undefined symbol: PL_localizing

2004-10-11 Thread MARTIN Pierre
Hello all, I am totally new to mod_perl mailing list so maybe i am not posting in the right place.   I recently installed a debian woody on a pentium based box. I also managed to install Apache 2 (with php and some others modules) and it works perfectly as i was waiting it to do :) I red tha