I tried as you said, but the error message is "error: no such option: --redirects", and I check the options.py file in the configs/common directory, it seems that this option has been deprecated? Or is there anything I misunderstand?
Best regards. Shougang On Tue, Jun 9, 2020 at 10:40 AM Ciro Santilli <ciro.santi...@gmail.com> wrote: > --redirects /lib64=/path/to/where/you/symlinked/everything > > The linker will search in /lib64 normally, then gem5 will redirect > that file read to the path with all symlinks. > > On Tue, Jun 9, 2020 at 3:26 PM Shougang Yuan <syu...@ncsu.edu> wrote: > > > > Hi, Crio, > > > > Could you please give more hints about redirect /lib64 or that > directory? I can understand syslink the needed shared library into a > directory, and after that, you mean I need to redirect the lib64 to this > directory or? > > > > Best regards. > > Shougang > > > > On Tue, Jun 9, 2020 at 2:36 AM Ciro Santilli <ciro.santi...@gmail.com> > wrote: > >> > >> 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