Hi All,
I'm having what looks to be a silly error annoy the heck out of me and
I thought I'd see if someone had the solution off-hand.

When I build gem5 I get this error:
...
Checking for zlibVersion() in C++ library z... (cached) no
Error: did not find needed zlib compression library and/or zlib.h header file.
       Please install zlib and try again.
...

The issue seems to be w/SCons not finding the zlib library which I
locally installed in "$HOME/installs".

I hoped to point to the libraries in this directory by setting the
LD_LIBRARY_PATH:
setenv LD_LIBRARY_PATH $HOME/installs/lib:$LD_LIBRARY_PATH

I can verify that I have zlib.h in my installs/include directory and
libz in my installs/libz directory, so I think the issue of the files
being there is not the issue, its more of I"m
unaware of how to make SCons recognize this.

Note, this machine is a Ubuntu lucid distribution and
zlib-1.2.3.3.dfsg (to get the developer files)

Does anyone have any ideas on a fix?


-- 
- Korey
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to