Bug 155439 - subversion rpm contains svn binary linked against wrong db4
Summary: subversion rpm contains svn binary linked against wrong db4
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: subversion
Version: 3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-04-20 12:16 UTC by Antti Niemelä
Modified: 2007-11-30 22:11 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2005-04-20 19:06:39 UTC


Attachments (Terms of Use)

Description Antti Niemelä 2005-04-20 12:16:43 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050416 Fedora/1.0.3-2 Firefox/1.0.3

Description of problem:
Fedora Core 3 subversion rpm release 1.1 for version 1.1.4 contains an 'svn' executable linked against a deprecated version of db4, specifically libdb-4.0.so.

The requirements list of the rpm does not specify libdb-4.0.so, but contains libdb-4.2.so.

In addition, the svn executable is also linked against libldap.so.2, which is not listed in the rpm requirements. This dependency can be solved by installing compat-openldap-2.1.30-2.i386.rpm.

Output of 'svn' before installing compat-openldap:
[aniemela@dhcp-17 ~]$ svn
svn: error while loading shared libraries: libldap.so.2: cannot open shared object file: No such file or directory

Output of 'svn' after installing compat-openldap:
[aniemela@dhcp-17 ~]$ svn
svn: error while loading shared libraries: libdb-4.0.so: cannot open shared object file: No such file or directory




Version-Release number of selected component (if applicable):
subversion-1.1.4-1.1

How reproducible:
Always

Steps to Reproduce:
1. Downloaded subversion-1.1.4-1.1.i386.rpm from ftp.redhat.com fedora core 3 updates
2. Installed subversion with rpm, switches -Uvh
3. Tried to run svn executable
4. Installed compat-openldap-2.1.30-2.i386.rpm
5. Tried to run svn executable
  

Actual Results:  Received shared library loading error,
svn: error while loading shared libraries: libdb-4.0.so: cannot open shared object file: No such file or directory

Expected Results:  svn should have worked :)

Additional info:

Computer is running FC3 upgraded from RH 9.0, which did have an old version of subversion. I've verified that the subversion executable found in my path at /usr/bin/svn is from the subversion-1.1.4-1.1.i386.rpm by deleting the file, checking that trying to run svn produces a 'command not found' error and then running rpm -Uvh --replacepkgs on the subversion rpm.

Comment 1 Joe Orton 2005-04-20 19:06:39 UTC
You probably have an old version of one of the dependencies, or something.  

# yum update apr apr-util perl swig 



Note You need to log in before you can comment on or make changes to this bug.