The error implies that you have a different environment at run time from
that at ./configure time.

The only call to pthread_atfork is protected thusly:

globals-core.c-327-#ifdef HAVE_PTHREAD_ATFORK
globals-core.c:328:  i = pthread_atfork(NULL, NULL, &reinitMutexes);
globals-core.c-329-  /* traceEvent(CONST_TRACE_INFO, "NOTE: atfork() handler
registered for mutexes, rc %d", i); */
globals-core.c-330-#endif

Where HAVE_PTHREAD_ATFORK is only set if that POSIX call was found during
the ./configure when the binary package was built (you don't indicate where
you obtained this package, so I can't comment further).

If you can't install a version of the system libraries that has this call,
you need to use the source to build a version which truly matches your
environment...


-----Burton

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Caine H ö rr
Sent: Wednesday, November 23, 2005 5:53 PM
To: [email protected]
Subject: [Ntop-dev] Problems with ntop-3.2 on OS X (10.3.9)

I ran the ntop-3.2-macosx.pkg and then I ran ntop as described in the
forward (/usr/local/ntop-3.2/bin/ntop -u root -I en0).

For the sake of ease, I created the following sym-link:

ln /usr/local/ntop-3.2/bin/ntop /usr/local/bin/ntop

Here is the output I receive when running ntop 3.2 (this output is the same
whether I specify the full path to the binary or to the sym-link.

ntop -u root -i en0
dyld: ntop Undefined symbols:
ntop undefined reference to _pthread_atfork expected to be defined in
/usr/lib/libSystem.B.dylib Trace/BPT trap

I have seen this posted on the web in various forums but have found no
answers as of yet.

Any suggestions?

Thanks.

Caine
[EMAIL PROTECTED]

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

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

Reply via email to