Did you install the headers?  Most packaging schemes split the executable
from the header, so there is usually a gdbm and a gdbm-devel package.  You
need both.

 

-----Burton

 

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of B
Byrd
Sent: Wednesday, July 25, 2007 2:03 PM
To: [email protected]
Subject: [Ntop] Re: ERROR: gdbm header or library routines are missing

 

I installed the gdbm library and I still getting the same error as discribed
below.  What else could be the problem?

B Byrd <[EMAIL PROTECTED]> wrote: 

As I was autogen.sh the ntop I got the following error message:

 

 

*******************************************************************

*

* ERROR: gdbm header or library routines are missing

*           (yes means it was found, no means it was not found)

*

*              gdbm.h...no

*              gdbm_open() in -lgdbm...no

*

*>>> No way to proceed.

*

*???     1. Install libgdbm

*???    and Rerun ./configure

*???  or 2. Use the --with-gdbm-xxxxx= options

*

*******************************************************************

 

configure: error: Unable to continue... aborting ./configure

 

 

==================================================================

 

After looking at the config.log file all I could find was the following:

 

| #ifdef __cplusplus

| extern "C" void std::exit (int) throw (); using std::exit;

| #endif

| #define HAVE_PCAP_NEXT_EX 1

| /* end confdefs.h.  */

| #include <gdbm.h>

configure:22177: result: no

configure:22212: checking for gdbm.h

configure:22219: result: no

configure:22233: checking for gdbm_open in -lgdbm

configure:22263: gcc -o conftest -g -O2 -I/usr/local/include -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wmissing-dec

larations -Wnested-externs  -fPIC -DPIC  -DLINUX -I/usr/local/include
-L/usr/local/lib conftest.c -lgdbm   -lgdbm >&5

/usr/bin/ld: cannot find -lgdbm

collect2: ld returned 1 exit status

configure:22269: $? = 1

configure: failed program was:

| /* confdefs.h.  */

 

==================================================================

 

Therefore what is the next step in correcting this such that I may use ntop
on a Linux 2.6.9-55 version

 

 

  _____  

Looking for a deal? Find
<http://us.rd.yahoo.com/evt=47094/*http:/farechase.yahoo.com/;_ylc=X3oDMTFic
DJoNDllBF9TAzk3NDA3NTg5BHBvcwMxMwRzZWMDZ3JvdXBzBHNsawNlbWFpbC1uY20->  great
prices on flights and hotels with Yahoo! FareChase.

 

  

  _____  

Sick sense of humor? Visit Yahoo! TV's Comedy
<http://us.rd.yahoo.com/evt=47093/*http:/tv.yahoo.com/collections/222>  with
an Edge to see what's on, when. 

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to