On Mon, 2005-11-04 at 16:47 +0100, Max Bowsher wrote:
> > Do I need to put /usr/local/lib in the PYTHONPATH as well?
>
> No, that's not what PYTHONPATH is for, at all.
>
> What does "ldd path/to/libsvn/_repos.so" say?
[root@jackd root]# ldd /usr/local/lib/svn-python/libsvn/_repos.so
linux-gate.so.1 => (0xffffe000)
libsvn_swig_py-1.so.0 => /usr/local/lib/libsvn_swig_py-1.so.0
(0xb7fe7000)
libsvn_repos-1.so.0 => /usr/local/lib/libsvn_repos-1.so.0
(0xb7fd3000)
libsvn_subr-1.so.0 => /usr/local/lib/libsvn_subr-1.so.0
(0xb7fb2000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7e67000)
libsvn_delta-1.so.0 => /usr/local/lib/libsvn_delta-1.so.0
(0xb7e5f000)
libaprutil-0.so.0 => /usr/local/apr/lib/libaprutil-0.so.0
(0xb7e4b000)
libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0xb7e44000)
libdb-4.2.so => /usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so
(0xb7d99000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0xb7d79000)
libapr-0.so.0 => /usr/local/apr/lib/libapr-0.so.0 (0xb7d5b000)
librt.so.1 => /lib/tls/librt.so.1 (0xb7d46000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7d24000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7cf7000)
libnsl.so.1 => /lib/libnsl.so.1 (0xb7ce2000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7cd2000)
libdl.so.2 => /lib/libdl.so.2 (0xb7ccf000)
libsvn_fs-1.so.0 => /usr/local/lib/libsvn_fs-1.so.0 (0xb7cca000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
libsvn_fs_fs-1.so.0 => /usr/local/lib/libsvn_fs_fs-1.so.0
(0xb7cb6000)
libsvn_fs_base-1.so.0 => /usr/local/lib/libsvn_fs_base-1.so.0
(0xb7c9a000)
> >> The versions you quote should be fine, though, if you can work out why
> >> your
> >> build is broken.
> >
> > Finishing up exams this week, then I'll have some more time. Any idea
> > how I should go about debugging my build? I don't really know where to
> > start.
> >
> > There were some warnings about relinking when I did a `make install-
> > swig-py` but I thought that was just because I already had those shared
> > libraries in ld.so.config.
>
> You made edits to ld.so.config?
Yes, added /usr/local/lib/svn-python/libsvn like `make install-swig-py`
told me to. Then I ran `ldconfig` as root to update.
[root@jackd root]# cat /etc/ld.so.conf
/usr/lib/mysql
/usr/X11R6/lib
/usr/lib/qt-3.1/lib
/usr/local/BerkeleyDB.4.2/lib
/usr/local/lib
/usr/local/apache2/modules
/usr/lib
/home/nesscg/sandbox/php-4.3.10/libs
/usr/local/apache2/php/lib
/usr/local/lib/svn-python/libsvn
Before we go any further here is my configure line in case I messed up.
./configure --with-ssl --with-berkeley-db=/usr/local/BerkeleyDB.4.2 --
enable-swig-bindings --with-swig=/usr/local/bin/swig
The script found my perl and python binaries in /usr/bin
Thanks for the help, much appreciated.
Chris
--
Software Engineering IV,
McMaster University
PGP Public Key: http://www.nesser.org/pgp-key/
12:38:31 up 4 min, 3 users, load average: 0.33, 0.67, 0.34
http://www.gnu.org/philosophy/no-word-attachments.html
Received on Mon Apr 11 19:00:06 2005