Catonano <caton...@gmail.com> writes: > 2017-04-20 10:10 GMT+02:00 Ludovic Courtès <l...@gnu.org>: > >> >> You should grep for RUNPATH, and I guess that will show that >> /gnu/store/zv2c9mbs4q7f75p9xlgxs62fb5wmp3ac-granite-0.4.0.1/lib is *not* >> in there, even though it should (if it’s not in RUNPATH, then launching >> ‘granite-demo’ will result in a “library not found” error, which is what >> this validation phase wants to avoid.) >> > > and instead what I found is that ...granite/lib *is* there
Cmake is a bit weird sometimes. Look at the definition for “bamtools” to see how you may be able to explicitly add the lib directory to the RUNPATH. Other examples are “powertabeditor” and “lmms” in music.scm. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net