-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build issues: Error! Loading of FCL library has failed! Filename: libigdfcl.so.1
#682
Comments
Hi @pvelesko |
This is part of my install script: https://github.com/pvelesko/intel-compute-runtime-build @JablonskiMateusz I guess I'm missing -DIGC_DIR=? |
I'm not expert in building from source but I hope that if you build and install IGC, you should have both libigc and libigdfcl libraries installed on the system |
I'm trying to install it on a shared system where I don't have root |
you could try to build igc packages and then extract them to location where you have access and then somehow point them so pkg-config finds it on cmake generation when building neo |
Specifying |
After install, level zero doesn't detect a device. Are the any debug options to check if the kernel space driver installed works for the neo release? @JablonskiMateusz |
This issue is still persistent when trying to build on another system.
I can see this library exists
Trying to run the command by itself:
But I know that this library has already been built in the
so let's
then I checked
finally,
|
@JablonskiMateusz ping @pengtu |
I see a similar issue has been open since 2020 |
I was ultimately able to resolve the issue.. Turns out that LLVM must use static linking!... I'll keep this issue open until this is either fixed or documentation is updated to reflect this requirement. @JablonskiMateusz @pengtu |
I had a similar issue with the same error. My problem was, that the FCL Library was using the SPIRV-LLVM-Translator for llvm13. In the igc build description the package libllvmspirvlib-dev is suggested to be installed. However, on Ubuntu 22.04.3 this will install libllvmspirvlib13, which wont work if you build with prebuild llvm14. The fix was installing libllvmspirvlib-14-dev instead. |
I ran into similar issues as yours as well so I ended up compiling everything from source @libmld-dev but that revealed the issue described here. |
Hi @pvelesko |
intel graphics compiler built successfully even with dynamically linked LLVM. |
Hey, @pvelesko I am facing the same issue when building compute runtime. How did you fix the issue? Can you share the exact commands? |
@chsasank I recompiled LLVM and used static linking which resolved this issue. This should be noted somewhere I think @JablonskiMateusz @chsasank You can use my configure and build scripts https://github.com/pvelesko/intel-compute-runtime-build |
Hey, I have gone through your scripts and have not been able to find the exact line for static linking for LLVM. |
https://github.com/pvelesko/intel-compute-runtime-build/blob/main/configure-llvm.sh this will configure a static build (default for llvm) |
Building LLVM in-tree using those instructions has worked for me in the past, I believe. |
The error image itself is actually coming from this repo. See this line:
|
I don't think this error is related to LLVM static linking. Seems to be a dependency issue. |
I've probably spent over 20 hours trying to build this thing and switching to static linking LLVM was what made it work. Perhaps you can try building via the script that I sent? |
@chsasank any luck? |
I have stopped working on this for the time being. Will report to you if I succeed later. |
@JablonskiMateusz, the bug is here:
and here:
Need to use $ENV{...variable...} inside cmake to get the value of an env var: After this change the error: goes away. The problem is that without $ENV we are just getting an empty string, hence removing all the libs in LD_LIBRARY_PATH. See verbose log: |
The text was updated successfully, but these errors were encountered: