<div dir="ltr">Thanks so much Yaroslav, so the basic install instructions should now work?  I have to install on a new machine today, so will try it out!<div><br></div><div>N.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 March 2016 at 01:30, Yaroslav Halchenko <span dir="ltr"><<a href="mailto:debian@onerussian.com" target="_blank">debian@onerussian.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
On Tue, 01 Mar 2016, Yaroslav Halchenko wrote:<br>
<br>
<br>
> On Wed, 02 Mar 2016, Mario Kleiner wrote:<br>
> > >>That worked!  I ran (sudo) apt-get install liboctave-dev any reason why the<br>
> > >>install didn't take care of that?<br>
<br>
> > >What happened is that on older systems using octave2 libraries versioned<br>
> > >suffix got stripped while linking against that library:<br>
<br>
> > >% for d in *amd64; do echo -n "$d "; ldd $d/usr/share/octave/site/m/psychtoolbox-3/PsychBasic/PsychPortAudio.mex | grep liboctinterp; done<br>
> > >octave-psychtoolbox-3_3.0.12.20160126.dfsg1-1_amd64     liboctinterp.so.3 => not found<br>
> > >octave-psychtoolbox-3_3.0.12.20160126.dfsg1-1~nd14.04+1_amd64   liboctinterp.so => not found<br>
> > >octave-psychtoolbox-3_3.0.12.20160126.dfsg1-1~nd15.04+1_amd64   liboctinterp.so => not found<br>
> > >octave-psychtoolbox-3_3.0.12.20160126.dfsg1-1~nd15.10+1_amd64   liboctinterp.so.3 => not found<br>
> > >octave-psychtoolbox-3_3.0.12.20160126.dfsg1-1~nd+1_amd64        liboctinterp.so.3 => not found<br>
> > >octave-psychtoolbox-3_3.0.12.20160126.dfsg1-1~nd80+1_amd64      liboctinterp.so => not found<br>
> > >octave-psychtoolbox-3_3.0.12.20160126.dfsg1-1~nd90+1_amd64      liboctinterp.so.3 => not found<br>
<br>
> > >so they got linked against plain .so which is a symlink provided only by -dev package.<br>
> > >We will fix it for the next upload, thanks for the report!<br>
> > >Meanwhile indeed just install liboctave-dev as a workaround<br>
<br>
<br>
> > That's probably because following your tip, i modified the<br>
> > striplibsfrommexfile.m file to rename the liboctinterp.so.[23] dependency<br>
> > from .so.1 or .so.2 to only .so, so i don't need to build and ship separate<br>
> > mex files for Octave-3 vs. Octave-4 although the required libraries are<br>
> > api/abi compatible.<br>
<br>
> d'oh -- right... I remembered there was something like that ;)<br>
> heh -- indeed it was me to blame for my 'genius' tip/<br>
<br>
> > Maybe your version of striplibsfrommexfile.m needs to carry a patch to avoid<br>
> > that rename?<br>
<br>
> yeap -- I will preclude such evil in the root!<br>
<br>
> Is fresh release coming or should I update current package?<br>
<br>
</div></div>heh -- forgot to CC Mario and wondered why he is silent ;)  me to blame<br>
again... meanwhile fixed up packages built and were uploaded<br>
<br>
Thanks for the report again<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Yaroslav O. Halchenko<br>
Center for Open Neuroscience     <a href="http://centerforopenneuroscience.org" rel="noreferrer" target="_blank">http://centerforopenneuroscience.org</a><br>
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755<br>
Phone: <a href="tel:%2B1%20%28603%29%20646-9834" value="+16036469834">+1 (603) 646-9834</a>                       Fax: <a href="tel:%2B1%20%28603%29%20646-1419" value="+16036461419">+1 (603) 646-1419</a><br>
WWW:   <a href="http://www.linkedin.com/in/yarik" rel="noreferrer" target="_blank">http://www.linkedin.com/in/yarik</a><br>
<br>
_______________________________________________<br>
Neurodebian-users mailing list<br>
<a href="mailto:Neurodebian-users@lists.alioth.debian.org">Neurodebian-users@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/neurodebian-users" rel="noreferrer" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/neurodebian-users</a><br>
</div></div></blockquote></div><br></div>