solus-project / linux-steam-integration

Helper for enabling better Steam integration on Linux
GNU Lesser General Public License v2.1
433 stars 19 forks source link

Library path wrong for non-standard prefix installations #62

Open tobiasjakobi opened 6 years ago

tobiasjakobi commented 6 years ago

Hello,

I noticed that lsi fails to load the intercept and redirect library when it is installed to a non-standard prefix, e.g. to /usr/local -- which meson chooses as default btw. I'm building lsi on Gentoo as user in a x86-32 chroot, and, since not using the package manager to install it, I obviously don't want to pu things into /usr.

Here's the error messages: ERROR: ld.so: object '/usr/$LIB/liblsi-intercept.so' cannot be loaded as audit interface: cannot open shared object file; ignored. ERROR: ld.so: object '/usr/$LIB/liblsi-redirect.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

With best wishes, Tobias

kurumushi commented 6 years ago

I am on gentoo as well. but I created a package, and installed to the proper lib directories (/usr/lib64) I get the same error message. Seems like $LIB is not being set somewhere?