<div dir="ltr">Hi Hugh,<div><br></div><div>I actually thought I had compiled the Linux version statically, which would mean you wouldn&#39;t even need to install Dip, but apparently I did not. </div><div><br></div><div>In any case, the solution to your problem should be pretty easy. You just need to either install Dip in a location that&#39;s in your system library path (/usr/local/lib should usually be one such location) or set the variable LD_LIBRARY_PATH to the directory where you installed DIP (by default, this would be the lib/directory in the root of the directory where built DIP, probably the same as where the DIP source code lives). In bash, do</div>

<div><br></div><div>export LD_LIBRARY_PATH=path/to/dir</div><div><br></div><div>and everything should work! </div><div><br></div><div>By the way, if you&#39;ve built Dip successfully, it might be better to just build Dippy and install it, too, since that way, you can be assured of compatibility. If you just go into the Dip subdirectory and do</div>

<div><br></div><div>python setup.py install</div><div><br></div><div>that should do the trick (you will need to set LD_LIBRARY_PATH, though).</div><div><br></div><div>Cheers,</div><div><br></div><div>Ted</div></div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Tue, Aug 19, 2014 at 10:35 AM, Hugh Medal <span dir="ltr">&lt;<a href="mailto:hugh.medal@msstate.edu" target="_blank">hugh.medal@msstate.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">I am getting this stack trace error when I try to use dippy. Do you have any suggestions? I am using Fedora Linux with python 2.7.5. I installed Dip without any errors.<br><br>hmedal@ws113-16:~/software/Dip-0.82.0$ python<br>



Python 2.7.5 (default, Jun 25 2014, 10:19:55) <br>[GCC 4.8.2 20131212 (Red Hat 4.8.2-7)] on linux2<br>Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.<br>&gt;&gt;&gt; import coinor.dippy<br>



/usr/lib/python2.7/site-packages/pkg_resources.py:979: UserWarning: /home/hmedal/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).<br>



  warnings.warn(msg, UserWarning)<br>Traceback (most recent call last):<br>  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>  File &quot;/usr/lib/python2.7/site-packages/coinor.dippy-1.9.9-py2.7-linux-x86_64.egg/coinor/dippy/__init__.py&quot;, line 8, in &lt;module&gt;<br>



  File &quot;/usr/lib/python2.7/site-packages/coinor.dippy-1.9.9-py2.7-linux-x86_64.egg/coinor/dippy/dippy.py&quot;, line 12, in &lt;module&gt;<br>  File &quot;/usr/lib/python2.7/site-packages/coinor.dippy-1.9.9-py2.7-linux-x86_64.egg/_dippy.py&quot;, line 7, in &lt;module&gt;<br>



  File &quot;/usr/lib/python2.7/site-packages/coinor.dippy-1.9.9-py2.7-linux-x86_64.egg/_dippy.py&quot;, line 6, in __bootstrap__<br>ImportError: libDecomp.so.1: cannot open shared object file: No such file or directory<br>



<br><br>Thanks,<br>Hugh<span class="HOEnZb"><font color="#888888"><br clear="all"><div><br>-- <br><div dir="ltr"><font color="#660000"><b><font face="comic sans ms, sans-serif">Hugh Medal</font></b><br>Assistant Professor<br>

Industrial and Systems Engineering<br>
Mississippi State University<br>
</font><div><font color="#660000">Office: 260K McCain</font></div><div><font color="#660000">Office: <a href="tel:662-325-3923" value="+16623253923" target="_blank">662-325-3923</a><br>Email: <a href="mailto:hmedal@uark.edu" target="_blank">hmedal@i</a><a href="http://se.msstate.edu/" target="_blank">se.msstate.edu</a></font></div>



<div><font color="#660000">Website: </font><a href="http://hm568.ise.msstate.edu/" target="_blank">hm568.ise.msstate.edu</a><br><font color="#660000">Office hours: <a href="http://hughmedal.youcanbook.me" target="_blank">http://hughmedal.youcanbook.me</a></font><br>



</div></div>
</div></font></span></div>
<br>_______________________________________________<br>
Dip mailing list<br>
<a href="mailto:Dip@list.coin-or.org">Dip@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/dip" target="_blank">http://list.coin-or.org/mailman/listinfo/dip</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Dr. Ted Ralphs<br>Associate Professor, Lehigh University<br>

(610) 628-1280<br>ted &#39;at&#39; lehigh &#39;dot&#39; edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>
</div>