[Neurodebian-users] Installation issues PTB Octave

Neil Dundon neildundon at gmail.com
Thu Mar 3 13:19:50 UTC 2016


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!

N.

On 3 March 2016 at 01:30, Yaroslav Halchenko <debian at onerussian.com> wrote:

>
> On Tue, 01 Mar 2016, Yaroslav Halchenko wrote:
>
>
> > On Wed, 02 Mar 2016, Mario Kleiner wrote:
> > > >>That worked!  I ran (sudo) apt-get install liboctave-dev any reason
> why the
> > > >>install didn't take care of that?
>
> > > >What happened is that on older systems using octave2 libraries
> versioned
> > > >suffix got stripped while linking against that library:
>
> > > >% for d in *amd64; do echo -n "$d "; ldd
> $d/usr/share/octave/site/m/psychtoolbox-3/PsychBasic/PsychPortAudio.mex |
> grep liboctinterp; done
> > > >octave-psychtoolbox-3_3.0.12.20160126.dfsg1-1_amd64
>  liboctinterp.so.3 => not found
> > > >octave-psychtoolbox-3_3.0.12.20160126.dfsg1-1~nd14.04+1_amd64
>  liboctinterp.so => not found
> > > >octave-psychtoolbox-3_3.0.12.20160126.dfsg1-1~nd15.04+1_amd64
>  liboctinterp.so => not found
> > > >octave-psychtoolbox-3_3.0.12.20160126.dfsg1-1~nd15.10+1_amd64
>  liboctinterp.so.3 => not found
> > > >octave-psychtoolbox-3_3.0.12.20160126.dfsg1-1~nd+1_amd64
> liboctinterp.so.3 => not found
> > > >octave-psychtoolbox-3_3.0.12.20160126.dfsg1-1~nd80+1_amd64
> liboctinterp.so => not found
> > > >octave-psychtoolbox-3_3.0.12.20160126.dfsg1-1~nd90+1_amd64
> liboctinterp.so.3 => not found
>
> > > >so they got linked against plain .so which is a symlink provided only
> by -dev package.
> > > >We will fix it for the next upload, thanks for the report!
> > > >Meanwhile indeed just install liboctave-dev as a workaround
>
>
> > > That's probably because following your tip, i modified the
> > > striplibsfrommexfile.m file to rename the liboctinterp.so.[23]
> dependency
> > > from .so.1 or .so.2 to only .so, so i don't need to build and ship
> separate
> > > mex files for Octave-3 vs. Octave-4 although the required libraries are
> > > api/abi compatible.
>
> > d'oh -- right... I remembered there was something like that ;)
> > heh -- indeed it was me to blame for my 'genius' tip/
>
> > > Maybe your version of striplibsfrommexfile.m needs to carry a patch to
> avoid
> > > that rename?
>
> > yeap -- I will preclude such evil in the root!
>
> > Is fresh release coming or should I update current package?
>
> heh -- forgot to CC Mario and wondered why he is silent ;)  me to blame
> again... meanwhile fixed up packages built and were uploaded
>
> Thanks for the report again
>
> --
> Yaroslav O. Halchenko
> Center for Open Neuroscience     http://centerforopenneuroscience.org
> Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
> Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
> WWW:   http://www.linkedin.com/in/yarik
>
> _______________________________________________
> Neurodebian-users mailing list
> Neurodebian-users at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/neurodebian-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/neurodebian-users/attachments/20160303/d29c07e3/attachment.html>


More information about the Neurodebian-users mailing list