[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: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-02-02 06:18:55 CET

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.
> >
> >

-- 
Philip
---------------------------------------------------------------------
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.