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

Re: Using shared libs on OS X

From: Ben Gollmer <ben_at_jatosoft.com>
Date: 2004-06-09 21:56:32 CEST

On Wed, 9 Jun 2004 12:57:41 -0500, Chris Parker <subversion@playswithfire.com> wrote:
> On Wed, Jun 09, 2004 at 03:10:49AM -0500, Ben Gollmer wrote:
> > Just to save others a lot of hassle, here's a FYI: If you are using the subversion
> >shared libraries
> > on OS X, make sure you use the -flat_namespaces switch to cc. Otherwise, you'll end
> >up with errors
> > like this:
> >
> > ld: /var/tmp//cc2iZZL8.o illegal reference to symbol: _svn_auth_open defined in
> > indirectly referenced dynamic library /usr/local/lib/libsvn_subr-1.0.dylib
> >
> > and spend hours tracking down the problem :)
>
> Define "using" - I don't recall having had to do anything special to
> get this to Just Work on OS X...

Using = compiling a program that uses the shared libraries, like minimal_client.c in
tools/examples.

-- 
Ben
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 9 22:03:30 2004

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.