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 was

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.

Re: [mp2] Apache2: undefined symbol: PL_localizing

2004-10-13 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.modperl rm

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-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? IMHO, it's

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

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 this is

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-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]

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 the

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 result

[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

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)

Re: [mp2] Apache2: undefined symbol: PL_localizing

2004-10-11 Thread MARTIN Pierre
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 MARTIN Pierre wrote: Hello all, I am totally new to mod_perl mailing list so maybe i am not posting in the right

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

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?

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?

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_egid

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
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

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 \ [...]

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 again.

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

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