[ndnSIM] Boost libs folder path on Ubuntu 13.10 changed, configure failing

Alex Afanasyev alexander.afanasyev at ucla.edu
Thu Jan 30 16:52:56 PST 2014

Thanks Ric,

I had similar problem with boost on Ubuntu 13.10 (really, why did they changed paths... do people run the same distribution on different platforms at the same time?) with my other project, but completely forgot that this also an issue with ndnSIM.  Technically, this is an issue with NS-3 and as I checked the development branch of NS-3 still has this problem.  If you want, you can create a ticket there too :)

I will try to update the customized version of base NS-3 for ndnSIM in a couple of days.


On Jan 30, 2014, at 4:47 PM, Riccardo Loti <loti at di.unito.it> wrote:

> Hello there,
> I’ve started playing around a bit with your ns-3 module for my PhD thesis (module which I find very very well done), but I stumbled on a few problems at the beginnings, which where kinda hard to pinpoint or find other people having the same problem, so I guess I’ll just tell you here. ;)
> First (and most important) by following the instructions on your site on Ubuntu 13.10 the ndnSIM module won’t compile, as during ./waf configure the boost libs are not found.
> The default version is 1.53, but the library aren’t in /usr/lib, /usr/lib32 or /usr/lib64 which is where war looks for them. They actually are (talking about the 64bit lib version) in
> /usr/lib/x86_64-linux-gnu/
> so to be able to find them you have to issue the following command
> ./waf configure --boost-libs=/usr/lib/x86_64-linux-gnu/ --enable-examples
> Then again, while it will include ndnSIM as a module to compile, when issuing the ./waf command it will stop due to an unused typedef warning (which is also pointed out by Bilal here: http://www.lists.cs.ucla.edu/pipermail/ndnsim/2014-January/001084.html).
> So the REALLY correct command is:
> CXXFLAGS="-O0 -g" ./waf configure --boost-libs=/usr/lib/x86_64-linux-gnu/ --enable-examples
> So, TL;DR version, an additional path to search for the boost libraries should be added and it would be very nice if that warning could be resolved to avoid tweaks… or at least both tricks should be listed on the otherwise very helpful site as a temporary solution!
> I may be able to help and contribute some code to resolve the issues, but it will have to wait a few as my time is sucked dry by thesis demons right now! ;)
> Well, hope it helps and glad to be here! ;)
> See ya,
> Ric

More information about the ndnSIM mailing list