-
Notifications
You must be signed in to change notification settings - Fork 2
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
Linker fails on Fedora 33 #6
Comments
Update: however, I can't get it to run: from gdm I can select it but it goes back instantly, running startlcarswm from a running desktop (gnome) shows the bare bones of it, but crashes that desktop, and running it from another tty aborts |
Hey @bkurdali, I'm glad that you could solve it. Just one question. in src/nativeInterop/cinterop/xlib.def there are two folders references for the libraries:
Those fit to Arch Linux and Ubuntu, which are the systems, that I checked. What is the right library folder in Fedora, /usr/lib64, or something else? |
@bkurdali, forget that last question, I re-read your comment and saw the answer at the end :) But to answer your question: the linker and include settings are in src/nativeInterop/cinterop/xlib.def I will add the /usr/lib64 directory later today |
thanks! |
The /root/.konan/dependencies/clang-llvm-8.0.0-linux-x86-64/bin/ld.lld command returned non-zero exit code: 1.
output:
ld.lld: error: unable to find library -lX11
ld.lld: error: unable to find library -lXpm
ld.lld: error: unable to find library -lXrandr
ld.lld: error: unable to find library -lglib-2.0
ld.lld: error: unable to find library -lpango-1.0
ld.lld: error: unable to find library -lpangoxft-1.0
ld.lld: error: unable to find library -lXft
ld.lld: error: unable to find library -lxml2
FAILURE: Build failed with an exception.
Execution failed for task ':linkDebugExecutableNative'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 15s
4 actionable tasks: 4 executed
cp: cannot stat './build/bin/native/releaseExecutable/lcarswm.kexe': No such file or directory
cp: cannot stat './src/nativeMain/resources/usr/': No such file or directory
cp: cannot stat './src/nativeMain/resources/etc/': No such file or directory
I have the libraries installed:
etc. etc.
They're all in /lib64 which links to /usr/lib64
not sure how to tell the linker where to find them
The text was updated successfully, but these errors were encountered: