davidepatti / noxim

Network on Chip Simulator
225 stars 120 forks source link

Noxim Not Running on Ubuntu 18.04.2 with SystemC 2.3.1 #100

Closed lchang256 closed 4 years ago

lchang256 commented 4 years ago

My system has the following: Ubuntu 12.04.2 with Mate 1.20.1. I tried install noxim via the ubuntu.sh script but found the systemc 2.3.1 link is no longer working. The systemc tar.gz file is now systemc-2.3.1a. So I followed the Install.txt guide lines and cloned noxim first, then yaml from github.com/jbeder/yaml-cpp. Then I installed systemc from the downloaded systemc-2.3.1a tar.gz file. I updated Makefile to change systemc to 2.3.1a. Everything build fine (ignoring some warnings on auto_ptr). The noxim executable is built. Then when I tried to run it, I get the following error: ./noxim: error while loading shared libraries: libsystemc-2.3.1.so: cannot open shared object file: No such file or directory

I checked the systemc linb-linux64 directory and that file is there. I then renamed the systemc directory to systemc_2.3.1 instead of 2.3.1a but still got the same error. I tried to search src for where the problem might be but haven't found anything.

What is the next step to fix this issue?

Thanks

lchang256 commented 4 years ago

Correction to my previous post, my system is Ubuntu 18.04.02.

lchang256 commented 4 years ago

OK, I experimented some more and found the issue. The /etc/ld.so.conf.d/noxim_systemc.conf was not set up properly. Once I set that up, noxim ran.

This issue can be closed.

Thanks