[Coral-dev] Installation problem

Ken Keys coral-info at caida.org
Wed Oct 29 16:29:51 PST 2003


On Mon, Oct 27, 2003 at 01:12:25PM +0700, Êó¤Á¹ì ªÕéà¨ÃÔ­ (saranakom cheecharoen) wrote:
> Hi,CoralReef dev team.
>          I am lungka engineer from Prince of Songkla University at
> Thailand. My 0S is redhat 9.0.Now,i download your software
> coral-3.5.1-public.tar.gz. But i can not done installation. I face some
> problem. 
> 
> My installation step is:
> 1.
> #./configure --disable-perl
> --with-libdirs="/usr/local/BerkeleyDB.4.1/lib"
> --with-incdirs="/usr/local/BerkeleyDB.4.1/include"      
> 
> 2.
> #make depend 
> 
> 3.
> #make 
> 
> make[1]: Entering directory
> `/usr/local/src/coral-3.5.1-public/apps/summaries'
> gcc -I../../include -g -O2  -o crl_ipmatrix crl_ipmatrix.o -L../../lib
> -lcoral   -L/usr/local/BerkeleyDB.4.1/lib -lz -lpcap
> crl_ipmatrix.o(.text+0x2bc): In function `pkthandler':
> /usr/local/src/coral-3.5.1-public/apps/summaries/crl_ipmatrix.c:222:
> undefined reference to `__db185_open'
> collect2: ld returned 1 exit status
> make[1]: *** [crl_ipmatrix] Error 1
> make[1]: Leaving directory
> `/usr/local/src/coral-3.5.1-public/apps/summaries'
> make: *** [apps] Error 1
> 
> How can i fix it? Please help me.

We have never tried building with BerkeleyDB 4.1, so I do not know if this
will work.  Try adding -ldb to the libdirs.  That is:

./configure --disable-perl
 --with-libdirs="/usr/local/BerkeleyDB.4.1/lib -ldb"
 --with-incdirs="/usr/local/BerkeleyDB.4.1/include"      

Let me know if this works.

-- 
Ken Keys
kkeys at caida.org
CoralReef:  http://www.caida.org/tools/measurement/coralreef/


More information about the Coral-dev mailing list