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

Re: Problems building / running svnserve 1.6.2 on Ubuntu 9.04

From: Dave Levitt <dave.levitt_at_gmail.com>
Date: Sat, 20 Jun 2009 14:25:43 -0400

On Mon, Jun 15, 2009 at 11:49 AM, Dave Levitt<dave.levitt_at_gmail.com> wrote:
> I'm having trouble building the svn server from the 1.6.2 tarball.
> [this is for an experimental / test server, not a production system]
>
> The server refuses to launch, complaining it can't find libldap 2.3
>
>> /usr/bin/svnserve: error while loading shared libraries: libldap-2.3.so.0: cannot open shared object file: No such file or directory
>
> Running ldd on the compiled executable shows
>
>> libldap-2.3.so.0 => not found
>
> The package manager GUI shows the installed version as "libldap-2.4-2"
> [installed version 2.4-15ubuntu1]
>
> The package manager lists installed files as
> /.
> /usr
> /usr/lib
> /usr/lib/liblber-2.4.so.2.4.1
> /usr/lib/libldap_r-2.4.so.2.4.1
> /usr/share
> /usr/share/doc
> /usr/share/doc/libldap-2.4-2
> /usr/share/doc/libldap-2.4-2/README.Debian
> /usr/share/doc/libldap-2.4-2/copyright
> /usr/share/doc/libldap-2.4-2/changelog.Debian.gz
> /usr/share/man
> /usr/share/man/man5
> /usr/share/man/man5/ldap.conf.5.gz
> /etc
> /etc/ldap
> /etc/ldap/ldap.conf
> /usr/lib/liblber-2.4.so.2
> /usr/lib/libldap_r-2.4.so.2
> /usr/lib/libldap-2.4.so.2
>
> looking back at the ldd output, I can see a dependency listed
>
>> libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0xb7bc2000)
>
> so, _something_ in the link is using or specifying some of the 2.4 libraries.
>
>
> What is a good way to resolve this issue?
>
> 1) Use a different distribution [e.g. Fedora] instead of debian/ubuntu
>
> 2) Download a binary distribution [any recomendations]
>
> 3) clean up / revert to the 1.5.x build from the ubuntu/debian repository
>
> 4) Get the current HEAD code for 1.6 and see what happens
>

Score this one as 'problem exists between keyboard and chair' [PEBKAC].

Once I updated the path in the init.d scripts to launch svnserve and
apache httpd, it stopped mixing in references to the obsolete
Debian/Ubuntu subversion package [1.5.4]

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2363787

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-20 20:26:48 CEST

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