Hi, is it possible to change the library path search order, so that scons 
searches a specific path before the system path?

We need to link our gem5 with libz 1.2.9, but there is already a 
/usr/lib/libz.so whose version is 1.2.8 incompatible with our work. Also, we 
don't have permission to update the system libraries.

We have already tried adding the following statement to gem5/SConstruct:

    main.Prepend(LIBPATH=['PATH/TO/OUR/LIBZ'])

but that path is still searched after the system path:

    scons build/ARM/gem5.opt --verbose
    ...
    g++ -o build/ARM/marshal ... -L/usr/lib ... -L/PATH/TO/OUR/LIBZ ... -lz ...

and thus results in a link error. Does anyone has a solution for this?

Thanks!
Hsuan
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to