From: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
---|---|
To: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> |
Cc: | Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: PG vs LLVM 12 on seawasp, next round |
Date: | 2021-02-15 05:32:46 |
Message-ID: | CA+hUKGKR9r1xcp27Jyn7WSORnZptzAaQViow0eHhz6iEHAa+PA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sat, Dec 12, 2020 at 8:45 AM Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> wrote:
> > +ERROR: could not load library "/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": libLLVMOrcJIT.so.12git: cannot open shared object file: No such file or directory
Bonjour Fabien,
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? 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
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 (or is it
supposed to be making it into the rpath, or is it in your ld.so.conf)?
PS Could you try blowing away the accache directory so we can rule out
bad cached configure stuff?
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2021-02-15 06:17:51 | Re: adding wait_start column to pg_locks |
Previous Message | Thomas Munro | 2021-02-15 04:59:52 | Re: GCC warning in back branches |