Bug 1683017

Summary: libLLVM-7.so is not in the library search path
Product: [Fedora] Fedora Reporter: Josh Stone <jistone>
Component: llvm7.0Assignee: serge_sans_paille <sguelton>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: sguelton, tstellar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-04 17:21:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1683408    
Bug Blocks:    

Description Josh Stone 2019-02-26 05:40:42 UTC
llvm7.0-libs-7.0.1-3.fc30.x86_64

I'm getting new failures from Rust like:

error: couldn't load codegen backend "/usr/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-llvm.so": "libLLVM-7.so: cannot open shared object file: No such file or directory"

The rpm dependencies did pull in llvm7.0-libs, and this does contain the correct file /usr/lib64/llvm7.0/lib/libLLVM-7.so. However, this is not in the search path. Usually there's an ld.so.conf file adding the path.

For instance, llvm6.0-libs has /etc/ld.so.conf.d/llvm6.0-x86_64.conf

Comment 1 serge_sans_paille 2019-02-26 09:30:43 UTC
The  /etc/ld.so.conf.d/llvm7.0-x86_64.conf is actually installed by the llvm7.0-7.0 package, while llvm7.0-libs-7.0.1-3.fc30.x86_64 doesn't depend on it. I'm rebuilding a -libs package that bundle the right config file.

Comment 2 serge_sans_paille 2019-02-26 16:00:42 UTC
Fixed by llvm7.0-7.0.1-4.fc30, or so I hope.

Comment 3 Fedora Update System 2019-02-26 17:05:02 UTC
clang-7.0.1-4.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-fcfaa6d2e1

Comment 4 Josh Stone 2019-02-26 17:39:41 UTC
That bodhi update looks irrelevant, but I did confirm llvm7.0-7.0.1-4.fc30 in mock. Let's see this in rawhide too and we should be good.

Comment 5 serge_sans_paille 2019-03-04 08:40:13 UTC
llvm7.0-7.0.1-4.fc31 has been uploaded, can you confirm it's okay too?

Comment 6 Josh Stone 2019-03-04 17:21:34 UTC
Yep, rust is working on rawhide now too, thanks!