[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: Blair Zajac <blair_at_orcaware.com>
Date: Fri, 16 Aug 2013 13:08:59 -0700

On 08/16/2013 12:43 PM, Ben Reser wrote:
> 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)

MacPorts uses nothing from the OS if it can avoid it. Here's the
complete otool output.

$ otool -L /opt/local/bin/svn
/opt/local/bin/svn:
        /opt/local/lib/libsvn_client-1.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
        /opt/local/lib/libsvn_wc-1.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
        /opt/local/lib/libsvn_ra-1.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
        /opt/local/lib/libsvn_diff-1.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
        /opt/local/lib/libsvn_ra_local-1.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
        /opt/local/lib/libsvn_repos-1.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
        /opt/local/lib/libsvn_fs-1.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
        /opt/local/lib/libsvn_fs_fs-1.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
        /opt/local/lib/libsvn_fs_base-1.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
        /opt/local/lib/db46/libdb-4.6.dylib (compatibility version 0.0.0,
current version 0.0.0)
        /opt/local/lib/libsvn_fs_util-1.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
        /opt/local/lib/libsvn_ra_svn-1.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
        /opt/local/lib/libsasl2.2.dylib (compatibility version 3.0.0, current
version 3.25.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.1.7)
        /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current
version 25.0.2)
        /usr/lib/libpam.1.dylib (compatibility version 1.0.0, current version
1.0.0)
        /opt/local/lib/libsvn_ra_serf-1.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
        /opt/local/lib/libserf-1.dylib (compatibility version 4.0.0, current
version 4.0.0)
        /opt/local/lib/libsvn_delta-1.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
        /opt/local/lib/libsvn_subr-1.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
        /opt/local/lib/libexpat.1.dylib (compatibility version 8.0.0, current
version 8.0.0)
        /opt/local/lib/libsqlite3.0.dylib (compatibility version 9.0.0, current
version 9.6.0)
        /opt/local/lib/libmagic.1.dylib (compatibility version 2.0.0, current
version 2.0.0)
        /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current
version 1.2.8)
        /opt/local/lib/libaprutil-1.0.dylib (compatibility version 6.0.0,
current version 6.2.0)
        /opt/local/lib/libapr-1.0.dylib (compatibility version 5.0.0, current
version 5.8.0)
        /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current
version 10.2.0)
        /opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current
version 8.1.0)
        /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 32.0.0)
        /System/Library/Frameworks/Security.framework/Versions/A/Security
(compatibility version 1.0.0, current version 26935.0.0)
        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version
1.0.0)
Received on 2013-08-16 22:09:35 CEST

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