I am unable to run the compiled binary file.
getting the error:
amansaharan@Amans-MacBook-Pro projects % ./hello
dyld[1751]: Library not loaded: libcs50-11.0.2.dylib
Referenced from: <80481188-039D-3BA8-8E88-9C585FF1DCAC> /Users/amansaharan/Desktop/projects/hello
Reason: tried: 'libcs50-11.0.2.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibcs50-11.0.2.dylib' (no such file), 'libcs50-11.0.2.dylib' (no such file), '/Users/amansaharan/Desktop/projects/libcs50-11.0.2.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/amansaharan/Desktop/projects/libcs50-11.0.2.dylib' (no such file), '/Users/amansaharan/Desktop/projects/libcs50-11.0.2.dylib' (no such file)
zsh: abort ./hello
In my usr/local/lib
install files are:-
-rwxr-xr-x 1 root admin 13728 May 6 16:12 libcs50-11.0.2.dylib
-rw-r--r-- 1 root admin 7560 May 6 16:12 libcs50.a
lrwxr-xr-x 1 root admin 20 May 6 16:12 libcs50.dylib -> libcs50-11.0.2.dylib
I am unable to run the compiled binary file. getting the error:
In my usr/local/lib install files are:-
-rwxr-xr-x 1 root admin 13728 May 6 16:12 libcs50-11.0.2.dylib -rw-r--r-- 1 root admin 7560 May 6 16:12 libcs50.a lrwxr-xr-x 1 root admin 20 May 6 16:12 libcs50.dylib -> libcs50-11.0.2.dylib
Kindly help me in this.