liblinear icon indicating copy to clipboard operation
liblinear copied to clipboard

Invalid Mex-file error

Open Mensen opened this issue 9 years ago • 5 comments

I'm using Matlab 2015b. My compiler seems to working properly as I've compiled other .c files and the make command returns without errors. I don't remember experiencing these problems on my last computer setup which used Matlab 2015a.

Thanks for your help!

Invalid MEX-file
'/home/mensen/matlab_toolboxes/liblinear-multicore-2.1-2/matlab/train.mexa64':
dlopen: cannot load any more object with static TLS

Error in mvpa_train>classif (line 39)
        model = train(Y, sparse(double(X)), ['-s '
        type ' -q -c ', num2str(best_lambda)]);

Mensen avatar Jan 10 '16 14:01 Mensen

You are using multicore version. Are you able to use standard liblinear? I just tried standard liblinear on 2015b and it worked.

Armand Mensen writes:

I'm using Matlab 2015b. My compiler seems to working properly as I've compiled other .c files and the make command returns without errors. I don't remember experiencing these problems on my last computer setup which used Matlab 2015a.

Thanks for your help!

Invalid MEX-file '/home/mensen/matlab_toolboxes/liblinear-multicore-2.1-2/matlab/train.mexa64': dlopen: cannot load any more object with static TLS

Error in mvpa_train>classif (line 39) model = train(Y, sparse(double(X)), ['-s ' type ' -q -c ', num2str(best_lambda)]);

— Reply to this email directly or view it on GitHub.*

cjlin1 avatar Jan 10 '16 15:01 cjlin1

Hi Cjlin & Armand,

Thanks for your information, now it worked well in Matlab.

Best regards, Hins Pan

2016-01-10 23:36 GMT+08:00 cjlin1 [email protected]:

You are using multicore version. Are you able to use standard liblinear? I just tried standard liblinear on 2015b and it worked.

Armand Mensen writes:

I'm using Matlab 2015b. My compiler seems to working properly as I've compiled other .c files and the make command returns without errors. I don't remember experiencing these problems on my last computer setup which used Matlab 2015a.

Thanks for your help!

Invalid MEX-file

'/home/mensen/matlab_toolboxes/liblinear-multicore-2.1-2/matlab/train.mexa64': dlopen: cannot load any more object with static TLS

Error in mvpa_train>classif (line 39) model = train(Y, sparse(double(X)), ['-s ' type ' -q -c ', num2str(best_lambda)]);

— Reply to this email directly or view it on GitHub.*

— Reply to this email directly or view it on GitHub https://github.com/cjlin1/liblinear/issues/17#issuecomment-170360469.

Hins avatar Jan 11 '16 02:01 Hins

Using the standard liblinear worked perfectly. Thank you for the fast reply!

Any clues as to what is happening in 2015b that seems to cause the problem?

Mensen avatar Jan 11 '16 10:01 Mensen

Actually I am using 2014b, I added corresponding files' path by path(path, '***');

2016-01-11 18:07 GMT+08:00 Armand Mensen [email protected]:

Using the standard liblinear worked perfectly. Thank you for the fast reply!

Any clues as to what is happening in 2015b that seems to cause the problem?

— Reply to this email directly or view it on GitHub https://github.com/cjlin1/liblinear/issues/17#issuecomment-170497069.

Hins avatar Jan 11 '16 11:01 Hins

This issue was moved to angleto/liblinear#17

simsong avatar Jan 22 '18 23:01 simsong