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

Re: Mac OS libtool / glibtool?

From: Nicholas Riley <njriley_at_uiuc.edu>
Date: 2003-08-12 21:55:14 CEST

On Mon, Aug 11, 2003 at 09:53:21AM -0700, Jack Repenning wrote:
> Sounds like that might be the answer to my question! Let me specify
> the problem clearly, and if you're sure you don't have that problem,
> then we'll have a solution.
>
> * Build svn revision X, including shared libraries (no --disable-shared)
> * Install it (the dynlibs go into /usr/local/lib)
> * svn update to revision X+n ("n" enough to introduce some
> incompatibility with the installed libraries)
> * build
>
> At this point, I get failures because the new code doesn't match the
> /usr/local/lib/*svn*.dynlib APIs.
>
> INSTALL warns:
> If you have old subversion libraries sitting on your system,
> libtool will link them instead of the `fresh' ones in your tree.
> Remove them before building subversion.
>
> This is a bad thing. The libraries should be pulled from the build
> tree first, not the installed.

Yes, they should. This is a problem with Mac OS X's linker, and the
only current workaround is to remove the installed versions first.

I was reading another mailing list today, and found a hope for the
future:

<http://mailman.mit.edu/pipermail/krbdev/2003/001714.html>

With Panther, if you add a linker flag, it'll cause the library search
order to work as you'd expect. Perhaps this information should be
added to the Subversion readme if it hasn't already - since it catches
pretty much everyone seems to be caught by it.

-- 
=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 Tue Aug 12 21:56:07 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.