1 |
... at least I think that's what I've got! Any suggestions on how to fix |
2 |
would be greatly appreciated. |
3 |
|
4 |
The basic symptoms are: starting with a fresh install of Subversion |
5 |
including SWIG Python bindings, I open a python interpreter: |
6 |
|
7 |
>>> from libsvn import _core |
8 |
|
9 |
and the interpreter dies with: |
10 |
|
11 |
python: can't resolve symbol 'apr_pool_cleanup_null' |
12 |
|
13 |
Of course ordinarily I wouldn't be importing libsvn._core (it originally |
14 |
started with a Trac installation in fact) but this is as far back as I |
15 |
have been able to trace the problem. Here my knowledge gets a bit hazy, |
16 |
as _core seems to be a shared object. |
17 |
|
18 |
This is what ldd says about it: |
19 |
|
20 |
# ldd /usr/lib/python2.4/site-packages/libsvn/_core.so |
21 |
libc.so.0 => /lib/libc.so.0 (0x4000d000) |
22 |
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000) |
23 |
libc.so.0 => /lib/libc.so.0 (0x4000d000) |
24 |
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000) |
25 |
libc.so.0 => /lib/libc.so.0 (0x4000d000) |
26 |
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000) |
27 |
libc.so.0 => /lib/libc.so.0 (0x4000d000) |
28 |
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000) |
29 |
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000) |
30 |
libsvn_swig_py-1.so.0 => /usr/lib/libsvn_swig_py-1.so.0 (0x00000000) |
31 |
libsvn_delta-1.so.0 => /usr/lib/libsvn_delta-1.so.0 (0x00000000) |
32 |
libsvn_diff-1.so.0 => /usr/lib/libsvn_diff-1.so.0 (0x00000000) |
33 |
libsvn_subr-1.so.0 => /usr/lib/libsvn_subr-1.so.0 (0x00000000) |
34 |
libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0x00000000) |
35 |
libm.so.0 => /lib/libm.so.0 (0x00000000) |
36 |
libcrypt.so.0 => /lib/libcrypt.so.0 (0x00000000) |
37 |
libnsl.so.0 => /lib/libnsl.so.0 (0x00000000) |
38 |
libpthread.so.0 => /lib/libpthread.so.0 (0x00000000) |
39 |
libdl.so.0 => /lib/libdl.so.0 (0x00000000) |
40 |
libz.so.1 => /lib/libz.so.1 (0x00000000) |
41 |
libc.so.0 => /lib/libc.so.0 (0x00000000) |
42 |
libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0x00000000) |
43 |
libdb-4.2.so => /usr/lib/libdb-4.2.so (0x00000000) |
44 |
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x00000000) |
45 |
not a dynamic executable |
46 |
|
47 |
Is that normal? Certainly everything configured and compiled without errors. |
48 |
|
49 |
I have installed (from Portage): |
50 |
|
51 |
apr-0.9.7 |
52 |
apr-util-0.9.7 |
53 |
swig-1.3.25 |
54 |
subversion-1.2.3-r2 |
55 |
|
56 |
And my emerge --info: |
57 |
|
58 |
Portage 2.0.53 (uclibc/arm/2.4, gcc-3.4.4, uclibc-0.9.27-r1, 2.6.12.2 |
59 |
armv5teb) |
60 |
================================================================= |
61 |
System uname: 2.6.12.2 armv5teb XScale-IXP42x Family rev 1 (v5b) |
62 |
Gentoo Base System version 1.6.13 |
63 |
dev-lang/python: 2.3.5, 2.4.2 |
64 |
sys-apps/sandbox: 1.2.12 |
65 |
sys-devel/autoconf: 2.13, 2.59-r6 |
66 |
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 |
67 |
sys-devel/binutils: 2.16.1 |
68 |
sys-devel/libtool: 1.5.20 |
69 |
virtual/os-headers: 2.4.26-r1 |
70 |
ACCEPT_KEYWORDS="arm" |
71 |
AUTOCLEAN="yes" |
72 |
CBUILD="armeb-softfloat-linux-uclibc" |
73 |
CFLAGS="-Os -march=armv5te -mtune=xscale" |
74 |
CHOST="armeb-softfloat-linux-uclibc" |
75 |
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config |
76 |
/usr/share/config /var/qmail/control" |
77 |
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" |
78 |
CXXFLAGS="-Os -march=armv5te -mtune=xscale" |
79 |
DISTDIR="/usr/portage/distfiles" |
80 |
FEATURES="autoconfig distlocks nodoc noinfo noman sandbox sfperms |
81 |
strict" |
82 |
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo/ |
83 |
http://ftp.iinet.com.au/pub/Gentoo http://distfiles.gentoo.org |
84 |
http://www.ibiblio.org/pub/Linux/distributions/gentoo" |
85 |
PKGDIR="/usr/portage/packages" |
86 |
PORTAGE_TMPDIR="/var/tmp" |
87 |
PORTDIR="/usr/portage" |
88 |
SYNC="rsync://rsync.gentoo.org/gentoo-portage" |
89 |
USE="arm berkdb bitmap-fonts bzip2 curl expat fam fastcgi ncurses pcre |
90 |
perl php python readline sqlite ssl truetype-fonts type1-fonts uclibc |
91 |
unicode zlib userland_GNU kernel_linux elibc_uclibc" |
92 |
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, |
93 |
PORTDIR_OVERLAY |
94 |
|
95 |
-- |
96 |
Dan C <djc@××××××.au> |
97 |
-- |
98 |
gentoo-embedded@g.o mailing list |