libgfortran: version `GFORTRAN_1.4' not found

前端 未结 5 1198
旧时难觅i
旧时难觅i 2020-12-28 20:00

I am getting the following error when I trying to a run mex file in MATLAB:

??? Invalid MEX-file
\'findimps3.mexa64\':
/MATLAB/bin/glnxa64/../../sys/os/glnxa         


        
5条回答
  •  攒了一身酷
    2020-12-28 20:17

    I (think I) fixed this problem by running matlab with LD_PRELOAD, like this

    LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libfreetype.so:/usr/lib/x86_64-linux-gnu/libgfortran.so.3 matlab

    Notice freetype was another library I was having a similar problem with.

提交回复
热议问题