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

Re: db3 build probs.

From: Kevin Pilch-Bisson <kevin_at_pilch-bisson.net>
Date: 2001-09-04 21:11:46 CEST

On Tue, Sep 04, 2001 at 02:11:05PM -0500, Ben Collins-Sussman wrote:
>
> Kevin -- I'm not sure if this is related to your change.
>
> I just did an update, rm'd config.cache, did a 'make clean'.
> Then I did an autogen.sh, configure, and make. And now suddenly I can
> no longer build with db/ within my tree. (This is on my FreeBSD 4.4 box.)
>
> The build system compiles everything -- including my inline db/ tree.
> But on the final link of 'svn', I get a
>
> /usr/libexec/elf/ld: cannot find -ldb-3.3
>
> I need a serious clue here. Shouldn't it be looking for -ldb3? or
> -ldb?

Which version of db are you using. On my linux box, with db-3.3.11 in tree,
the only library which gets created at compile time is libdb-3.3.la. The rest
get made at install time. That's why I made that change, because I couldn't
build with db in tree unless the line was specifically
        -L.../db/dist/.libs -ldb-3.3

I did test it with db in tree (and without db at all) before checking it in.

Maybe sleepycat does something different on FreeBSD than on linux (but I can't
see why)?

kevin@pilchie:~ [614]$ libtool --version
ltmain.sh (GNU libtool) 1.3.5 (1.385.2.206 2000/05/27 11:12:27)

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • application/pgp-signature attachment: stored
Received on Sat Oct 21 14:36:39 2006

This is an archived mail posted to the Subversion Dev mailing list.