cjlin1 / liblinear

LIBLINEAR -- A Library for Large Linear Classification
https://www.csie.ntu.edu.tw/~cjlin/liblinear/
BSD 3-Clause "New" or "Revised" License
1.02k stars 343 forks source link

Invalid Mex-file error #17

Open Mensen opened 8 years ago

Mensen commented 8 years ago

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)]);
cjlin1 commented 8 years ago

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

Hins commented 8 years ago

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 notifications@github.com:

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.

Mensen commented 8 years ago

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?

Hins commented 8 years ago

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

2016-01-11 18:07 GMT+08:00 Armand Mensen notifications@github.com:

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.

simsong commented 6 years ago

This issue was moved to angleto/liblinear#17