I'm having trouble building a program that requires external libraries, specifically libgcrypt and gmp (requiring -lgcrypt and -lgmpxx -lgmp respectively).
Following
https://www.nsnam.org/wiki/HOWTO_use_ns-3_with_other_libraries I added conf.env.append_value("LINKFLAGS", ["-lgcrypt", "-lgmpxx", "-lgmp"]) to the wscript and ran it, and it failed with errors similar to "undefined reference to `gcry_md_open'" for various calls on linking. However, the error from ns-3 indicates that the flags were correctly passed in: "['/usr/bin/g++', '-lgcrypt', '-lgmpxx', '-lgmp' " and the external libraries are installed correctly and test programs have both compiled and run correctly with just the above flags. Is there something I am missing or some new documentation that supersedes the above link?