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

Re: internal link error under Mac OS X

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: Fri, 25 Sep 2009 01:38:32 +0200

On 2009-09-25 01:24:19 +0200, Vincent Lefevre wrote:
> This has the effect to use -flat_namespace, and it has been told that
> this is bad.
>
> Could the bug be fixed, please?
>
> Note: in case this is a libtool bug, the libtool used by Subversion
> is old.

After some tests...

The failure occurs here:

cd subversion/libsvn_fs_util && /bin/sh /opt/local/var/macports/build/_Users_vinc17_software_dports_devel_subversion/work/subversion-1.6.0/libtool --tag=CC --silent --mode=link /usr/bin/gcc-4.0 -O2 -L/opt/local/lib -L/opt/local/lib/db46 -L/opt/local/lib -L/opt/local/lib -rpath /opt/local/lib -o libsvn_fs_util-1.la fs-util.lo ../../subversion/libsvn_subr/libsvn_subr-1.la /opt/local/lib/libaprutil-1.la -ldb-4.6 -lexpat -liconv /opt/local/lib/libapr-1.la -lpthread -lintl -framework Security -framework CoreFoundation -framework CoreServices

with the error:

ld: Undefined symbols:
_svn_error__malfunction referenced from libsvn expected to be defined in libsvn
_svn_checksum_ctx_create referenced from libsvn expected to be defined in libsvn
_svn_checksum_final referenced from libsvn expected to be defined in libsvn
_svn_checksum_update referenced from libsvn expected to be defined in libsvn

The error occurs because it seems that ld (called by libtool) tries
to link with the old version in /opt/local/lib. It seems that
"-rpath /opt/local/lib" makes this path override the local ones.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2400032
Received on 2009-09-25 01:38:42 CEST

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