Skip to content

Library not loaded: libcs50-11.0.2.dylib #327

Description

@amansaharan

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

Kindly help me in this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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