[Nfd-dev] ndn-cxx error on CentOs

Alex Afanasyev alexander.afanasyev at ucla.edu
Thu May 8 10:20:47 PDT 2014


If you installed library in /usr/local (default), then you need to adjust PKG_CONFIG_PATH (check examples in NFD docs).

---
Alex

> On May 8, 2014, at 10:02 AM, "Ashlesh Gawande (agawande)" <agawande at memphis.edu> wrote:
> 
> I did a clean install of boost 1.55.0 and ndn-cxx is now installed on centOS, but now NFD is not detecting libndn-cxx.
> 
> Ashlesh
>  
> From: Lan Wang (lanwang)
> Sent: Thursday, May 08, 2014 11:48 AM
> To: Alex Afanasyev
> Cc: Junxiao Shi; Ashlesh Gawande (agawande); <nfd-dev at lists.cs.ucla.edu>
> Subject: Re: [Nfd-dev] ndn-cxx error on CentOs
>  
> I see.  I was thinking from the viewpoint of testing since this is the purpose of this exercise (whether the code works with the minimum boost version required).  If it is difficult to do this on CentOS, then of course higher version is fine.
> 
> Lan
> On May 8, 2014, at 11:20 AM, Alex Afanasyev <alexander.afanasyev at ucla.edu>
>  wrote:
> 
>> If installing boost from source, there is no point of installing old version.
>> 
>> On CentOS, boost has to be installed from source (until we do some magic with binaries), since CentOS provides extremely old version.
>> 
>> ---
>> Alex
>> 
>>> On May 8, 2014, at 8:15 AM, Lan Wang (lanwang) <lanwang at memphis.edu> wrote:
>>> 
>>> Ashlesh,
>>> 
>>> I think it's best that we have only the minimum required version of boost (1.48?) installed on the machine.   Hoque has modified the NLSR code to make it work with boost 1.48 so that should not be a problem.
>>> 
>>> Lan
>>> On May 7, 2014, at 3:12 PM, Junxiao Shi <shijunxiao at email.arizona.edu>
>>>  wrote:
>>> 
>>>> Hi Ashlesh
>>>> 
>>>> The log snippet shows that libboost_filesystem-mt.so is picked. It is likely a symbolic link to libboost_filesystem-mt.so.5 which is part of Boost 1.41.
>>>> Please delete all Boost versions prior to 1.55, including libraries and headers.
>>>> 
>>>> Alternatively, you may install Boost 1.55 libraries to a different path, and supply a "--boost-libs" option to waf configure.
>>>> 
>>>> Yours, Junxiao
>>>> 
>>>> ----------------------------------------
>>>> Checking boost libs
>>>> Found the boost path in /usr/lib with the libraries:
>>>>     /usr/lib/libboost_filesystem-mt.so
>>>>     /usr/lib/libboost_filesystem-mt.so.5
>>>>     /usr/lib/libboost_filesystem.a
>>>>     /usr/lib/libboost_filesystem.so
>>>>     /usr/lib/libboost_filesystem.so.1.55.0
>>>>     /usr/lib/libboost_filesystem.so.5
>>>> Trying pattern boost_filesystem(-gcc[0-9]{0,3})+(-1_55)+
>>>> Trying pattern boost_filesystem(-1_55)+
>>>> Trying pattern boost_filesystem(-1_55)+
>>>> Trying pattern boost_filesystem(-gcc[0-9]{0,3})+
>>>> Trying pattern boost_filesystem
>>>> Found boost lib libboost_filesystem-mt.so
>>>> 
>>>> _______________________________________________
>>>> Nfd-dev mailing list
>>>> Nfd-dev at lists.cs.ucla.edu
>>>> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
>>> 
>>> _______________________________________________
>>> Nfd-dev mailing list
>>> Nfd-dev at lists.cs.ucla.edu
>>> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20140508/e293dddf/attachment.html>


More information about the Nfd-dev mailing list