Re: [gem5-dev] LD_LIBRARY_PATH is ignored (?) when running dynamically linked binary

2017-12-12 Thread Sam Xi
Ah, that'll fixed it. I assumed LD_LIBRARY_PATH would be passed. Thanks! On Tue, Dec 12, 2017 at 5:04 PM Gabe Black wrote: > Just checking assumptions here since you didn't provide a command line, but > environment variables from your host aren't blindly passed to the

Re: [gem5-dev] LD_LIBRARY_PATH is ignored (?) when running dynamically linked binary

2017-12-12 Thread Gabe Black
Just checking assumptions here since you didn't provide a command line, but environment variables from your host aren't blindly passed to the simulated process in gem5. If you're using se.py, it looks like the --env option is what you want. Gabe On Tue, Dec 12, 2017 at 12:14 PM, Sam Xi

[gem5-dev] LD_LIBRARY_PATH is ignored (?) when running dynamically linked binary

2017-12-12 Thread Sam Xi
Hi all, I'm running into an issue with simulating a dynamic library in SE mode. My binary has been compiled and linked with a library that is not installed in one of the system default locations (/usr/lib, /usr/local/lib, /usr/lib/x86_64-linux-gnu, etc). I have the correct path added to