On Mon, Nov 16, 2009 at 10:58 AM, Fred Moyer <f...@redhotpenguin.com> wrote: > On Mon, Nov 16, 2009 at 10:23 AM, Philippe M. Chiasson > <go...@ectoplasm.org> wrote: >> On 09-11-14 14:43 , Fred Moyer wrote: >>> >>> Platform: Snow Leopard >>> >>> Versions used: perl 5.10.1, mod_perl 2.0.5-dev, httpd 2.2.14 >>> >>> Error found during make test: >>> >>> t/apr-ext/uuid.t ........................ Can't load >>> '/Users/phred/dev/svn/modperl/mod_perl-2.0/blib/arch/auto/APR/APR.bundle' >>> for module APR: >>> >>> dlopen(/Users/phred/dev/svn/modperl/mod_perl-2.0/blib/arch/auto/APR/APR.bundle, >>> 9): Symbol not found: _apr_bucket_shared_copy >>> >>> I compiled apache using the --with-included-apr option. This is a new >>> toolchain setup. Any thoughts? >> >> Can you send me the exact version of httpd you built, and with what >> arguments? >> mod_perl Makefile.PL arguments too. I just upgraded to Snow Leopard, so I >> should be able to try and reproduce. > > httpd: > ~/dev/httpd-2.2.14 $ ./configure --with-included-apr > --prefix=/Users/phred/dev/httpd2/ > > mod_perl > ~/dev/svn/modperl/mod_perl-2.0 $ perl Makefile.PL > MP_APXS=/Users/phred/dev/httpd2/bin/apxs
Looks like this was a rogue apr library installed by MacPorts that had gotten into my LDPATH. Saw a similar error building with Crypt::SSLeay and figured out what was going on. All tests successful! > > I've attached my config.status if that is needed. Made an attempt at > inlining it but iterm and gmail don't lend well to doing such things. > > Thanks for taking a look, let me know if you need any other info. > > Summary of my perl5 (revision 5 version 10 subversion 1) configuration: > > Platform: > osname=darwin, osvers=10.0.0, archname=darwin-2level > uname='darwin pooky.redhotpenguin.com 10.0.0 darwin kernel version > 10.0.0: fri jul 31 22:47:34 pdt 2009; root:xnu-1456.1.25~1release_i386 > i386 i386 ' > config_args='-Dprefix=/Users/phred/dev/perl-5.10.1' > hint=recommended, useposix=true, d_sigaction=define > useithreads=undef, usemultiplicity=undef > useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef > use64bitint=define, use64bitall=define, uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp > -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include > -I/opt/local/include', > optimize='-O3', > cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN > -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector > -I/usr/local/include -I/opt/local/include' > ccversion='', gccversion='4.2.1 (Apple Inc. build 5646)', gccosandvers='' > intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 > ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', > lseeksize=8 > alignbytes=8, prototype=define > Linker and Libraries: > ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' > -fstack-protector -L/usr/local/lib -L/opt/local/lib' > libpth=/usr/local/lib /opt/local/lib /usr/lib > libs=-ldbm -ldl -lm -lutil -lc > perllibs=-ldl -lm -lutil -lc > libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a > gnulibc_version='' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' > cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup > -L/usr/local/lib -L/opt/local/lib -fstack-protector' > > > Characteristics of this binary (from libperl): > Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_64_BIT_ALL > USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO > Built under darwin > Compiled at Nov 13 2009 15:49:27 > �...@inc: > /Users/phred/dev/perl-5.10.1/lib/5.10.1/darwin-2level > /Users/phred/dev/perl-5.10.1/lib/5.10.1 > /Users/phred/dev/perl-5.10.1/lib/site_perl/5.10.1/darwin-2level > /Users/phred/dev/perl-5.10.1/lib/site_perl/5.10.1 >