Hi,
On 2021-02-15 10:05:32 +0100, Fabien COELHO wrote:
> > show? What do you have in seawap's LD_LIBRARY_PATH, and is the
> > problem that you need to add /home/fabien/clgtk/lib to it
>
> Argh. Would it be so stupid? :-( I thought the configuration stuff would
> manage the link path automatically, which may be quite naïve, indeed.
The only way to do that is to add an rpath annotation, and e.g. distros
don't like that - there's some security implications.
> I've added an explicit LD_LIBRARY_PATH, which will be triggered at some
> point later.
You can also do something like LDFLAGS="$LDFLAGS -Wl,-rpath,$(llvm-config --libdir)"
or such.
Greetings,
Andres Freund