Option 1:

export LIBRARY_PATH=/path/where/you/installed/it

So that

ls $LIBRARY_PATH/libtcmalloc_minimal.a succeeds.

Option 2:

export LDFLAGS=-L/path/where/you/installed/it

On 05/09/14 10:21, Douwe H Gelling wrote:
> Hi,
> 
> I'm trying to build moses with tcmalloc support, and have had to compile
> tcmalloc in a separate location for this as the OS version doesn't
> include static libraries.
> 
> I've found that bjam doesn't allow you to specify a non-standard
> location however, and was wondering how I could add my library location
> to those used by bjam (such that the script includes is when testing for
> tcmalloc).
> 
> 
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
> 
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to