One thing to try if you are desperate: symlink every needed shared library into a directory, and then redirect /lib64 or that directory. I'm pretty sure this should work.
I'm not sure why LD_LIBRARY_PATH does not work. I would dig dieeper and try to understand that, theoretically it feels like it should work. On Mon, Jun 8, 2020 at 6:05 PM Shougang Yuan via gem5-users <gem5-users@gem5.org> wrote: > > Hi, All, > > I am currently trying to run some benchmarks that need some shared libs. If I > run these benchmarks on physical machines, I need to reset LD_LIBRARY_PATH to > load these libs. > > But when I run the benchmarks with gem5, I tried to use --env options and > --redirects options to set LD_LIBRARY_PATH, and these two options seem to not > work with LD_LIBRARY_PATH correctly. > > So how can I modify the simulator to load these shared libs. I am fine to > modify the simulator infrastructures. So can anyone give some hints about > this? Thanks a lot. > > Best regards. > Shougang > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-le...@gem5.org > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s