Skip to content

Invalid MEX-file,Library not loaded: @loader_path/libmex.dylib #135

@laxmi518

Description

@laxmi518

I tried to run testPmtk3 in matlab 2107b in
macos high sierra 10.13.1

xcode 9.2

matlab 2017b

while running testPmtk3 I got

Invalid MEX-file
'/Users/laxmikadariya/Documents/MATLAB/pmtk3-master/pmtksupportCopy/markSchmidt-9march2011/markSchmidt/minFunc/lbfgsC.mexmaci64':
dlopen(/Users/laxmikadariya/Documents/MATLAB/pmtk3-master/pmtksupportCopy/markSchmidt-9march2011/markSchmidt/minFunc/lbfgsC.mexmaci64,
6): Library not loaded: @loader_path/libmex.dylib
  Referenced from:
  /Users/laxmikadariya/Documents/MATLAB/pmtk3-master/pmtksupportCopy/markSchmidt-9march2011/markSchmidt/minFunc/lbfgsC.mexmaci64
    Reason: image not found.
Error in minFunc (line 527)
                    d = lbfgsC(-g,old_dirs,old_stps,Hdiag);
Error in logregFit (line 139)
    [w, opt.finalObj, opt.exitflag, opt.output] = ...
Error in logregL2FitTest (line 20)
model1 = logregFit(X, y01, 'lambda', lambda, 'preproc', pp, 'fitOptions', opts);
Error in testPmtk3 (line 61)
logregL2FitTest; 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions