<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Irina,
<div><br>
</div>
<div> The loader is not finding a system library file needed by the compiled fortran code. You have two choices here: To track down what package provides the <span style="font-family: Calibri, sans-serif; font-size: 15px;">libpython2.7.so </span>file — probably
something like python-dev or (2) to recompile on your local system. For the later, use scons in the fsource directory (see documentation). </div>
<div><br>
</div>
<div>Brian</div>
<div><br>
</div>
<div>
<div>On Jun 25, 2014, at 11:30 AM, <<a href="mailto:gsas-ii-bounces@aps.anl.gov">gsas-ii-bounces@aps.anl.gov</a>> <<a href="mailto:gsas-ii-bounces@aps.anl.gov">gsas-ii-bounces@aps.anl.gov</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div lang="EN-US" link="blue" vlink="purple" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
The attached message has been automatically discarded.<br>
<div style="margin: 0px;"><span style="font-family: Helvetica; color: rgb(127, 127, 127);"><b>From:<span class="Apple-converted-space"> </span></b></span><span style="font-family: Helvetica;">Irina Kosheleva <<a href="mailto:ikoshelev@cars.uchicago.edu" style="color: purple; text-decoration: underline;">ikoshelev@cars.uchicago.edu</a>><br>
</span></div>
<div style="margin: 0px;"><span style="font-family: Helvetica; color: rgb(127, 127, 127);"><b>Subject:<span class="Apple-converted-space"> </span></b></span><span style="font-family: Helvetica;"><b>ImportError: libpython2.7.so.1.0: cannot open shared object
file: No such file or directory</b><br>
</span></div>
<div style="margin: 0px;"><span style="font-family: Helvetica; color: rgb(127, 127, 127);"><b>Date:<span class="Apple-converted-space"> </span></b></span><span style="font-family: Helvetica;">June 25, 2014 at 11:30:23 AM CDT<br>
</span></div>
<div style="margin: 0px;"><span style="font-family: Helvetica; color: rgb(127, 127, 127);"><b>To:<span class="Apple-converted-space"> </span></b></span><span style="font-family: Helvetica;">"<a href="mailto:gsas-ii@mailman.aps.anl.gov" style="color: purple; text-decoration: underline;">gsas-ii@mailman.aps.anl.gov</a>"
<<a href="mailto:gsas-ii@mailman.aps.anl.gov" style="color: purple; text-decoration: underline;">gsas-ii@mailman.aps.anl.gov</a>><br>
</span></div>
<br>
<br>
<div class="WordSection1" style="page: WordSection1;">
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
Hello,<o:p></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
I would like to install GSASII<span class="Apple-converted-space"> </span><i>on Linux 2.6.32-279.9.1.el6.x86_64 x86_64</i>.<o:p></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
I installed the python programs required for the GSASII installation.<o:p></o:p></div>
<ul type="disc" style="margin-bottom: 0in;">
<li class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<a href="http://www.wxpython.org/" style="color: purple; text-decoration: underline;">WxPython</a><o:p></o:p></li></ul>
<ul type="disc" style="margin-bottom: 0in;">
<li class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<a href="http://matplotlib.sourceforge.net/" style="color: purple; text-decoration: underline;">matplotlib</a><o:p></o:p></li></ul>
<ul type="disc" style="margin-bottom: 0in;">
<li class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<a href="http://numpy.scipy.org/" style="color: purple; text-decoration: underline;"><span class="icon"><span style="color: blue;"></span></span>NumPy</a><o:p></o:p></li><li class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<a href="http://www.scipy.org/" style="color: purple; text-decoration: underline;"><span class="icon"><span style="color: blue;"></span></span>SciPy</a><o:p></o:p></li><li class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<a href="http://pyopengl.sourceforge.net/" style="color: purple; text-decoration: underline;"><span class="icon"><span style="color: blue;"></span></span>PyOpenGL</a><o:p></o:p></li><li class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<a href="http://www.pythonware.com/products/pil/" style="color: purple; text-decoration: underline;">Python Imaging Library</a><span class="Apple-converted-space"> </span> ( we use pillow rather than PIL)<o:p></o:p></li></ul>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
I installed the package using <tt style="font-family: 'Courier New';"><span style="font-size: 10pt;"><path1>python <path2>bootstrap.py.<o:p></o:p></span></tt></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<tt style="font-family: 'Courier New';"><span style="font-size: 10pt;">Now when I issue<span class="Apple-converted-space"> </span><i>python GSASII.py</i><span class="Apple-converted-space"> </span>I have an error:</span></tt><o:p></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
GSAS2 % python GSASII.py<o:p></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<b>GSAS-II binary directory: /data/pub/irina/GSAS2/binlinux64-2.7<o:p></o:p></b></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
Traceback (most recent call last):<o:p></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
File "GSASII.py", line 65, in <module><o:p></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
import GSASIIIO as G2IO<o:p></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
File "/data/pub/irina/GSAS2/GSASIIIO.py", line 33, in <module><o:p></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
import GSASIIgrid as G2gd<o:p></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
File "/data/pub/irina/GSAS2/GSASIIgrid.py", line 32, in <module><o:p></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
import GSASIImath as G2mth<o:p></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
File "/data/pub/irina/GSAS2/GSASIImath.py", line 32, in <module><o:p></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
import GSASIIspc as G2spc<o:p></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
File "/data/pub/irina/GSAS2/GSASIIspc.py", line 26, in <module><o:p></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
import pyspg<o:p></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
ImportError: libpython2.7.so.1.0: cannot open shared object file: No such file or directory<o:p></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
Do I need to install some additional software or what I can try to do to resolve the error?<o:p></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
Thanks for your help!<o:p></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
Irina Kosheleva.</div>
</div>
</div>
</blockquote>
</div>
<br>
<div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><span class="Apple-style-span" style="font-size: 12px; "><font class="Apple-style-span" face="Courier">********************************************************************</font></span>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; ">
<font class="Apple-style-span" face="Courier">Brian H. Toby, Ph.D. office: 630-252-5488</font></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; ">
<font class="Apple-style-span" face="Courier">Senior Physicist/Section Head for Scientific Software</font></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; ">
<font class="Apple-style-span" face="Courier">Advanced Photon Source</font></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; ">
<font class="Apple-style-span" face="Courier">9700 S. Cass Ave, Bldg. 401/B4192 work cell: 630-327-8426 </font></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; ">
<font class="Apple-style-span" face="Courier">Argonne National Laboratory </font></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; ">
<font class="Apple-style-span" face="Courier">Argonne, IL 60439-4856 e-mail: brian dot toby at anl dot gov </font></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; ">
<font class="Apple-style-span" face="Courier">********************************************************************</font></div>
<div style="font-size: 12px; "><font class="Apple-style-span" face="Courier">"<span class="Apple-style-span" style="font-family: Helvetica; ">We will restore science to its rightful place, and wield technology's wonders... We will harness the sun and the winds
and the soil to fuel our cars and run our factories... All this we can do. All this we will do."</span></font></div>
</span></div>
<br>
</body>
</html>