probml / pmtk3

Probabilistic Modeling Toolkit for Matlab/Octave.
MIT License
1.55k stars 797 forks source link

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

Open laxmi518 opened 6 years ago

laxmi518 commented 6 years ago

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; 
ZZsquared commented 5 years ago

I have the same issue

murphyk commented 5 years ago

I am not supporting pmkt3, so you are on your own, I;m afraid. (I do accept bug-fixing PRs however :)

On Tue, Jul 23, 2019 at 9:08 PM ZZsquared notifications@github.com wrote:

I have the same issue

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/probml/pmtk3/issues/135?email_source=notifications&email_token=ABDK6EFY3FNQICEQAO3ZRKTQA7IURA5CNFSM4EN3CQF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2VDL3I#issuecomment-514471405, or mute the thread https://github.com/notifications/unsubscribe-auth/ABDK6EFHURT5JUFDHVMA6DDQA7IURANCNFSM4EN3CQFQ .

ZZsquared commented 5 years ago

I am not supporting pmkt3, so you are on your own, I;m afraid. (I do accept bug-fixing PRs however :) On Tue, Jul 23, 2019 at 9:08 PM ZZsquared @.***> wrote: I have the same issue — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#135?email_source=notifications&email_token=ABDK6EFY3FNQICEQAO3ZRKTQA7IURA5CNFSM4EN3CQF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2VDL3I#issuecomment-514471405>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABDK6EFHURT5JUFDHVMA6DDQA7IURANCNFSM4EN3CQFQ .

Thank you so much, Dr.Murphy, I wonder if you mind telling me when I should expect the next version of this book.