On Wed, Aug 06, 2003 at 07:25:00AM -0700, Stas Bekman wrote: > Peter Poeml wrote: > >On Tue, Aug 05, 2003 at 09:24:14AM +0200, Stas Bekman wrote: > > > >>>apr-ext/uuid..../usr/bin/perl: relocation error: > >>>/usr/src/packages/BUILD/mod_perl-1.99_09_20030803/t/../blib/arch/auto/APR/UUID/UUID.so: > >>> undefined symbol: apr_uuid_parse > >>>1..3 > >> > >>That probably means that APR.so is not linked against libapr and > >>libaprutil. Can you please send the output of: > >> > >>ldd blib/arch/auto/APR/APR.so > > > > > ># ldd blib/arch/auto/APR/APR.so > > libc.so.6 => /lib/libc.so.6 (0x40005000) > > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) > > Can I see the output of > > cd /whereever/your/httpd/is/installed > bin/apr-config --link-ld --libs > bin/apu-config --link-ld --libs
# apr-config --link-ld --libs
-L/usr/lib -lapr-0 -lrt -lm -lcrypt -lnsl -ldl
# apu-config --link-ld --libs
-L/usr/lib -laprutil-0 -lgdbm -ldb -lexpat
> I also want to see:
>
> grep LIBS
> /usr/src/packages/BUILD/mod_perl-1.99_09_20030803/xs/APR/APR/Makefile
chroot [EMAIL PROTECTED] // # grep LIBS
/usr/src/packages/BUILD/mod_perl-1.99_09_20030803/xs/APR/APR/Makefile
# LIBS => [q[]]
$(NOECHO) $(ECHO) "Running Mkbootstrap for $(NAME) ($(BSLOADLIBS))"
-e "Mkbootstrap('$(BASEEXT)','$(BSLOADLIBS)');"
LD_RUN_PATH="$(LD_RUN_PATH)" $(LD) $(LDDLFLAGS) $(LDFROM) $(OTHERLDFLAGS) -o
$@ $(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS) $(PERL_ARCHIVE_AFTER) $(EXPORT_LIST)
$(INST_DYNAMIC_FIX)
$(NOECHO) $(ECHO) "$(EXTRALIBS)" > $(INST_ARCHAUTODIR)/extralibs.ld
> and the output of t/REPORT
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:
[DESCRIBE THE PROBLEM HERE]
2. Used Components and their Configuration:
*** mod_perl version 1.9910
*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
MP_APXS => /usr/sbin/apxs2
MP_CCOPTS => -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
MP_COMPAT_1X => 1
MP_GENERATE_XS => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1
MP_USE_STATIC => 1
*** /usr/sbin/httpd2-prefork -V
Server version: Apache/2.0.47
Server built: Aug 6 2003 20:04:08
Server's Module Magic Number: 20020903:4
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/srv/www"
-D SUEXEC_BIN="/usr/sbin/suexec2"
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/accept.lock"
-D DEFAULT_ERRORLOG="/var/log/apache2/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"
*** /usr/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
Platform:
osname=linux, osvers=2.6.0-test2, archname=i586-linux-thread-multi
uname='linux bragg 2.6.0-test2 #1 mon mar 17 17:54:44 utc 2003 i686 unknown
unknown gnulinux '
config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dusethreads -Di_db -Di_dbm
-Di_ndbm -Di_gdbm -Duseshrplib=true'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O3 --pipe',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing'
ccversion='', gccversion='3.3 (SuSE Linux)', 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 =''
libpth=/lib /usr/lib /usr/local/lib
libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/5.8.1/i586-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Locally applied patches:
RC3
Built under linux
Compiled at Aug 4 2003 22:43:57
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/usr/lib/perl5/5.8.1/i586-linux-thread-multi
/usr/lib/perl5/5.8.1
/usr/lib/perl5/site_perl/5.8.1/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl
.
3. This is the core dump trace: (if you get a core dump):
[CORE TRACE COMES HERE]
This report was generated by t/REPORT on Wed Aug 6 22:49:14 2003 GMT.
-------------8<---------- End Bug Report --------------8<----------
Peter
--
Thought is limitation. Free your mind.
pgp00000.pgp
Description: PGP signature
