[Bro] compiling bro with tcmalloc

Jim Mellander jmellander at lbl.gov
Fri Sep 14 16:07:03 PDT 2012


Hi Keith:

Might need to do:

setenv LDFLAGS -L/usr/local/lib
setenv CPPFLAGS -I/usr/local/include

or the moral equivalent for your shell, before running configure

Hope this helps.

On Fri, Sep 14, 2012 at 3:40 PM, Keith Lehigh <klehigh at iupui.edu> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> All,
>    I'm taking a stab at using tcmalloc with Bro.  I'm running FreeBSD-8.3.  I'v
> e got tcmalloc built and installed from gperftools :
>
> $ file /usr/local/lib/libtcmalloc.so.5
> /usr/local/lib/libtcmalloc.so.5: ELF 64-bit LSB shared object, x86-64, version
> 1 (FreeBSD), dynamically linked, not stripped
>
>   When I run configure, Bro says it finds GooglePerfTools, but shows "false" fo
> r tcmalloc :
>
> - -- Found GooglePerftools: /usr/local/lib/libtcmalloc.so
> ...
> gperftools found:  true
>         tcmalloc:  false
>        debugging:  false
>
>    When I compile Bro and check to see if tcmalloc is there, ldd doesn't show i
> t in the shared libraries.
>    Am I misunderstanding something about how Bro is compiling in/using tcmalloc
>  or Bro's configure output?
>
> Thanks!
>
> - - Keith
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAlBTsnUACgkQW5AQrvjB4meTVACfYoZk4Q1Be7V4PGdxfUg51TJW
> 3kYAniZGwCRnmadFCCLene/oP4VnKalg
> =3PF/
> -----END PGP SIGNATURE-----
> _______________________________________________
> Bro mailing list
> bro at bro-ids.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro



More information about the Bro mailing list