Hi Kalai, 

I haven't seen that error before, but I'd guess it would
might have something to do with how gcc was configured. You might want
to turn on the verbose option (--verbose) and take a look at the command
lines being generated by the linker. Additionally, you probably need to
set LD_LIBRARY_PATH before running gem5 so the dynamic linker looks for
libraries in the correct location. 

Ali 

On 09.01.2013 13:51, Kalai
Narayanan-SSI wrote: 

> Hi, 
> 
> My command for building is: 
> 
>
../../scons/scons-2.2.0/build/scripts/scons build/ARM/gem5.opt
SWIG=/share/projects10/IPproject/workspace/kalai.rajah/swig/swig-2.0.9/bin/swig
CXX=/share/projects/IP/local_2/bin/g++ --no-colors
LD_LIBRARY_PATH=/share/projects/IP/local_2/lib64/
LIBRARY_PATH=/share/projects/IP/local_2/lib64/ 
> 
> The compile goes
fine. 
> 
> But when I execute, I see the GLIBCXX_3…. Not found error.

> 
> When I do ldd on build/ARM/gem5.opt, I see that it uses /usr/lib64
for libstdc++.so.6 
> 
> Why is scons picking up the libraries from
/usr/lib64 and not from what is passed on the command line for
LIBRARY_PATH/LD_LIBRARY_PATH? 
> 
> Thanks, 
> 
> Kalai 
> 
>
_______________________________________________
> gem5-users mailing
list
> gem5-users@gem5.org
>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [1]




Links:
------
[1]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to