[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: ViewCVS Python Bindings

From: Christopher Ness <chris_at_nesser.org>
Date: 2005-04-11 18:47:38 CEST

 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
        libsvn_repos-1.so.0 => /usr/local/lib/libsvn_repos-1.so.0
        libsvn_subr-1.so.0 => /usr/local/lib/libsvn_subr-1.so.0
        libc.so.6 => /lib/tls/libc.so.6 (0xb7e67000)
        libsvn_delta-1.so.0 => /usr/local/lib/libsvn_delta-1.so.0
        libaprutil-0.so.0 => /usr/local/apr/lib/libaprutil-0.so.0
        libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0xb7e44000)
        libdb-4.2.so => /usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so
        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
        libsvn_fs_base-1.so.0 => /usr/local/lib/libsvn_fs_base-1.so.0

> >> 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

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.

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 

Received on Mon Apr 11 19:00:06 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.