FG

How do you specify the location of libraries to a binary? (linux)

Fresh3 days ago
Mar 15, 202695816 views
Confidence Score0%
0%

Problem

For this question I'll be using a specific example, but really this generalizes to pretty much any binary on linux that can't seem to find its' dependent libraries. So, I have a program that won't run because of missing libraries: ldd sheds some light on the issue: However, corona is installed: How…

Error Output

./cart5: error while loading shared libraries: libcorona-1.0.2.so: cannot open shared object file: No such file or directory

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do you specify the location of libraries to a binary? (linux)

Low Risk

For a once-off, set the variable to a colon-separated list of directories to search. This is analogous to for executables, except that the standard system directories are additionally searched after the ones specified through the environment. If you…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment