Error installing liblinear for use on ubuntu in matlab

Matlab version is 2010a Student Version (32 bit), ubuntu version is 13.04, 64 bit.
I first use make in the directory liblinear-1.94. This step works.
Then I cd into the matlab directory and attempt to use make. The error is the following.
/usr/bin/ld: cannot open linker script file /usr/local/matlabR2010a/extern/lib/glnxa64/mexFunction.map: No such file or directory
collect2: error: ld returned 1 exit status
mex: link of ' "train.mexa64"' failed.
make: *** [train.mexa64] Error 1
I basically know why the error exists but don't know how to fix it. There is no folder called glnxa64. Instead, there is a folder called glnx86. This is because my version of matlab is 32 bit, but ubuntu is 64 bit. It seems that the make file is trying to access a folder that would exist if matlab was the 64 bit version.
Any ideas on how to fix this?
Thanks

Answers (0)

Categories

Asked:

on 24 Jan 2014

Edited:

on 24 Jan 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!