Bug 1683017 - libLLVM-7.so is not in the library search path
Summary: libLLVM-7.so is not in the library search path
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm7.0
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: serge_sans_paille
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1683408
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-26 05:40 UTC by Josh Stone
Modified: 2019-03-04 17:21 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-03-04 17:21:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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!


Note You need to log in before you can comment on or make changes to this bug.