Add a required library#265
Conversation
Without libtbb-dev, the example, 'sudo ./build/MoonGen examples/l3-load-latency.lua 0 1', generates a following error message: ./build/MoonGen: error while loading shared libraries: libtbbmalloc.so.2: cannot open shared object file: No such file or directory * Running Environment Ubuntu 18.04.3 LTS Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz
|
thank you for your pull request, i'd prefer a different solution. the dependency on libtbb installed on the system is a bug; we embed libtbb and it should use that version. however, i haven't managed to reproduce this particular issue yet, maybe i need to try with ubuntu |
|
Hi, I was also encountering the same problem as iriszero. I guess that the issue appears when using MoonGen with sudo, as I was doing in another machine. I actually tried to preserve the environment with sudo -E, but it was not working either (very strange that in another machine there is no need to do anything). In the end, I just did
|
|
I was also encountering the same problem as My OS is Ubuntu 18.04.1. It looks like a common problem related to Ubuntu. |
|
@emmericp gentle reminder for the issue. |
|
Confirmed here to be happening on fresh clone of MoonGen on Ubuntu 18.04. Theleos88's work around works perfectly for me when running as root. |
|
Ubuntu 20.04 solution: sudo apt install libtbb2 |
Without libtbb-dev, the example, 'sudo ./build/MoonGen examples/l3-load-latency.lua 0 1', generates a following error message:
Running Environment