Mac OS X 10.11 El Capitan - dyld: Library not loaded: @rpath/libcudart.7.0.dylib

4,703 views
Skip to first unread message

Çağdaş Bak

unread,
Oct 19, 2015, 8:09:54 AM10/19/15
to Caffe Users
Hi , 
I was previously using caffeine as smoothly but yesterday i update my mac to 10.11. 
After this when i try to do something with caffe i get 
dyld: Library not loaded: @rpath/libcudart.7.0.dylib 
error. (i set all environment variables about cuda)
i guess i can not set DYLD_LIBRARY_PATH and DYLD_FALLBACK_LIBRARY_PATH no longer. 
I did some research on this issue and i recognized that apple changed the dynamic library linking structure at this new os. 
Anyone faced with this situation? I need some help,
Thanks

Çağdaş Bak

unread,
Oct 19, 2015, 8:56:18 AM10/19/15
to Caffe Users
Solution : 
Definition of DYLD_LIBRARY_PATH is not possible on lastest release of OS X. (after export DYLD_LIBRARY_PATH , if you type printenv command to console you can't set DYLD_LIBRARY_PATH as a defined variable.)
If you want to define it you must disable the SIP.  (SIP is a new feature of OS X for reduce system attacks)


19 Ekim 2015 Pazartesi 15:09:54 UTC+3 tarihinde Çağdaş Bak yazdı:
Reply all
Reply to author
Forward
0 new messages