Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"error while loading shared libraries: libcalc.so: cannot open shared object file" on Linux #51

Open
svetlyak40wt opened this issue Nov 25, 2023 · 0 comments

Comments

@svetlyak40wt
Copy link
Contributor

This happens when I'm running ./example.

And if you'll look at ldd output, you'll get the same:

% ldd example
        linux-vdso.so.1 (0x00007ffd9fbeb000)
        libcalc.so => not found
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5c1f7a7000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f5c1f9dc000)

To solve this issue I have to run program like this:

LD_LIBRARY_PATH=`pwd` ./example

Probably this should be added to README?

@kartik-s kartik-s self-assigned this Dec 6, 2023
@kartik-s kartik-s removed their assignment Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants