[Nfd-dev] HOWTO solve "undefined symbol" error

Davide Pesavento davide.pesavento at lip6.fr
Wed Aug 24 20:30:20 PDT 2016


On Tue, Aug 23, 2016 at 6:25 PM, Junxiao Shi
<shijunxiao at email.arizona.edu> wrote:
> The second cause is most commonly seen during execution of a program in
> ndn-cxx repository (such as ndn-cxx unit tests or ndnsec), when ndn-cxx is
> compiled as dynamic library.
> This is more likely to occur on OSX machines.

Why?

> The solution is to execute sudo ./waf install (omit sudo if you are using
> HomeBrew), and then run the program again.

You should suggest using LD_LIBRARY_PATH and DYLD_LIBRARY_PATH
instead, they're much less invasive, and installing the library is not
a viable solution in some cases.

Thanks,
Davide



More information about the Nfd-dev mailing list