[chord] install question

Yanyan Wang Yanyan.Wang at colorado.edu
Wed May 4 10:54:51 EDT 2005


To whom it may concern,

I am new to Chord. And I have some problems in installing it. I have
downloaded sfs and compiled it without trouble. Then I downloaded Chord and
did the following:

% cd src/sfsnet
% ./setup
...
% mkdir /scratch/chord-build
% cd /scratch/chord-build
% /scratch/chord-0.1/src/sfsnet/configure --prefix=$PWD --with-
sfs=/scratch/sfs-build/
...
% gmake

All the above steps succeeds except the gmake gives me the following error
message:

--------------
...
dbdump.o(.text+0xa4): In function `main':
../../chord-0.1/devel/dbdump.C:54: undefined reference to `db_create_4001'
dbdump.o(.text+0x850): In function `main':
/scratch/sfs-0.7.2/async/str.h:415: undefined reference to `db_strerror_4001'
dbdump.o(.text+0x898): In function `main':
../../chord-0.1/devel/dbdump.C:27: undefined reference to `db_env_create_4001'
dbdump.o(.text+0xa76): In function `main':
/scratch/sfs-0.7.2/async/str.h:415: undefined reference to `db_strerror_4001'
collect2: ld returned 1 exit status
make[2]: *** [dbdump] Error 1
make[2]: Leaving directory `/scratch/chord-build/devel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/scratch/chord-build'
make: *** [all] Error 2
----------------

It seems that it's an error related to database. And I noticed that in
your "Chord HOWTO" doc, you says that "Berkeley DB is needed for sfs build". I
built sfs successfully without it. But I guess I still need to install it. But
how could I specify the database in chord configuration? I cannot find the doc
for it. Could you please give me some information or links to the doc? Thanks
a lot!

Yours,
Yanyan :)


=================================
Yanyan Wang
Department of Computer Science
University of Colorado at Boulder
Boulder, CO, 80302
=================================



More information about the chord mailing list