FS#64638 - [postgresql-libs] libLLVM-9.so missing

Attached to Project: Arch Linux
Opened by Stephan S (buzo) - Sunday, 24 November 2019, 22:14 GMT
Last edited by Levente Polyak (anthraxx) - Wednesday, 27 November 2019, 20:26 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Connecting to my remote database with «psql -h … -U …» works fine, but as soon as I enter a non-trivial select statement there, it fails with the message:

ERROR: could not load library "/usr/lib/postgresql/llvmjit.so": libLLVM-9.so: cannot open shared object file: No such file or directory

What is missing?

Could be related to  FS#60882 

Additional info:
* postgresql-libs 12.1-1
This task depends upon

Closed by  Levente Polyak (anthraxx)
Wednesday, 27 November 2019, 20:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  12.1-2
Comment by Doug Newgard (Scimmia) - Sunday, 24 November 2019, 23:09 GMT
The linked bug report says that JIT is enabled or disabled in the settings. Do you have it enabled? This is covered by optional deps, but if it's required unconditionally, that may need changed.
Comment by Levente Polyak (anthraxx) - Monday, 25 November 2019, 08:12 GMT
JIT is enabled per default in 12.0 so i gonna move it to the hard depends
Comment by Stephan S (buzo) - Monday, 25 November 2019, 15:17 GMT
In the meantime, I have noticed this error in the journal on the server, too. So the package postgresql is affected, not -libs.

After installing llvm on the server, it works. Thanks for the hint!
Comment by Thore Bödecker (foxxx0) - Tuesday, 26 November 2019, 07:28 GMT
The correct optional dependency is llvm-libs, not llvm.
Comment by Stephan S (buzo) - Tuesday, 26 November 2019, 09:04 GMT
Thanks foxxx0, you are right: After removing llvm and thus leaving only llvm-libs it still works for me.

Loading...