Mir

Code review comment for lp:~raof/mir/buildsystems-are-the-worst

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

> For what it's worth, I'm pretty sure you currently need to set LD_LIBRARY_PATH
> to safely run any of the mir_demo* binaries already

I'm not sure of the mechanism but it seems to be working at present:

Running the built binary:

$ strace bin/mir_demo_client_basic 2>&1 | grep libmirclient
open("/home/alan/display_server/mir3/build/lib/tls/x86_64/libmirclient.so.8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/alan/display_server/mir3/build/lib/tls/libmirclient.so.8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/alan/display_server/mir3/build/lib/x86_64/libmirclient.so.8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/alan/display_server/mir3/build/lib/libmirclient.so.8", O_RDONLY|O_CLOEXEC) = 3

Running the installed binary:

$ strace mir_demo_client_basic 2>&1 | grep libmirclient
open("/usr/lib/x86_64-linux-gnu/libmirclient.so.8", O_RDONLY|O_CLOEXEC) = 3

« Back to merge proposal