The following error occurs when nox is installed in Ubuntu: & gt; collect2: ldreturned1exitstatus & gt; make [3]: *** [nox_core] Error1 & gt; make [3]: leavingdirectory '/usr/nox/build/src' & gt; & g
The following error occurs when nox is installed in Ubuntu:
>>>> Collect2: ld returned 1 exit status
>>>> Make [3]: *** [nox_core] Error 1
>>>> Make [3]: Leaving directory '/usr/nox/build/src'
>>>> Make [2]: *** [all-recursive] Error 1
>>>> Make [2]: Leaving directory '/usr/nox/build/src'
>>>> Make [1]: *** [all-recursive] Error 1
>>>> Make [1]: Leaving directory '/usr/nox/nox13oflib/build'
>>>> Make: *** [all] Error 2. After checking the information, [1] found that nox can only be compiled in boost1.50 or later versions, the boost version of Ubuntu12.10 is 1.42. So to update boost, I used to download the source code and compile it on the official boost website www.boost.org.
The following describes the brief installation process.
Virtual Machine installation: OpenFlow1.3 _ BiangHoo
IP: 10.10.134.124
OS: ubuntu 12.10LTS
Nox installation:
Install related dependency packages:
Sudo apt-get install autoconf automake g ++ libtool swig make git-core libboost-dev libboost-test-dev libboost-filesystem-dev libssl-dev libpcap-dev python-twisted python- simplejson python-dev
Also install libboost-all-dev and libttb-dev
Apt-get install libboost-all-dev libttb-dev
Go to the boost official website www.boost.org to download the source code and compile it. I downloaded version 1.55 and installed boost in the/usr/local/directory.
That is
./Bootstrap. sh -- prefix =/usr/local/boost
Then
./B2 install
Run ldconfig to make the relevant database take effect.
Then download the nox source code.
Git clone git: // github.com/noxrepo/nox
Cd nox
./Boot. sh
Mkdir build
Cd build
.././Configure -- with-boost =/usr/local/boost # boost installation location
Make
Make install
The installation is successful.
Start nox
Cd PATH_TO_NOX/nox/build/src
./Nox_core-I ptcp: 6633
Reference [1] http://www.linuxidc.com/Linux/2014-02/97216p2.htm
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2