From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1Es1mQ-0005c2-DM for garchives@archives.gentoo.org; Thu, 29 Dec 2005 17:41:35 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBTHdnc8032524; Thu, 29 Dec 2005 17:39:49 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.194]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBTHdm8q014042 for <gentoo-embedded@lists.gentoo.org>; Thu, 29 Dec 2005 17:39:48 GMT Received: by wproxy.gmail.com with SMTP id 69so1563026wri for <gentoo-embedded@lists.gentoo.org>; Thu, 29 Dec 2005 09:39:47 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=XxeEYOteIMZ2aGRYOT9tTGe4GBlzmLrICRiNh3njDMig69v6Zh1KvCItt2/RyYbK1+ktzXqtSGYh5d97GC/fJGtdMYwc6T8/n2K6pyBUsLOL/AvOIRoX8GvtJJnbPnZHqDHWfQdhi2/SdZFf2XnpKSMKl+voWsg9nHz73BcbzlY= Received: by 10.54.150.20 with SMTP id x20mr9180113wrd; Thu, 29 Dec 2005 09:39:47 -0800 (PST) Received: by 10.54.129.8 with HTTP; Thu, 29 Dec 2005 09:39:47 -0800 (PST) Message-ID: <cc04c5eb0512290939p1ea30f3p1804a075bf5341bb@mail.gmail.com> Date: Thu, 29 Dec 2005 15:39:47 -0200 From: Douglas Campos <qmx2352@gmail.com> To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] Dynamic linking problem with SWIG Python bindings for Subversion In-Reply-To: <43B17B61.7030003@djc.id.au> Precedence: bulk List-Post: <mailto:gentoo-embedded@lists.gentoo.org> List-Help: <mailto:gentoo-embedded+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-embedded+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org> X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_23614_4643603.1135877987357" References: <43B17B61.7030003@djc.id.au> X-Archives-Salt: 294c7058-eb74-4596-8db1-40e8d747c7f6 X-Archives-Hash: fef9268149903dfc54a71c12e34bb8f0 ------=_Part_23614_4643603.1135877987357 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline getting the same trouble with pygresql can't resolve symbol: error_message Any clues? On 12/27/05, Dan C <djc@djc.id.au> wrote: > > ... at least I think that's what I've got! Any suggestions on how to fix > would be greatly appreciated. > > The basic symptoms are: starting with a fresh install of Subversion > including SWIG Python bindings, I open a python interpreter: > > >>> from libsvn import _core > > and the interpreter dies with: > > python: can't resolve symbol 'apr_pool_cleanup_null' > > Of course ordinarily I wouldn't be importing libsvn._core (it originally > started with a Trac installation in fact) but this is as far back as I > have been able to trace the problem. Here my knowledge gets a bit hazy, > as _core seems to be a shared object. > > This is what ldd says about it: > > # ldd /usr/lib/python2.4/site-packages/libsvn/_core.so > libc.so.0 =3D> /lib/libc.so.0 (0x4000d000) > ld-uClibc.so.0 =3D> /lib/ld-uClibc.so.0 (0x40000000) > libc.so.0 =3D> /lib/libc.so.0 (0x4000d000) > ld-uClibc.so.0 =3D> /lib/ld-uClibc.so.0 (0x40000000) > libc.so.0 =3D> /lib/libc.so.0 (0x4000d000) > ld-uClibc.so.0 =3D> /lib/ld-uClibc.so.0 (0x40000000) > libc.so.0 =3D> /lib/libc.so.0 (0x4000d000) > ld-uClibc.so.0 =3D> /lib/ld-uClibc.so.0 (0x40000000) > ld-uClibc.so.0 =3D> /lib/ld-uClibc.so.0 (0x40000000) > libsvn_swig_py-1.so.0 =3D> /usr/lib/libsvn_swig_py-1.so.0(0x000000= 00) > libsvn_delta-1.so.0 =3D> /usr/lib/libsvn_delta-1.so.0 (0x00000000) > libsvn_diff-1.so.0 =3D> /usr/lib/libsvn_diff-1.so.0 (0x00000000) > libsvn_subr-1.so.0 =3D> /usr/lib/libsvn_subr-1.so.0 (0x00000000) > libapr-0.so.0 =3D> /usr/lib/libapr-0.so.0 (0x00000000) > libm.so.0 =3D> /lib/libm.so.0 (0x00000000) > libcrypt.so.0 =3D> /lib/libcrypt.so.0 (0x00000000) > libnsl.so.0 =3D> /lib/libnsl.so.0 (0x00000000) > libpthread.so.0 =3D> /lib/libpthread.so.0 (0x00000000) > libdl.so.0 =3D> /lib/libdl.so.0 (0x00000000) > libz.so.1 =3D> /lib/libz.so.1 (0x00000000) > libc.so.0 =3D> /lib/libc.so.0 (0x00000000) > libaprutil-0.so.0 =3D> /usr/lib/libaprutil-0.so.0 (0x00000000) > libdb-4.2.so =3D> /usr/lib/libdb-4.2.so (0x00000000) > libexpat.so.0 =3D> /usr/lib/libexpat.so.0 (0x00000000) > not a dynamic executable > > Is that normal? Certainly everything configured and compiled without > errors. > > I have installed (from Portage): > > apr-0.9.7 > apr-util-0.9.7 > swig-1.3.25 > subversion-1.2.3-r2 > > And my emerge --info: > > Portage 2.0.53 (uclibc/arm/2.4, gcc-3.4.4, uclibc-0.9.27-r1, 2.6.12.2 > armv5teb) > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > System uname: 2.6.12.2 armv5teb XScale-IXP42x Family rev 1 (v5b) > Gentoo Base System version 1.6.13 > dev-lang/python: 2.3.5, 2.4.2 > sys-apps/sandbox: 1.2.12 > sys-devel/autoconf: 2.13, 2.59-r6 > sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 > sys-devel/binutils: 2.16.1 > sys-devel/libtool: 1.5.20 > virtual/os-headers: 2.4.26-r1 > ACCEPT_KEYWORDS=3D"arm" > AUTOCLEAN=3D"yes" > CBUILD=3D"armeb-softfloat-linux-uclibc" > CFLAGS=3D"-Os -march=3Darmv5te -mtune=3Dxscale" > CHOST=3D"armeb-softfloat-linux-uclibc" > CONFIG_PROTECT=3D"/etc /usr/kde/2/share/config /usr/kde/3/share/config > /usr/share/config /var/qmail/control" > CONFIG_PROTECT_MASK=3D"/etc/gconf /etc/terminfo /etc/env.d" > CXXFLAGS=3D"-Os -march=3Darmv5te -mtune=3Dxscale" > DISTDIR=3D"/usr/portage/distfiles" > FEATURES=3D"autoconfig distlocks nodoc noinfo noman sandbox sfperms > strict" > GENTOO_MIRRORS=3D"http://mirror.internode.on.net/pub/gentoo/ > http://ftp.iinet.com.au/pub/Gentoo http://distfiles.gentoo.org > http://www.ibiblio.org/pub/Linux/distributions/gentoo" > PKGDIR=3D"/usr/portage/packages" > PORTAGE_TMPDIR=3D"/var/tmp" > PORTDIR=3D"/usr/portage" > SYNC=3D"rsync://rsync.gentoo.org/gentoo-portage" > USE=3D"arm berkdb bitmap-fonts bzip2 curl expat fam fastcgi ncurses pcre > perl php python readline sqlite ssl truetype-fonts type1-fonts uclibc > unicode zlib userland_GNU kernel_linux elibc_uclibc" > Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, > PORTDIR_OVERLAY > > -- > Dan C <djc@djc.id.au> > -- > gentoo-embedded@gentoo.org mailing list > > ------=_Part_23614_4643603.1135877987357 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <div>getting the same trouble with pygresql</div> <div><br>can't resolve symbol: error_message</div> <div> </div> <div>Any clues?<br> </div> <div><span class=3D"gmail_quote">On 12/27/05, <b class=3D"gmail_sendername"= >Dan C</b> <<a href=3D"mailto:djc@djc.id.au">djc@djc.id.au</a>> wrote= :</span> <blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0= px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">... at least I think that's what= I've got! Any suggestions on how to fix<br>would be greatly appreciated.<b= r> <br>The basic symptoms are: starting with a fresh install of Subversion<br>= including SWIG Python bindings, I open a python interpreter:<br><br>>>= ;> from libsvn import _core<br><br>and the interpreter dies with:<br> <br>python: can't resolve symbol 'apr_pool_cleanup_null'<br><br>Of course o= rdinarily I wouldn't be importing libsvn._core (it originally<br>started wi= th a Trac installation in fact) but this is as far back as I<br>have been a= ble to trace the problem. Here my knowledge gets a bit hazy, <br>as _core seems to be a shared object.<br><br>This is what ldd says abou= t it:<br><br># ldd /usr/lib/python2.4/site-packages/libsvn/_core.so<br>&nbs= p; libc.so.0 =3D> /lib/libc.so.0 (0x4000d0= 00)<br> ld-uClibc.so.0 =3D> /lib/ld-uClibc.so.0 (0x40000000)<br> = libc.so.0 =3D> /lib/libc.so.0 (0x4000d000)<br> &= nbsp; ld-uClibc.so.0 =3D> /lib/ld-uClibc.so.0 (0x40000000)<b= r> libc.so.0 =3D> /lib/libc.so.0 (0x= 4000d000)<br> =20 ld-uClibc.so.0 =3D> /lib/ld-uClibc.so.0 (0x40000000)<br> &nbs= p; libc.so.0 =3D> /lib/libc.so.0 (0x4000d000)<br> = ; ld-uClibc.so.0 =3D> /lib/ld-uClibc.so.0 = (0x40000000)<br> ld-uClibc.so.0 =3D>= /lib/ld-uClibc.so.0 (0x40000000)<br> libsvn_swig_py-1.so.0= =3D> /usr/lib/libsvn_swig_py-1.so.0 (0x00000000)<br> &= nbsp; libsvn_delta-1.so.0 =3D> /usr/lib/libsvn_delta-1.so.0 = (0x00000000)<br> libsvn_diff-1.so.0 =3D= > /usr/lib/libsvn_diff- 1.so.0 (0x00000000)<br> libsvn_subr-1.s= o.0 =3D> /usr/lib/libsvn_subr-1.so.0 (0x00000000)<br> &= nbsp; libapr-0.so.0 =3D> /usr/lib/libapr-0.so.0 (0x00000000)= <br> libm.so.0 =3D> /lib/libm.so.0 (= 0x00000000)<br> =20 libcrypt.so.0 =3D> /lib/libcrypt.so.0 (0x00000000)<br> = libnsl.so.0 =3D> /lib/libnsl.so.0 (0x00000000)<br>&nb= sp; libpthread.so.0 =3D> /lib/libpthread.s= o.0 (0x00000000)<br> libdl.so.0 =3D>= /lib/libdl.so.0 (0x00000000) <br> libz.so.1 =3D> /lib/libz.so.1 (= 0x00000000)<br> libc.so.0 =3D> /lib/= libc.so.0 (0x00000000)<br> libaprutil-0= .so.0 =3D> /usr/lib/libaprutil-0.so.0 (0x00000000)<br> = <a href=3D"http://libdb-4.2.so"> libdb-4.2.so</a> =3D> /usr/lib/libdb-<a href=3D"http://4.2.so">4.2.so</a= > (0x00000000)<br> libexpat.so.0 =3D>= ; /usr/lib/libexpat.so.0 (0x00000000)<br> &nbs= p; not a dynamic executable<br><br>Is that normal? Certainly everything con= figured and compiled without errors. <br><br>I have installed (from Portage):<br><br>apr-0.9.7<br>apr-util-0.9.7= <br>swig-1.3.25<br>subversion-1.2.3-r2<br><br>And my emerge --info:<br><br>= Portage 2.0.53 (uclibc/arm/2.4, gcc-3.4.4, uclibc-0.9.27-r1, <a href=3D"htt= p://2.6.12.2"> 2.6.12.2</a><br>armv5teb)<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= <br>System uname: <a href=3D"http://2.6.12.2">2.6.12.2</a> armv5teb XScale-= IXP42x Family rev 1 (v5b)<br>Gentoo Base System version=20 1.6.13<br>dev-lang/python: 2.3.5, 2.4.2<br>sys-apps= /sandbox: 1.2.12<br>sys-devel/autoconf: 2= .13, 2.59-r6<br>sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1= , 1.8.5-r3, 1.9.6-r1<br>sys-devel/binutils: 2.16.1<br>sys-devel/= libtool: =20 1.5.20<br>virtual/os-headers: 2.4.26-r1<br>ACCEPT_KEYWORDS=3D&qu= ot;arm"<br>AUTOCLEAN=3D"yes"<br>CBUILD=3D"armeb-softflo= at-linux-uclibc"<br>CFLAGS=3D"-Os -march=3Darmv5te -mtune=3Dxscal= e"<br>CHOST=3D"armeb-softfloat-linux-uclibc" <br>CONFIG_PROTECT=3D"/etc /usr/kde/2/share/config /usr/kde/3/share/co= nfig<br>/usr/share/config /var/qmail/control"<br>CONFIG_PROTECT_MASK= =3D"/etc/gconf /etc/terminfo /etc/env.d"<br>CXXFLAGS=3D"-Os = -march=3Darmv5te -mtune=3Dxscale" <br>DISTDIR=3D"/usr/portage/distfiles"<br>FEATURES=3D"autoco= nfig distlocks nodoc noinfo noman sandbox sfperms<br>strict"<br>GENTOO= _MIRRORS=3D"<a href=3D"http://mirror.internode.on.net/pub/gentoo/">htt= p://mirror.internode.on.net/pub/gentoo/ </a><br><a href=3D"http://ftp.iinet.com.au/pub/Gentoo">http://ftp.iinet.com= .au/pub/Gentoo</a> <a href=3D"http://distfiles.gentoo.org">http://distfiles= .gentoo.org</a><br><a href=3D"http://www.ibiblio.org/pub/Linux/distribution= s/gentoo""> http://www.ibiblio.org/pub/Linux/distributions/gentoo"</a><br>PKGDIR= =3D"/usr/portage/packages"<br>PORTAGE_TMPDIR=3D"/var/tmp&quo= t;<br>PORTDIR=3D"/usr/portage"<br>SYNC=3D"<a href=3D"rsync:/= /rsync.gentoo.org/gentoo-portage"> rsync://rsync.gentoo.org/gentoo-portage</a>"<br>USE=3D"arm berkdb= bitmap-fonts bzip2 curl expat fam fastcgi ncurses pcre<br>perl php python = readline sqlite ssl truetype-fonts type1-fonts uclibc<br>unicode zlib userl= and_GNU kernel_linux elibc_uclibc" <br>Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAK= EOPTS,<br>PORTDIR_OVERLAY<br><br>--<br>Dan C <<a href=3D"mailto:djc@djc.= id.au">djc@djc.id.au</a>><br>--<br><a href=3D"mailto:gentoo-embedded@gen= too.org">gentoo-embedded@gentoo.org </a> mailing list<br><br></blockquote></div><br> ------=_Part_23614_4643603.1135877987357-- -- gentoo-embedded@gentoo.org mailing list