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

Junxiao Shi shijunxiao at email.arizona.edu
Sun Aug 28 19:30:36 PDT 2016

Hi Davide

OSX has more LD errors than Ubuntu because sometimes the linker can look
for the dynamic library even if you are compiling statically.
This is just my impression.

I suggested sudo ./waf install rather than LD_LIBRARY_PATH because this is
the procedure given in README-dev.md

Yours, Junxiao

On Wed, Aug 24, 2016 at 8:30 PM, Davide Pesavento <davide.pesavento at lip6.fr>

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20160828/fb566aab/attachment.html>

More information about the Nfd-dev mailing list