Opened 18 years ago

Closed 18 years ago

Last modified 5 years ago

#682 closed defect (fixed)

subversion fails to configure correctly for db4 from darwinports

Reported by: danielluke (Daniel J. Luke) Owned by: jcorley1@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:


On a Mac OS X 10.2.6 system 'sudo port install subversion' fails to work correctly because subversion's configure doesn't correctly link with the db4 lib that port installs.

I worked around this by adding a symlink (libdb4.dylib->libdb-4.1.dylib).

The problem appears to be the '-ldb4' instead of '-ldb-4'

I suppose this could also be a bug in the db4 port (not installing a libdb4.dylib symlink).

I replicated this on two different 10.2.6 systems.

Change History (3)

comment:1 Changed 18 years ago by aqua-dabbler (kogule)

I met the exact same bug. The dirty patch for subversion is here.

$ cat subversion/files/patch-configure 
--- configure.orig      Thu Jun 19 01:39:40 2003
+++ configure   Sun Aug 10 02:10:30 2003
@@ -9223,7 +9223,7 @@
-      for db_libname in db4 db; do
+      for db_libname in db4 db db-4; do
         # We generate a separate cache variable for each prefix and libname
         # we search under.  That way, we avoid caching information that
         # changes if the user runs `configure' with a different set of
Last edited 5 years ago by ryandesign (Ryan Schmidt) (previous) (diff)

comment:2 Changed 18 years ago by fkr@…

Owner: changed from rooneg@… to jcorley1@…

comment:3 Changed 18 years ago by jcorley1@…

Resolution: fixed
Status: newclosed

I've taken Ryo Kogule's configure patch and rolled that in to the update I have pending for 0.27.0 (currently pending in bugzilla #798). Thanks for the submission. Jason

Note: See TracTickets for help on using tickets.