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

Re: APR and APR-UTIL config problem

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2002-02-02 08:07:27 CET

Yikes, you are right.....I would have sworn I saw those libraries being
linked in.....thanks, I'll check on that.

   - David

On 2 Feb 2002, Philip Martin wrote:

> Date: 02 Feb 2002 05:18:55 +0000
> From: Philip Martin <philip@codematters.co.uk>
> To: "dev@subversion.tigris.org" <dev@subversion.tigris.org>
> Subject: Re: APR and APR-UTIL config problem
>
> David Summers <david@summersoft.fay.ar.us> writes:
>
> > That is interesting and strange because if you check the config.log it
> > appears that it is using those libraries to link with.
>
> Not from what I see:
> configure:2231: gcc -o conftest -g -O2 -L/opt/apr/lib conftest.c -lapr >&5
> no -lcrypt -ldl -pthread there...
>
> >
> > Stranger and stranger.....
> >
> > - David
> >
> > On 2 Feb 2002, Philip Martin wrote:
> >
> > > From the log, its failing to link against -lapr. From the undefined
> > > symbols I'd say you need, on Linux, an additional
> > >
> > > LDFLAGS="-lcrypt -ldl -pthread"
> > >
> > > So this might work:
> > >
> > > $ LDFLAGS="-lcrypt -ldl -pthread" ./configure
> > >
> > > Basically you need the output of "apr-config --libs" where apr-config
> > > is created when building APR. From a quick look, it appears that
> > > APR_FIND_APR in ac-helpers/find_apr.m4 doesn't know to add this. This
> > > is the same function that broke builddir != srcdir builds.
> > >
> > >
>
>

-- 
David Wayne Summers          "Linux: Because reboots are for upgrades!"
david_at_summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:03 2006

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.