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

Re: little help? svn build error under Mac OS X

From: Nicholas Riley <njriley_at_uiuc.edu>
Date: 2003-08-01 07:37:25 CEST

On Thu, Jul 31, 2003 at 05:23:29PM -0600, Hamilton Link wrote:
> /Users/helink/subversion/obj/libtool --silent --mode=link gcc -g -Wall
> -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
> -DNEON_ZLIB -DSVN_DEBUG -DAP_DEBUG -Wpointer-arith -Wwrite-strings
> -Wshadow -L/usr/local/BerkeleyDB.4.1/lib -L/usr/local/apache2/lib
> -rpath /usr/local/apache2/modules -avoid-version -module -o
> mod_dav_svn.la activity.lo deadprops.lo liveprops.lo log.lo merge.lo
> mod_dav_svn.lo repos.lo update.lo util.lo version.lo
> ../../subversion/libsvn_repos/libsvn_repos-1.la
> ../../subversion/libsvn_fs/libsvn_fs-1.la
> ../../subversion/libsvn_delta/libsvn_delta-1.la
> ../../subversion/libsvn_subr/libsvn_subr-1.la
> gcc: -install_name only allowed with -dynamiclib
> make: *** [subversion/mod_dav_svn/mod_dav_svn.la] Error 1

As the error message states, install_name is only applicable to Mach-O
dynamic libraries (MH_DYLIB, .dylib), not bundles (MH_BUNDLE generally
.so), and mod_dav_svn is a bundle. See ld's man page for more
information.

You are likely using an old, broken version of GNU libtool (not to be
confused with NeXT/Apple's utility of the same name). The version
which ships with 10.2.x is derived from GNU libtool 1.4.2, and can't
properly create bundles even when passed the -module flag, as
Subversion's build process correctly does above.

The easiest way to fix this is to install libtool from Fink, which is
a 1.5 derived version devoid of the above bug.

-- 
=Nicholas Riley <njriley_at_uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
        Pablo Research Group, Department of Computer Science and
  Medical Scholars Program, University of Illinois at Urbana-Champaign
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 1 07:39:48 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.