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

Re: [PATCH] Detect the proper shell variable to set to give path to shared libraries in Makefile.PL

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2003-12-05 14:05:59 CET

On Dec 5, 2003, at 4:49 AM, Chia-liang Kao wrote:

> what would this message mean? I'm trying to get access to my old
> powerbook remotely to test these...

I have no idea if I'm right, but I suspect it means that for bundles on
OS X (i.e. dynamically loadable modules like a perl module) you can't
reference one library that dynamically references another and expect it
to work. We reference libsvn_whatever, which references
libapr-whatever, and as soon as it hits a symbol in libapr-whatever it
blows up. Adding --link-ld means that we get the following output from
apr-config:

$ apr-config --cflags --link-ld --libs
  -g -O2 -L/Users/rooneg/Hacking/prefix/lib -lapr-1 -lpthread

Without --link-ld we get this:

$ apr-config --cflags --libs
  -g -O2 -lpthread

So we need to --link-ld to tell it where to pick up libapr-1.dylib.
What are the results when you try this on the system you're using?

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 5 14:06:38 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.