Statically linking python is of no avail.&nbsp; Adding python&#39;s time.so to the linker list doesn&#39;t help either.&nbsp; I believe it still tries to dlopen a library it isn&#39;t finding.&nbsp; I&#39;ll start looking at the source to see what&#39;s going on.<br>
<br>It looks like other people have had similar problems but I haven&#39;t been able to find a concrete solution.<br><a href="http://lists.cistron.nl/pipermail/freeradius-users/2007-October/msg00032.html">http://lists.cistron.nl/pipermail/freeradius-users/2007-October/msg00032.html</a><br>
<br>I&#39;m using R2008a.&nbsp; Do you know the relevant commands?<br><br><div class="gmail_quote">On Tue, Jan 13, 2009 at 12:40 AM, Michael Abshoff <span dir="ltr">&lt;<a href="mailto:michael.abshoff@googlemail.com">michael.abshoff@googlemail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Igor Sylvester wrote:<br>
<br>
Hi,<br>
<div class="Ih2E3d"><br>
&gt; Yes, the python .so is in my LD path.<br>
<br>
</div>Ok.<br>
<div class="Ih2E3d"><br>
&gt; I can import the module from python without changing any environment<br>
&gt; variables.<br>
<br>
</div>Good.<br>
<div class="Ih2E3d"><br>
&gt; As the compiler flag reveals, I am building a Matlab extension. &nbsp;I need<br>
&gt; some numpy functionality which I don&#39;t want to re-code.<br>
<br>
</div>You could try to link libpyhthon.a statically.<br>
<div class="Ih2E3d"><br>
&gt; Perhaps Matlab uses a different method to dynamically load libraries?<br>
<br>
</div>Which release are you using? IIRC at least recent ones can show the<br>
content of env from within Matlab, so that might give you a clue.<br>
<br>
Cheers,<br>
<font color="#888888"><br>
Michael<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
Cython-dev mailing list<br>
<a href="mailto:Cython-dev@codespeak.net">Cython-dev@codespeak.net</a><br>
<a href="http://codespeak.net/mailman/listinfo/cython-dev" target="_blank">http://codespeak.net/mailman/listinfo/cython-dev</a><br>
</div></div></blockquote></div><br>