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

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


Dear folks

The person who originally asked this question has performed the steps I
gave earlier, and the issue isn't resolved. After talking to him, I
discovered that he's working with ndn-tools, and running just unit-tests
rather than build/unit-tests.
Due to ndn-tools Bug 3312 <https://redmine.named-data.net/issues/3312>, a
binary /usr/local/bin/unit-tests is installed. After this bug is resolved,
that binary isn't deleted, and it's found when typing just unit-tests;
obviously, that binary is from an old version of ndn-tools and linked
against an old version of ndn-cxx. Typing just unit-tests finds the old
binary and causes the undefined symbol error.

Therefore, if you have a /usr/local/bin/unit-tests file on your system,
make sure you delete it.

Yours, Junxiao

On Tue, Aug 23, 2016 at 6:25 PM, Junxiao Shi <shijunxiao at email.arizona.edu>
wrote:

> $ build/unit-tests
> Running 53 test cases...
> unit-tests: symbol lookup error: unit-tests: undefined symbol:
> _ZN3ndn4NameC1ERKSs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20160828/afd1f6b5/attachment.html>


More information about the Nfd-dev mailing list