[Neurodebian-users] Installation issues PTB Octave
Yaroslav Halchenko
debian at onerussian.com
Wed Mar 2 00:57:39 UTC 2016
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?
> >>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
> It needs libasound.so the ALSA runtime library. I don't think it needs
> -utils, although those come in handy anyway for tweaking of ALSA for some
> use cases.
ok -- I will add those to Recommends then
--
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