Hello Thomas,
Thanks for looking at this, I'm currently far behind on many things and
not very responsive:-(
Here is the creation of llvmjit.so:
g++ ... -o llvmjit.so ... -L/home/fabien/clgtk/lib ... -lLLVMOrcJIT ...
That'd be from llvm-config --ldflags or similar, from this binary:
checking for llvm-config... (cached) /home/fabien/clgtk/bin/llvm-config
So what does ls -slap /home/fabien/clgtk/lib show?
Plenty files and links, eg:
0 lrwxrwxrwx 1 fabien fabien 21 janv. 23 09:40
/home/fabien/clgtk/lib/libLLVMMCJIT.so -> libLLVMMCJIT.so.12git
2140 -rw-r--r-- 1 fabien fabien 2190824 janv. 23 09:28
/home/fabien/clgtk/lib/libLLVMMCJIT.so.12git
0 lrwxrwxrwx 1 fabien fabien 22 janv. 23 09:40
/home/fabien/clgtk/lib/libLLVMOrcJIT.so -> libLLVMOrcJIT.so.12git
40224 -rw-r--r-- 1 fabien fabien 41187208 janv. 23 09:34
/home/fabien/clgtk/lib/libLLVMOrcJIT.so.12git
Hmmm, clang recompilation has been failing for some weeks. Argh, this is
due to the recent "master" to "main" branch renaming.
What does ldd
/home/fabien/pg/build-farm-11/buildroot/HEAD/pgsql.build/tmp_install/home/fabien/pg/build-farm-11/buildroot/HEAD/inst/lib/postgresql/llvmjit.so
No such file of directory:-) because the directory is cleaned up.
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.
PS Could you try blowing away the accache directory so we can rule out
bad cached configure stuff?
Hmmm. I've tried that before. I can do it again.
I've added an explicit LD_LIBRARY_PATH, which will be triggered at some
point later.
--
Fabien Coelho - CRI, MINES ParisTech