You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Gollmer <be...@jatosoft.com> on 2004/06/09 08:10:49 UTC

Using shared libs on OS X

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 :)

-- 
Ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Using shared libs on OS X

Posted by Ben Gollmer <be...@jatosoft.com>.
On Wed,  9 Jun 2004 12:57:41 -0500, Chris Parker <su...@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

Re: Using shared libs on OS X

Posted by Chris Parker <su...@playswithfire.com>.
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...

.chris

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org