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

Re: otool -L and svn --version --verbose inconsistency

From: Ben Reser <ben_at_reser.org>
Date: Fri, 16 Aug 2013 12:43:22 -0700

On Fri Aug 16 12:39:10 2013, Ben Reser wrote:
> dyld is loading both for some reason.

Even with the amalgamation I'm seeing:
$ svn-trunk --version --verbose | grep -i sqlite
  - SQLite 3.7.12 (static)
  - /usr/lib/libsqlite3.dylib (Intel 64-bit)

But I think I know why.

If you're using the APR-Util that comes with OS X then it linked to
sqlite:
$ otool -L /usr/lib/libaprutil-1.0.dylib
/usr/lib/libaprutil-1.0.dylib:
        /usr/lib/libaprutil-1.0.dylib (compatibility version 4.0.0, current
version 4.10.0)
        /usr/lib/libexpat.1.dylib (compatibility version 7.0.0, current
version 7.2.0)
        /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current
version 7.0.0)
        /usr/lib/libpq.5.dylib (compatibility version 5.0.0, current version
5.3.0)
        /usr/lib/libsqlite3.dylib (compatibility version 9.0.0, current
version 9.6.0)
        /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
(compatibility version 1.0.0, current version 2.2.0)
        /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current
version 46.0.0)
        /usr/lib/libapr-1.0.dylib (compatibility version 5.0.0, current
version 5.2.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 159.0.0)
Received on 2013-08-16 21:43:57 CEST

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