-
Notifications
You must be signed in to change notification settings - Fork 26
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
typo ? leads to failure to compile #50
Comments
Can you provide a bit more information about the first error? Was that a silent one? |
Does it compile successfully when you run |
Hello Gaziur,
No, unfortunately not. Here's the error report:
error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/home/xxxx/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/xxxx/Projects/Computer_Projects/:/home/xxxxxx/bin:/home/xxxxxx/.local/bin:/home/xxxxx/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/xxxxx/.local/go/bin:/usr/local/go/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcA7P0XB/symbols.o" "/home/xxxxxx/Downloads/git/findex/target/release/deps/findex-06a1e0870199f353.findex.6ec5be471148052d-cgu.00.rcgu.o" "-Wl,--as-needed" "-L" "/home/xxxxxx/Downloads/git/findex/target/release/deps" "-L" "/home/xxxxxx/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/charles/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13fc9d1ed9c7a2bc.rlib" "-Wl,-Bdynamic" "-lkeybinder-3.0" "-ldl" "-lgobject-2.0" "-lgtk-3" "-lgdk-3" "-lz" "-lpangocairo-1.0" "-lpango-1.0" "-lharfbuzz" "-latk-1.0" "-lcairo-gobject" "-lcairo" "-lgdk_pixbuf-2.0" "-lgio-2.0" "-lgobject-2.0" "-lglib-2.0" "-latk-1.0" "-lgobject-2.0" "-lglib-2.0" "-lgdk-3" "-lz" "-lpangocairo-1.0" "-lpango-1.0" "-lharfbuzz" "-lgdk_pixbuf-2.0" "-lcairo-gobject" "-lcairo" "-lgobject-2.0" "-lglib-2.0" "-lpango-1.0" "-lgobject-2.0" "-lglib-2.0" "-lharfbuzz" "-lgdk_pixbuf-2.0" "-lgobject-2.0" "-lglib-2.0" "-lgio-2.0" "-lgobject-2.0" "-lglib-2.0" "-lcairo-gobject" "-lcairo" "-lgobject-2.0" "-lglib-2.0" "-lgobject-2.0" "-lglib-2.0" "-lgobject-2.0" "-lglib-2.0" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/home/xxxxxx/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/xxxxxx/Downloads/git/findex/target/release/deps/findex-06a1e0870199f353" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs"
= note: /usr/bin/ld: cannot find -lkeybinder-3.0: No such file or directory
collect2: error: ld returned 1 exit status
DKragen
…On Wed, 13 Mar 2024 03:32:40 -0700, MD Gaziur Rahman Noor wrote:
Does it compile successfully when you run `cargo build --release`?
--
Reply to this email directly or view it on GitHub:
#50 (comment)
You are receiving this because you authored the thread.
Message ID:
|
I am not really sure what might be causing this as I've never used Fedora. I think you can try prebuilt binaries instead. For now, you have to manually copy and install it. I'll add the capability to install prebuilt binaries sooner or later. |
This error indicates that the system you are compiling this on is missing
|
Description
Tried to install using installer.sh. Repeatedly, resulted in two errors. First was that config directory wasn't created. After I created one manually, the installer made it past that error.
However, then failed at the stage where ld is gathering items. ld was unable to find keybinder-3.0("note: /usr/bin/ld: cannot find -lkeybinder-3.0"), which I believe is actually one of the following:
/usr/lib64/libkeybinder-3.0.so.0.0.0
/usr/lib64/libkeybinder-3.0.so.0
/usr/lib64/girepository-1.0/Keybinder-3.0.typelib
probably the last, in Fedora 38.
System information
Output of
rustc --version --verbose
:rustc 1.76.0 (07dca489a 2024-02-04)
binary: rustc
commit-hash: 07dca489ac2d933c78d3c5158e3f43beefeb02ce
commit-date: 2024-02-04
host: x86_64-unknown-linux-gnu
release: 1.76.0
LLVM version: 17.0.6
Log/Output (if applicable)
.findex-logs doesn't exist.
The text was updated successfully, but these errors were encountered: