[Neurodebian-users] Installation issues PTB Octave

Yaroslav Halchenko debian at onerussian.com
Wed Mar 2 00:32:04 UTC 2016


On Tue, 01 Mar 2016, Neil Dundon wrote:

> Thanks for the reply Yaroslav,

> 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


> As it happens, I also had to run sudo apt-get upgrade alsa-utils to get
> PsychPortAudio to work...

what was the error?  I wonder if -utils is really what needed or some
missing library somehow

-- 
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        



More information about the Neurodebian-users mailing list