You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Slade Edmonds <sl...@cryptoflow.net> on 2004/02/25 16:33:18 UTC
Compiliing mod_perl 1.29 from source on Debian Woody
Has anyone successfuly compiled mod_perl 1.29 from source on Debian
Woody? I have the mod_perl source in /usr/local/src/mod_perl-1.29 and
apache 1.3.29 source in /usr/local/src/apache_1.3.29. I run the
following to start the process:
perl Makefile.PL APACHE_SRC=../apache_1.3.29/src
APACHE_PREFIX=/usr/local/apache DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
That finishes up just fine. The problem is during make. An onslaught
of errors come back starting with these:
modules/standard/libstandard.a(mod_include.o): In function `handle_perl':
mod_include.o(.text+0x1e78): undefined reference to `Perl_newAV'
mod_include.o(.text+0x1f4c): undefined reference to `Perl_newSVpv'
mod_include.o(.text+0x1fb3): undefined reference to `Perl_newSVpv'
mod_include.o(.text+0x1fc5): undefined reference to `Perl_av_push'
... many more snipped ...
According to the documentation, it is likely I have a 'broken' perl.
Never had any other problems with perl on this system.
perl -v
This is perl, v5.6.1 built for i386-linux
Since my debian perl packages are the latest out of their stable branch,
I assume the only way to fix the current perl installation is to leave
it be and install the latest stable perl from source in to another
location and change around a couple symlinks. If anyone has other
suggestions please advise!
Thanks
--
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: Compiliing mod_perl 1.29 from source on Debian Woody
Posted by Slade Edmonds <sl...@cryptoflow.net>.
Ged Haywood wrote:
>Hello again,
>
>On Wed, 25 Feb 2004, Slade Edmonds wrote:
>
>
>
>>gcc version 2.95.4 20011002 (Debian prerelease)
>>
>>
>
>I noticed you were building in /usr/local/src or some such place, does
>that mean you're doing all this as root? That's not usually a good
>idea. Although don't think that this is likely to be the cause of
>your problem, I would generally buid as user 'ged' in
>
>/home/ged/src/apache_1.3.29
>
>and
>
>/home/ged/src/mod_perl-1.29
>
>
No, I am not building as root.
>as there might be problems later if you build as root, particularly
>with the test suite.
>
>Have you checked the mail archives for mod_perl and Debian? Try
>more than one of the search engines mentioned on the mod_perl site.
>
>73,
>Ged.
>
>
>
Yes, I checked several places. I will check them again.
--
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: Compiliing mod_perl 1.29 from source on Debian Woody
Posted by Ged Haywood <ge...@jubileegroup.co.uk>.
Hello again,
On Wed, 25 Feb 2004, Slade Edmonds wrote:
> gcc version 2.95.4 20011002 (Debian prerelease)
I noticed you were building in /usr/local/src or some such place, does
that mean you're doing all this as root? That's not usually a good
idea. Although don't think that this is likely to be the cause of
your problem, I would generally buid as user 'ged' in
/home/ged/src/apache_1.3.29
and
/home/ged/src/mod_perl-1.29
as there might be problems later if you build as root, particularly
with the test suite.
Have you checked the mail archives for mod_perl and Debian? Try
more than one of the search engines mentioned on the mod_perl site.
73,
Ged.
--
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: Compiliing mod_perl 1.29 from source on Debian Woody
Posted by Slade Edmonds <sl...@cryptoflow.net>.
Ged Haywood wrote:
>Hello again,
>
>On Wed, 25 Feb 2004, Slade Edmonds wrote:
>
>
>
>>[snip]
>>Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
>>[snip]
>> Compiler:
>>[snip] gccversion='2.95.4 20011002 (Debian prerelease)',
>>
>>
>
>Does the output of
>
>gcc -v
>
>look anything like that?
>
>
>73,
>Ged.
>
>
>
Exactly like that!
gcc version 2.95.4 20011002 (Debian prerelease)
--
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: Compiliing mod_perl 1.29 from source on Debian Woody
Posted by Ged Haywood <ge...@jubileegroup.co.uk>.
Hello again,
On Wed, 25 Feb 2004, Slade Edmonds wrote:
> [snip]
> Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
> [snip]
> Compiler:
> [snip] gccversion='2.95.4 20011002 (Debian prerelease)',
Does the output of
gcc -v
look anything like that?
73,
Ged.
--
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: Compiliing mod_perl 1.29 from source on Debian Woody
Posted by Slade Edmonds <sl...@cryptoflow.net>.
Ged Haywood wrote:
>Hi there,
>
>On Wed, 25 Feb 2004, Slade Edmonds wrote:
>
>
>
>>anyone successfuly compiled mod_perl 1.29 from source on Debian Woody?
>>
>>
>
>I haven't ever used Debian, but I'll ask you a question anyway. :)
>
>
>
>>modules/standard/libstandard.a(mod_include.o): In function `handle_perl':
>>
>>
>
>
>
>>perl -v
>>
>>This is perl, v5.6.1 built for i386-linux
>>
>>
>
>We like to see the output of 'perl -V' not 'perl -v' (lots more info.)
>
>
Here it is:
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=linux, osvers=2.4.20-7um, archname=i386-linux
uname='linux (none) 2.4.20-7um #1 smp fri aug 8 18:30:28 edt 2003
i686 unknown '
config_args='-Dccflags=-DDEBIAN -Dcccdlflags=-fPIC
-Darchname=i386-linux -Dprefix=/usr -Dprivlib=/usr/share/perl/5.6.1
-Darchlib=/usr/lib/perl/5.6.1 -Dvendorprefix=/usr
-Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5
-Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.6.1
-Dsitearch=/usr/local/lib/perl/5.6.1 -Dman1dir=/usr/share/man/man1
-Dman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3perl
-Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Duseshrplib
-Dlibperl=libperl.so.5.6.1 -Dd_dosuid -des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags ='-DDEBIAN -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-DDEBIAN -fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='2.95.4 20011002 (Debian prerelease)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lgdbm -ldb -ldl -lm -lc -lcrypt
perllibs=-ldl -lm -lc -lcrypt
libc=/lib/libc-2.2.5.so, so=so, useshrplib=true,
libperl=libperl.so.5.6.1
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Aug 10 2003 01:06:01
@INC:
/usr/local/lib/perl/5.6.1
/usr/local/share/perl/5.6.1
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.6.1
/usr/share/perl/5.6.1
/usr/local/lib/site_perl
.
>
>
>>If anyone has other suggestions please advise!
>>
>>
>
>Did you build your own Perl? If not you might need to make sure that
>the compiler used to build your Perl is the one that you're using to
>build mod_perl. It's in the docs.
>
>73,
>Ged.
>
>
>
This perl is the Debian Woody packaged perl. I did not build this one
myself.
Thanks
--
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: Compiliing mod_perl 1.29 from source on Debian Woody
Posted by Ged Haywood <ge...@jubileegroup.co.uk>.
Hi there,
On Wed, 25 Feb 2004, Slade Edmonds wrote:
> anyone successfuly compiled mod_perl 1.29 from source on Debian Woody?
I haven't ever used Debian, but I'll ask you a question anyway. :)
> modules/standard/libstandard.a(mod_include.o): In function `handle_perl':
> perl -v
>
> This is perl, v5.6.1 built for i386-linux
We like to see the output of 'perl -V' not 'perl -v' (lots more info.)
> If anyone has other suggestions please advise!
Did you build your own Perl? If not you might need to make sure that
the compiler used to build your Perl is the one that you're using to
build mod_perl. It's in the docs.
73,
Ged.
--
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: Compiliing mod_perl 1.29 from source on Debian Woody
Posted by Stas Bekman <st...@stason.org>.
Slade Edmonds wrote:
[...]
>> modules/standard/libstandard.a is the archive including mod_include.a
>> so it should link with -lperl just fine. Unless it finds a wrong perl
>> library.
>>
>> is it possible that you have other (older?) perls installed on the
>> same system and it finds them before your 5.6.1's libperl.so?
>>
>> Show us the output of:
>>
>> % locate libperl.so
>>
>> (there may be libperl.so from mod_perl 1 too if you have ever built
>> mod_perl 1 as DSO, which is misleading called the same as the perl
>> library).
>
>
> Here I think lies a problem. Turns out there was no libperl.so on the
> system. I installed the libperl5.6 package and now have:
>
> /usr/lib/libperl.so.5.6.1
> /usr/lib/libperl.so.5.6
>
> Now when I run "perl Makefile.PL APACHE_SRC=../apache_1.3.29/src
> APACHE_PREFIX=/usr/local/apache DO_HTTPD=1 USE_APACI=1 EVERYTHING=1", it
> stops and reports this:
>
> ======== Error Output for sanity check ========
> cd ..; cc -DLINUX=22 -DMOD_PERL -DUSE_PERL_SSI -DDEBIAN
> -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED -DDEBIAN
> -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 `./apaci` -I. -I/usr/lib/perl/5.6.1/CORE -o
> helpers/dummy helpers/dummy.c -lm -lcrypt -rdynamic -L/usr/local/lib
> /usr/lib/perl/5.6.1/auto/DynaLoader/DynaLoader.a
> -L/usr/lib/perl/5.6.1/CORE -lperl -ldl -lm -lc -lcrypt
> /usr/bin/ld: cannot find -lperl
> collect2: ld returned 1 exit status
> make: *** [dummy] Error 1
> ============= End of Error Report =============
>
>
> Thanks for your help.
After installing libperl.so in /usr/lib did you run 'ldconfig'? Your package
manager/script should have done that. After you run that it'll find the library.
Also you need to symlink
ln -s /usr/lib/libperl.so.5.6.1 /usr/lib/libperl.so
again, this is the job your package installer should have done.
__________________________________________________________________
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: Compiliing mod_perl 1.29 from source on Debian Woody
Posted by Slade Edmonds <sl...@cryptoflow.net>.
Ged Haywood wrote:
>Hi there,
>
>On Wed, 25 Feb 2004, Slade Edmonds wrote:
>
>
>
>>Here I think lies a problem. Turns out there was no libperl.so on the
>>system. I installed the libperl5.6 package and now have:
>>
>>/usr/lib/libperl.so.5.6.1
>>/usr/lib/libperl.so.5.6
>>
>>Now when I run "perl Makefile.PL APACHE_SRC=../apache_1.3.29/src
>>APACHE_PREFIX=/usr/local/apache DO_HTTPD=1 USE_APACI=1 EVERYTHING=1", it
>>stops and reports this:
>>
>>======== Error Output for sanity check ========
>>cd ..; cc -DLINUX=22 -DMOD_PERL -DUSE_PERL_SSI -DDEBIAN
>>-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
>>-D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED -DDEBIAN
>>-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
>>-D_FILE_OFFSET_BITS=64 `./apaci` -I. -I/usr/lib/perl/5.6.1/CORE -o
>>helpers/dummy helpers/dummy.c -lm -lcrypt -rdynamic -L/usr/local/lib
>>/usr/lib/perl/5.6.1/auto/DynaLoader/DynaLoader.a
>>-L/usr/lib/perl/5.6.1/CORE -lperl -ldl -lm -lc -lcrypt
>>/usr/bin/ld: cannot find -lperl
>>collect2: ld returned 1 exit status
>>make: *** [dummy] Error 1
>>============= End of Error Report =============
>>
>>
>
>Does this help?
>
>http://www.mail-archive.com/debian-user@lists.debian.org/msg84939.html
>
>73,
>Ged.
>
>
>
Guys, thanks so much for your help. Ged, yes the libperl-dev package
did fix the problem! Thanks again for pointing me in the right
direction here sirs.
--
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: Compiliing mod_perl 1.29 from source on Debian Woody
Posted by Ged Haywood <ge...@jubileegroup.co.uk>.
Hi there,
On Wed, 25 Feb 2004, Slade Edmonds wrote:
> Here I think lies a problem. Turns out there was no libperl.so on the
> system. I installed the libperl5.6 package and now have:
>
> /usr/lib/libperl.so.5.6.1
> /usr/lib/libperl.so.5.6
>
> Now when I run "perl Makefile.PL APACHE_SRC=../apache_1.3.29/src
> APACHE_PREFIX=/usr/local/apache DO_HTTPD=1 USE_APACI=1 EVERYTHING=1", it
> stops and reports this:
>
> ======== Error Output for sanity check ========
> cd ..; cc -DLINUX=22 -DMOD_PERL -DUSE_PERL_SSI -DDEBIAN
> -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED -DDEBIAN
> -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 `./apaci` -I. -I/usr/lib/perl/5.6.1/CORE -o
> helpers/dummy helpers/dummy.c -lm -lcrypt -rdynamic -L/usr/local/lib
> /usr/lib/perl/5.6.1/auto/DynaLoader/DynaLoader.a
> -L/usr/lib/perl/5.6.1/CORE -lperl -ldl -lm -lc -lcrypt
> /usr/bin/ld: cannot find -lperl
> collect2: ld returned 1 exit status
> make: *** [dummy] Error 1
> ============= End of Error Report =============
Does this help?
http://www.mail-archive.com/debian-user@lists.debian.org/msg84939.html
73,
Ged.
--
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: Compiliing mod_perl 1.29 from source on Debian Woody
Posted by Slade Edmonds <sl...@cryptoflow.net>.
Stas Bekman wrote:
> Slade Edmonds wrote:
>
>> Has anyone successfuly compiled mod_perl 1.29 from source on Debian
>> Woody? I have the mod_perl source in /usr/local/src/mod_perl-1.29
>> and apache 1.3.29 source in /usr/local/src/apache_1.3.29. I run
>> the following to start the process:
>>
>> perl Makefile.PL APACHE_SRC=../apache_1.3.29/src
>> APACHE_PREFIX=/usr/local/apache DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
>>
>> That finishes up just fine. The problem is during make. An
>> onslaught of errors come back starting with these:
>>
>> modules/standard/libstandard.a(mod_include.o): In function
>> `handle_perl':
>> mod_include.o(.text+0x1e78): undefined reference to `Perl_newAV'
>> mod_include.o(.text+0x1f4c): undefined reference to `Perl_newSVpv'
>> mod_include.o(.text+0x1fb3): undefined reference to `Perl_newSVpv'
>> mod_include.o(.text+0x1fc5): undefined reference to `Perl_av_push'
>>
>> ... many more snipped ...
>
>
> can you post the whole thing? including the output of gcc
see comments below please.
>
> The problem most likely coming during the linking phase. On my machine:
>
> cc -DLINUX=22 -I/usr/include/db1 -DMOD_PERL -DUSE_PERL_SSI
> -DDEBUGGING -fno-strict-aliasing -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED -DDEBUGGING
> -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g
> -DPERL_DESTRUCT_LEVEL=2 `./apaci` \
> -o httpd buildmark.o modules.o modules/standard/libstandard.a
> modules/proxy/libproxy.a modules/perl/libperl.a main/libmain.a
> ./os/unix/libos.a ap/libap.a
> regex/libregex.a -lm -lcrypt -ldb1 -rdynamic
> -Wl,-rpath,/home/stas/perl/5.6.1/lib/5.6.1/i686-linux-perlio/CORE
> -L/usr/local/lib
> /home/stas/perl/5.6.1/lib/5.6.1/i686-linux-perlio/auto/DynaLoader/DynaLoader.a
> -L/home/stas/perl/5.6.1/lib/5.6.1/i686-linux-perlio/CORE -lperl -lnsl
> -ldl -lm -lc -lcrypt -lutil
>
>
> modules/standard/libstandard.a is the archive including mod_include.a
> so it should link with -lperl just fine. Unless it finds a wrong perl
> library.
>
> is it possible that you have other (older?) perls installed on the
> same system and it finds them before your 5.6.1's libperl.so?
>
> Show us the output of:
>
> % locate libperl.so
>
> (there may be libperl.so from mod_perl 1 too if you have ever built
> mod_perl 1 as DSO, which is misleading called the same as the perl
> library).
Here I think lies a problem. Turns out there was no libperl.so on the
system. I installed the libperl5.6 package and now have:
/usr/lib/libperl.so.5.6.1
/usr/lib/libperl.so.5.6
Now when I run "perl Makefile.PL APACHE_SRC=../apache_1.3.29/src
APACHE_PREFIX=/usr/local/apache DO_HTTPD=1 USE_APACI=1 EVERYTHING=1", it
stops and reports this:
======== Error Output for sanity check ========
cd ..; cc -DLINUX=22 -DMOD_PERL -DUSE_PERL_SSI -DDEBIAN
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED -DDEBIAN
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 `./apaci` -I. -I/usr/lib/perl/5.6.1/CORE -o
helpers/dummy helpers/dummy.c -lm -lcrypt -rdynamic -L/usr/local/lib
/usr/lib/perl/5.6.1/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl/5.6.1/CORE -lperl -ldl -lm -lc -lcrypt
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============
Thanks for your help.
--
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: Compiliing mod_perl 1.29 from source on Debian Woody
Posted by Stas Bekman <st...@stason.org>.
Slade Edmonds wrote:
> Has anyone successfuly compiled mod_perl 1.29 from source on Debian
> Woody? I have the mod_perl source in /usr/local/src/mod_perl-1.29 and
> apache 1.3.29 source in /usr/local/src/apache_1.3.29. I run the
> following to start the process:
>
> perl Makefile.PL APACHE_SRC=../apache_1.3.29/src
> APACHE_PREFIX=/usr/local/apache DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
>
> That finishes up just fine. The problem is during make. An onslaught
> of errors come back starting with these:
>
> modules/standard/libstandard.a(mod_include.o): In function `handle_perl':
> mod_include.o(.text+0x1e78): undefined reference to `Perl_newAV'
> mod_include.o(.text+0x1f4c): undefined reference to `Perl_newSVpv'
> mod_include.o(.text+0x1fb3): undefined reference to `Perl_newSVpv'
> mod_include.o(.text+0x1fc5): undefined reference to `Perl_av_push'
>
> ... many more snipped ...
can you post the whole thing? including the output of gcc
The problem most likely coming during the linking phase. On my machine:
cc -DLINUX=22 -I/usr/include/db1 -DMOD_PERL -DUSE_PERL_SSI -DDEBUGGING
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX
-DNO_DL_NEEDED -DDEBUGGING -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DPERL_DESTRUCT_LEVEL=2 `./apaci` \
-o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/proxy/libproxy.a modules/perl/libperl.a main/libmain.a
./os/unix/libos.a ap/libap.a
regex/libregex.a -lm -lcrypt -ldb1 -rdynamic
-Wl,-rpath,/home/stas/perl/5.6.1/lib/5.6.1/i686-linux-perlio/CORE
-L/usr/local/lib
/home/stas/perl/5.6.1/lib/5.6.1/i686-linux-perlio/auto/DynaLoader/DynaLoader.a
-L/home/stas/perl/5.6.1/lib/5.6.1/i686-linux-perlio/CORE -lperl -lnsl -ldl -lm
-lc -lcrypt -lutil
modules/standard/libstandard.a is the archive including mod_include.a so it
should link with -lperl just fine. Unless it finds a wrong perl library.
is it possible that you have other (older?) perls installed on the same system
and it finds them before your 5.6.1's libperl.so?
Show us the output of:
% locate libperl.so
(there may be libperl.so from mod_perl 1 too if you have ever built mod_perl 1
as DSO, which is misleading called the same as the perl library).
__________________________________________________________________
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