Hi List,
I've spent the last several hours trying to figure out the following
error message that I receive with Apache 1.3.29 and mod_perl 1.29:
/usr/local/apache/bin/httpd: relocation error:
/usr/local/apache/bin/httpd: undefined symbol: PL_dowarn
bin/apachectl start: httpd could not be started
This output occurs whenever I try to start the httpd that has been
compiled. There are no compilation errors. There is nothing further in
the error.log. I am compiling under Debian Sarge with gcc 3.3.3, Perl
5.8.3 and make 3.80. I have rebuilt Perl and tried to reinstall as many
of the modules as I could. The system is a dual cpu and I did not do
anything special when recompiling Perl.
I've completely read the short and long installation notes and searched
the archives but could not a solution to my problem. I did try locating
the PL_nowarn symbol via the following command:
nm ../apache_1.3.29/src/httpd | grep PL_nowarn
This returned nothing which seems suspicious.
Trying to run the 'make test' operation which uses a simplified
httpd.conf fails with the message above. Simply trying
'../apache_1.3.29/src/httpd -v' also fails with the same message. I can
successfully build Apache without mod_perl. Most of my test Perl scripts
are working fine from the command line.
perl -V output:
Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
Platform:
osname=linux, osvers=2.4.25, archname=i686-linux
uname='linux webserv 2.4.25 #1 smp tue apr 6 12:23:14 edt 2004 i686
gnulinux '
config_args='-Dotherlibdirs=/usr/share/perl5/ -des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O3',
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='3.3.3 (Debian)', 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, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.2'
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 Apr 7 2004 01:54:35
@INC:
/usr/local/lib/perl5/5.8.3/i686-linux
/usr/local/lib/perl5/5.8.3
/usr/local/lib/perl5/site_perl/5.8.3/i686-linux
/usr/local/lib/perl5/site_perl/5.8.3
/usr/local/lib/perl5/site_perl
/usr/share/perl5/
.
Makefile.PL options:
perl Makefile.PL APACHE_SRC=../apache_1.3.29/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
Thanks,
William
--
Knowmad Services Inc.
http://www.knowmad.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