Dear all,

I am trying to run Gem5 on a different machine than it was built.
Since the machine it was built on had python 2.7, gem5 compiled
successfully.
However, the new machine has python2.6, I get:
*libpython2.7.so.1.0: cannot open shared object file: No such file or
directory*

Both machines are x86_64 or amd64, therefore I have copied
libpython2.7.so.1.0 to a directory
that is reachable by the new machine and added that directory in my
LD_LIBRARY_PATH.

However, the problem persists.

I have also tried to compile python 2.7 and run scons with the newly built
python given the
instructions provided on the website [1]. I am not sure I fully understand
how to run scons
such that it detects and embeds the newly built python.

python2.4 `which scons` [scons args]

I have tried:
/path/to/new/python scons build/ALPHA_SE/gem5.debug and
/path/to/new/python SConstruct build/ALPHA_SE/gem5.debug
with no success.

How can gem5 be compiled with static linking, such that there are no
dependencies needed? or
How can gem5 be compiled with a different variant of python (it might be
the same version, however
it is not the system's default one)?

Thanks,
Alex

[1] http://gem5.org/Using_a_non-default_Python_installation
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to