Dear Matthew,
libmx.so is a MathWorks supplied library - at least it should be. What
does
ldd /depot7/LocalMatlab/spm5/spm_bsplinc.mexa64
in a shell terminal tell you? Any undefined symbols, libmx.so pointing to
somewhere else than to the Matlab binary directory for R14SP3? Maybe
during making of your mex files you have picked up a mex from a different
Matlab version. I have two different sets of mex files around for running
either R14SP3 and 2007a - they are source compatible, but not binary.
Volkmar
On Fri, 27 Apr 2007, Matthew Liptrot wrote:
> Hi all,
>
> I need some help getting a 64-bit Linux (Debian) SPM5 (latest patches)
> installation to behave.
>
> The compilation went smoothly, (make && make install), and SPM5 starts
> without problems.
> However, when trying to do a reslice of some data, one of the MEX files seems
> to have a problem:
>
> --------------------------
> Running "Realign: Estimate & Reslice"
> ??? Invalid MEX-file '/depot7/LocalMatlab/spm5/spm_bsplinc.mexa64':
> /depot7/LocalMatlab/spm5/spm_bsplinc.mexa64:
> symbol mxCreateNumericArray_700,
> version v7.0 not defined in file libmx.so with
> link time reference.
>
> ??? Error while evaluating uicontrol Callback.
>
> Some technical details are given below.
> Any help would be much appreciated!
>
> Cheers,
>
> M@
>
> Technical stuff:
>
> > > ver
> MATLAB Version 7.1.0.183 (R14) Service Pack 3
> Operating System: Linux 2.6.18-4-amd64 #1 SMP Wed Feb 21 14:29:38 UTC
> 2007 x86_64
> Java VM Version: Java 1.4.2 with Blackdown Java-Linux Team Java
> HotSpot(TM) 64-Bit Server VM mixed mode
>
>
> Feedback from 'make':
>
> goedel:/depot7/LocalMatlab/spm5/src# make && make install
> _____________________________________________________________
>
> Linux compilation (x86-64) - using gcc
> _____________________________________________________________
>
> _____________________________________________________________
>
> FINISHED
> _____________________________________________________________
>
> _____________________________________________________________
>
> Installing mex files
> _____________________________________________________________
>
> cp -f spm_sample_vol.mexa64 spm_slice_vol.mexa64 spm_brainwarp.mexa64
> spm_add.mexa64 spm_conv_vol.mexa64 spm_render_vol.mexa64
> spm_global.mexa64
> spm_resels_vol.mexa64 spm_bsplinc.mexa64 spm_bsplins.mexa64
> spm_bias_mex.mexa64
> spm_atranspa.mexa64 spm_unlink.mexa64 spm_hist.mexa64 spm_krutil.mexa64
> spm_project.mexa64 spm_hist2.mexa64 spm_dilate_erode.mexa64
> spm_bwlabel.mexa64
> spm_get_lm.mexa64 spm_digamma.mexa64 mat2file.mexa64 file2mat.mexa64
> spm_invdef.mexa64 ..
> goedel:/depot7/LocalMatlab/spm5/src#
>
>
--
Volkmar Glauche
-
Department of Neurology [log in to unmask]
Universitaetsklinikum Freiburg Phone 49(0)761-270-5331
Breisacher Str. 64 Fax 49(0)761-270-5416
79106 Freiburg http://fbi.uniklinik-freiburg.de/
|