<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="gmail_quote">On 12/27/05, <b class="gmail_sendername">Dan C</b> <<a href="mailto:djc@djc.id.au">djc@djc.id.au</a>> wrote:</span> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 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.<br> <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 ordinarily I wouldn't be importing libsvn._core (it originally<br>started with a Trac installation in fact) but this is as far back as I<br>have been able 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 about it:<br><br># ldd /usr/lib/python2.4/site-packages/libsvn/_core.so<br> libc.so.0 => /lib/libc.so.0 (0x4000d000)<br> ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000)<br> libc.so.0 => /lib/libc.so.0 (0x4000d000)<br> ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000)<br> libc.so.0 => /lib/libc.so.0 (0x4000d000)<br> ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000)<br> libc.so.0 => /lib/libc.so.0 (0x4000d000)<br> ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000)<br> ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000)<br> libsvn_swig_py-1.so.0 => /usr/lib/libsvn_swig_py-1.so.0 (0x00000000)<br> libsvn_delta-1.so.0 => /usr/lib/libsvn_delta-1.so.0 (0x00000000)<br> libsvn_diff-1.so.0 => /usr/lib/libsvn_diff- 1.so.0 (0x00000000)<br> libsvn_subr-1.so.0 => /usr/lib/libsvn_subr-1.so.0 (0x00000000)<br> libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0x00000000)<br> libm.so.0 => /lib/libm.so.0 (0x00000000)<br> libcrypt.so.0 => /lib/libcrypt.so.0 (0x00000000)<br> libnsl.so.0 => /lib/libnsl.so.0 (0x00000000)<br> libpthread.so.0 => /lib/libpthread.so.0 (0x00000000)<br> libdl.so.0 => /lib/libdl.so.0 (0x00000000) <br> libz.so.1 => /lib/libz.so.1 (0x00000000)<br> libc.so.0 => /lib/libc.so.0 (0x00000000)<br> libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0x00000000)<br> <a href="http://libdb-4.2.so"> libdb-4.2.so</a> => /usr/lib/libdb-<a href="http://4.2.so">4.2.so</a> (0x00000000)<br> libexpat.so.0 => /usr/lib/libexpat.so.0 (0x00000000)<br> not a dynamic executable<br><br>Is that normal? Certainly everything configured 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="http://2.6.12.2"> 2.6.12.2</a><br>armv5teb)<br>=================================================================<br>System uname: <a href="http://2.6.12.2">2.6.12.2</a> armv5teb XScale-IXP42x Family rev 1 (v5b)<br>Gentoo Base System version 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: 1.5.20<br>virtual/os-headers: 2.4.26-r1<br>ACCEPT_KEYWORDS="arm"<br>AUTOCLEAN="yes"<br>CBUILD="armeb-softfloat-linux-uclibc"<br>CFLAGS="-Os -march=armv5te -mtune=xscale"<br>CHOST="armeb-softfloat-linux-uclibc" <br>CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config<br>/usr/share/config /var/qmail/control"<br>CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"<br>CXXFLAGS="-Os -march=armv5te -mtune=xscale" <br>DISTDIR="/usr/portage/distfiles"<br>FEATURES="autoconfig distlocks nodoc noinfo noman sandbox sfperms<br>strict"<br>GENTOO_MIRRORS="<a href="http://mirror.internode.on.net/pub/gentoo/">http://mirror.internode.on.net/pub/gentoo/ </a><br><a href="http://ftp.iinet.com.au/pub/Gentoo">http://ftp.iinet.com.au/pub/Gentoo</a> <a href="http://distfiles.gentoo.org">http://distfiles.gentoo.org</a><br><a href="http://www.ibiblio.org/pub/Linux/distributions/gentoo""> http://www.ibiblio.org/pub/Linux/distributions/gentoo"</a><br>PKGDIR="/usr/portage/packages"<br>PORTAGE_TMPDIR="/var/tmp"<br>PORTDIR="/usr/portage"<br>SYNC="<a href="rsync://rsync.gentoo.org/gentoo-portage"> rsync://rsync.gentoo.org/gentoo-portage</a>"<br>USE="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 userland_GNU kernel_linux elibc_uclibc" <br>Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS,<br>PORTDIR_OVERLAY<br><br>--<br>Dan C <<a href="mailto:djc@djc.id.au">djc@djc.id.au</a>><br>--<br><a href="mailto:gentoo-embedded@gentoo.org">gentoo-embedded@gentoo.org </a> mailing list<br><br></blockquote></div><br>