Subject: | undefined symbol: xmlMemMalloc |
cpanm XML::LibXML fails with
Can't load '/home/ron/.cpanm/work/1381878351.13605/XML-LibXML-2.0106/blib/arch/auto/XML/LibXML/LibXML.so' for module XML::LibXML: /home/ron/.cpanm/work/1381878351.13605/XML-LibXML-2.0106/blib/arch/auto/XML/LibXML/LibXML.so: undefined symbol: xmlMemMalloc at /home/ron/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2/x86_64-linux-thread-multi/DynaLoader.pm line 190.
at /home/ron/.cpanm/work/1381878351.13605/XML-LibXML-2.0106/blib/lib/XML/LibXML.pm line 154.
See attached files, which are the log of the cpanm run and output of perl -V.
Subject: | cpanm.log |
Message body is not shown because it is too large.
Subject: | perl.log |
Summary of my perl5 (revision 5 version 14 subversion 2) configuration:
Platform:
osname=linux, osvers=2.6.32-5-amd64, archname=x86_64-linux-thread-multi
uname='linux zigzag 2.6.32-5-amd64 #1 smp mon oct 3 03:59:20 utc 2011 x86_64 gnulinux '
config_args='-de -Dprefix=/home/ron/perl5/perlbrew/perls/perl-5.14.2 -Dusethreads'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.4.5', 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='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib/../lib /usr/lib/../lib /lib /usr/lib /lib64 /usr/lib64
libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.11.2.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.11.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT
USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
USE_REENTRANT_API
Built under linux
Compiled at Jan 2 2012 11:51:35
%ENV:
PERLBREW_HOME="/home/ron/.perlbrew"
PERLBREW_PATH="/home/ron/perl5/perlbrew/bin:/home/ron/perl5/perlbrew/perls/perl-5.14.2/bin"
PERLBREW_PERL="perl-5.14.2"
PERLBREW_ROOT="/home/ron/perl5/perlbrew"
PERLBREW_VERSION="0.29"
@INC:
/home/ron/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/x86_64-linux-thread-multi
/home/ron/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2
/home/ron/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2/x86_64-linux-thread-multi
/home/ron/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2
.