Hi Uday, You nede to be certain that scons is being executed with your newly built python 2.7 that is used the shared library. Instead of calling scons directly you probably want to call python2.7 <path to scons> <rest of gem5 command line>.
Thanks, Ali On 2/2/13 11:11 PM, "Ranga, L Udaya" <udayara...@ti.com> wrote: >Ali, > >I'm using Linux x86_64 - RHEL4 and have configured python2.7 with >--enable-shared option. My LD_LIBRARY_PATH points to libpython2.7.so. > >-----Original Message----- >From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On >Behalf Of Ali Saidi >Sent: Saturday, February 02, 2013 8:27 PM >To: gem5 users mailing list >Subject: Re: [gem5-users] C library for python 2.7 > >What OS are you using? In many cases there is a python-dev or similar >package you can install. Otherwise, you'd need to build python from >scratch and configure it with the shared-lib option. >See http://www.gem5.org/Using_a_non-default_Python_installation for more >information. >Ali >________________________________________ >From: gem5-users-boun...@gem5.org [gem5-users-boun...@gem5.org] On Behalf >Of Ranga, L Udaya [udayara...@ti.com] >Sent: Saturday, February 02, 2013 12:16 AM >To: gem5 users mailing list >Subject: [gem5-users] C library for python 2.7 > >Hi all, > >I'm trying to build gem5 with Python 2.7.3 and gcc4.7.2. > >Below is the error message with which scons terminates. > >Can you please tell me how to build C library for Python2.7? > >Checking for C library pthread... (cached) yes Checking for C library >dl... (cached) yes Checking for C library util... (cached) yes Checking >for C library m... (cached) yes Checking for C library python2.7... >(cached) no >Error: can't find library python2.7 required by python > > >Thanks, >Uday > >-- IMPORTANT NOTICE: The contents of this email and any attachments are >confidential and may also be privileged. If you are not the intended >recipient, please notify the sender immediately and do not disclose the >contents to any other person, use it for any purpose, or store or copy >the information in any medium. Thank you. > >_______________________________________________ >gem5-users mailing list >gem5-users@gem5.org >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 > -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. _______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users