Ns-2.32 installation on fedora 8
I AM A BEGINER.I AM INSTALLING NS-2.32 ON FEDORA 8 AND I AM GEETING MESSAGE AS GIVEN BELOW.PLEASE PROVIDE ME THE SOLUTION FOR THIS.
rm -f embedded-tcl.cc ./tcl2c++ et_tcl ../lib/tcl8.4/init.tcl ../lib/tcl8.4/history.tcl ../lib/tcl8.4/word.tcl ../lib/tcl8.4/http1.0/http.tcl > embedded-tcl.cc ./tcl2c++: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory make: *** [embedded-tcl.cc] Error 127 tclcl-1.19 make failed! Exiting ... |
Firstly, please don't SHOUT.
Secondly, you need to install the package that provides libstdc++.so.5 Since you are running an unsupported version of Fedora you have to get the package elsewhere : compat-libstdc++-33 There is a newer version of NS available and of course you probably wouldn't have this problem if you ran the latest Fedora. |
# yum install \
libX11-devel libXext-devel libXau-devel libXmu-devel gcc-c++ You will need this new 'baseurl=' in /etc/yum.repos.d/fedora.. http://archives.fedoraproject.org/pu...thing/i386/os/ And : [updates-newkey-i386] name=Fedora-update-newkey-i386 baseurl= http://archives.fedoraproject.org/pu...8/i386.newkey/ ( No libstdc++.so.5 should be required, AFAIK, unless you use a wrong compiler. The default c++ / g++ version 4.1.2 has libstdc++.so.6. And 4.1.2 is perfect for ns-allinone-2.32 .) cd tk8.4.15/ ; patch -p0 < tk-8.4-lastevent.patch .. to get a usable nam. http://www.linuxquestions.org/questi...ting-818634/#4 .. P.S. : Just did a new test compile, ns-allinone-2.32 on Fedora 8 : No errors. (And nam compiled OK without the tk-8.4-lastevent.patch.) .. .. |
All times are GMT -5. The time now is 04:29 AM. |