Error while loading shared libraries : no such file or directory , but file is present

after hours of wrestling with CGO i managed to compile my code , now binary does not work

The linker will typically not look in the current directory for shared libraries. It needs to be installed in the system library paths, or you need to play with LD_LIBRARY_PATH, or something similar.

(This isn’t Go specific btw.)

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.