Installation Error - Invalid Mex File - Linux


I’m currently unable to install CVX on a linux server, either by unziping the .zip or using tar with the tar.gz.
In both cases it has resulted it what appears to be an unfinished build and an inability to use quickstart or the solvers.
Any advice on this would be greatly appreciated!


Installation info:
Path: /home/data_group/cvx
MATLAB version: 9.4 (R2018a)
OS: Linux amd64 version 4.15.0-30-generic
Java version: 1.8.0_144
Verfying CVX directory contents:
WARNING: The following files/directories are missing:
These omissions may prevent CVX from operating properly.
Path: /home/data_group/.matlab/cvx_prefs.mat

Installed license:
No license installed.
No valid licenses found.
Click here to fill out an academic license request
for the username and first hostid listed above.

Setting CVX paths…already set!
Searching for solvers…5 shims found.
2 solvers initialized (* = default):

  • SDPT3 4.0 {cvx}/sdpt3
    SeDuMi 1.3.4 {cvx}/sedumi
    3 solvers skipped:
    Could not find a GLPK installation.
    Gurobi unknown {cvx}/gurobi/a64
    Invalid MEX-file
    failed to map segment from shared object.
    Mosek unknown {cvx}/mosek/a64
    Unexpected MEX file failure:
    Invalid MEX-file
    failed to map segment from shared object.
    Saving updated preferences…done.
    Testing with a simple model…
    UNEXPECTED ERROR: -------------------------------------------------
    Invalid MEX-file
    failed to map segment from shared object.
    Error in cvx_bcompress (line 29)
    [ ndxs, scls ] = cvx_bcompress_mex( sparse( x ), mode, num_sorted
    Error in cvx/bcompress (line 21)
    [ xR, xb ] = cvx_bcompress( xb, mode, nsrt );
    Error in cvx/svec (line 13)
    [ xR, y ] = bcompress( x );
    Error in cvx/norm (line 46)
    x = svec( x, p );
    Error in cvx_setup (line 212)
    minimize( norm(A*x-b,1) );

Please report this error to support, and include entire output of
CVX_SETUP in your support request.