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

Re: httpd 2.0.48's apr-util doesn't work against Berkeley DB 4.2

From: Sander Striker <striker_at_apache.org>
Date: 2003-12-29 11:33:37 CET

On Mon, 2003-12-29 at 07:48, Justin Erenkrantz wrote:
> --On Sunday, December 28, 2003 12:20 PM -0800 Garret Wilson
> <garret@globalmentor.com> wrote:
>
> > I can try making the change, but I'd first like to know why this would be
> > any different in httpd 2.0.48 before I blindly change a file that has worked
> > before.
>
> Just follow Erik's suggestion of adding the right -R flag to your LDFLAGS
> variable before running configure.
>
> There's no need to add to ld.so.conf here if you do that.
>
> As to why it's different, 2.0.48 has revamped autoconf logic to detect BDB
> installations. It's much better now.

The reason you didn't 'need' the LDFLAGS=-R... or LD_LIBRARY_PATH=.. (or
select other options), is because the old logic didn't check if the db
it found for linking was the correct version. It would detect the db4
header file and detect it could link to some version of db (in /usr/lib
for instance). The new code checks to see if it can actually link to
the version of db that has the same version as was being looked for.
Hence the need for being able to resolve the path to the library at
runtime.

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Dec 29 11:34:17 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.