Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

Recursion

(56,582 posts)
3. The libs need to be in a certain directory
Sun Jul 12, 2015, 11:08 PM
Jul 2015

However, you can cheat by using the LD_PRELOAD_PATH variable, eg,

LD_PRELOAD_PATH=/wherever/the/libs/are ./file


Generally a Linux system will look in /usr/local/lib, /usr/lib, and /lib (in that order). Alternately you can just move the shared library to /usr/lib (and then run /sbin/ldconfig /usr/lib).

(Another note: all the appearances of "lib" above may possibly be replaced by "lib64", depending on your distribution.)

Recommendations

0 members have recommended this reply (displayed in chronological order):

Latest Discussions»Culture Forums»Open Source and Free Software»Linux Mint: "No such...»Reply #3