Closed sameyepatch closed 6 years ago
Could you try with Rust 1.22.1
? I've not updated yet and wonder whether it's just a library/Rust version incompatibility.
Hello,
I finally had a chance to try with a different version but the outcome is the same, so it probably doesn't have anything to do with the Rust version?
make prepare-binary
make[1]: Entering directory '/tmp/bukubrow-2.2.0'
make prepare
make[2]: Entering directory '/tmp/bukubrow-2.2.0'
mkdir -p .build release
make[2]: Leaving directory '/tmp/bukubrow-2.2.0'
cp binary/browser-hosts/chrome.json .build/chrome-host.json
cp binary/browser-hosts/firefox.json .build/firefox-host.json
cp binary/install.sh .build/
make[1]: Leaving directory '/tmp/bukubrow-2.2.0'
cd binary && cargo build --release --target=x86_64-unknown-linux-gnu
Compiling libc v0.2.26
Compiling unicode-xid v0.0.4
Compiling quote v0.3.15
Compiling num-traits v0.1.41
Compiling cfg-if v0.1.2
Compiling byteorder v1.2.1
Compiling linked-hash-map v0.4.2
Compiling serde v1.0.24
Compiling cc v1.0.3
Compiling bitflags v1.0.1
Compiling dtoa v0.4.2
Compiling pkg-config v0.3.9
Compiling itoa v0.3.4
Compiling rustc-demangle v0.1.5
Compiling synom v0.11.3
Compiling time v0.1.38
Compiling lru-cache v0.1.1
Compiling backtrace-sys v0.1.16
Compiling serde_json v1.0.8
Compiling libsqlite3-sys v0.9.1
Compiling syn v0.11.11
Compiling serde_derive_internals v0.18.0
Compiling rusqlite v0.13.0
Compiling backtrace v0.3.4
Compiling error-chain v0.11.0
Compiling chrome_native_messaging v0.1.2
Compiling serde_derive v1.0.24
Compiling bukubrow v1.0.0 (file:///tmp/bukubrow-2.2.0/binary)
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/sameyepatch/.rustup/toolchains/1.22.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-13598fbd4c6865b2.bukubrow0.rust-cgu.o" "-o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-13598fbd4c6865b2" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-13598fbd4c6865b2.crate.allocator.rust-cgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "-L" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps" "-L" "/tmp/bukubrow-2.2.0/binary/target/release/deps" "-L" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/build/backtrace-sys-4e5e43d28fa69763/out/.libs" "-L" "/home/sameyepatch/.rustup/toolchains/1.22.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/librusqlite-569713a430d9000d.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/liblru_cache-1d18bd519b1cee15.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/liblinked_hash_map-4478161270e7315b.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libtime-35fda6cb968d6f7d.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/liblibsqlite3_sys-3d27ceba40faef1f.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libbitflags-9c68dabe6601203b.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libchrome_native_messaging-cc6ac39476f64f5b.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libbyteorder-564bf00960afabb3.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/liberror_chain-2960ab606cad0c1a.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libbacktrace-2aa499720632ed79.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libbacktrace_sys-33bd6d6074919ad6.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/librustc_demangle-b34068dccbe1202d.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/liblibc-86451e29b0d72194.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libcfg_if-a7fd0fe9ff9fd6cb.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libserde_json-ea8c3f1d4e7499b7.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libdtoa-c6fe42da0e171c9d.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libserde-ecbc7d9697402039.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libnum_traits-49299b980a496015.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libitoa-27dc9f6b2ff5bcf6.rlib" "/home/sameyepatch/.rustup/toolchains/1.22.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-fe0b1b991511fcaa.rlib" "/home/sameyepatch/.rustup/toolchains/1.22.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-8cb97051d8238386.rlib" "/home/sameyepatch/.rustup/toolchains/1.22.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-28484309357fd6f1.rlib" "/home/sameyepatch/.rustup/toolchains/1.22.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-25cc9b024a02d330.rlib" "/home/sameyepatch/.rustup/toolchains/1.22.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-751808ba756769d5.rlib" "/home/sameyepatch/.rustup/toolchains/1.22.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-d42e80cee81b06ce.rlib" "/home/sameyepatch/.rustup/toolchains/1.22.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-78c21267a2dc15c1.rlib" "/home/sameyepatch/.rustup/toolchains/1.22.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_unicode-0e1b544c94586415.rlib" "/home/sameyepatch/.rustup/toolchains/1.22.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-3d7b10e850a67e89.rlib" "/home/sameyepatch/.rustup/toolchains/1.22.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0c5e3d6c117f8c44.rlib" "/home/sameyepatch/.rustup/toolchains/1.22.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-bd7cc5ada1e908e0.rlib" "-Wl,-Bdynamic" "-l" "sqlite3" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "pthread" "-l" "gcc_s" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util"
= note: /usr/bin/ld: cannot find -lsqlite3
collect2: error: ld returned 1 exit status
error: aborting due to previous error
error: Could not compile `bukubrow`.
To learn more, run the command again with --verbose.
make: *** [makefile:46: binary-linux-x64] Error 101
The default toolchain now is 1.22.1-x86_64-unknown-linux-gnu (default)
Hmm, that's curious. Could you try re-running with --verbose
? Easiest way would be to add that onto the end of the cargo
call in the makefile.
Here:
$ cargo build --release --target=x86_64-unknown-linux-gnu --verbose
Fresh cc v1.0.3
Fresh serde v1.0.24
Fresh num-traits v0.1.41
Fresh pkg-config v0.3.9
Fresh quote v0.3.15
Fresh byteorder v1.2.1
Fresh rustc-demangle v0.1.5
Fresh libc v0.2.26
Fresh unicode-xid v0.0.4
Fresh bitflags v1.0.1
Fresh linked-hash-map v0.4.2
Fresh dtoa v0.4.2
Fresh itoa v0.3.4
Fresh cfg-if v0.1.2
Fresh time v0.1.38
Fresh synom v0.11.3
Fresh lru-cache v0.1.1
Fresh serde_json v1.0.8
Fresh syn v0.11.11
Fresh backtrace-sys v0.1.16
Fresh libsqlite3-sys v0.9.1
Fresh serde_derive_internals v0.18.0
Fresh backtrace v0.3.4
Fresh rusqlite v0.13.0
Fresh serde_derive v1.0.24
Fresh error-chain v0.11.0
Fresh chrome_native_messaging v0.1.2
Compiling bukubrow v1.0.0 (file:///tmp/bukubrow-2.2.0/binary)
Running `rustc --crate-name bukubrow src/main.rs --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=cd2861e3389dc3c5 -C extra-filename=-cd2861e3389dc3c5 --out-dir /tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps -L dependency=/tmp/bukubrow-2.2.0/binary/target/release/deps --extern serde=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libserde-b463c405fbfbcecc.rlib --extern serde_derive=/tmp/bukubrow-2.2.0/binary/target/release/deps/libserde_derive-27b2f876b3bd819a.so --extern rusqlite=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/librusqlite-ed1ab2cbf756dd43.rlib --extern serde_json=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libserde_json-0514fa152acbf5d6.rlib --extern chrome_native_messaging=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libchrome_native_messaging-fa6bc85bda369e64.rlib -L native=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/build/backtrace-sys-e7c20c71fe3df353/out/.libs`
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow0-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow1-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow10-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow11-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow12-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow13-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow14-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow15-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow2-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow3-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow4-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow5-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow6-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow7-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow8-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow9-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "-o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.crate.allocator.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "-L" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps" "-L" "/tmp/bukubrow-2.2.0/binary/target/release/deps" "-L" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/build/backtrace-sys-e7c20c71fe3df353/out/.libs" "-L" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libchrome_native_messaging-fa6bc85bda369e64.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libbyteorder-4e9ff65d81bcb1b5.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libserde_json-0514fa152acbf5d6.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libdtoa-32a5d517b44fc3f2.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libitoa-c6516b71eb3df34e.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libserde-b463c405fbfbcecc.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libnum_traits-508288771266a577.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/liberror_chain-4b10120ec7f09ec7.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libbacktrace-d256b3d335d33815.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libbacktrace_sys-15b5a5eda080357c.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/librustc_demangle-58bfdc90dd7a33f7.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libcfg_if-d2ae2ee7f0190943.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/librusqlite-ed1ab2cbf756dd43.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libtime-aca2303a6a12e65d.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/liblibc-c1a0a6a7c8a988ef.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libbitflags-d5bcf2fbc959da1e.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/liblru_cache-42440d4ad05125eb.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/liblinked_hash_map-736893aec2f5c9a1.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/liblibsqlite3_sys-ee2891a4cb0b4eb6.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c10c01f750e28d27.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-428f111496747802.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-44df8b23e0916803.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-fbadb5623ab8cc25.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-c7afd75849f41e4c.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-42a81d0277a7a698.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-20751df81794b150.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_unicode-34dbdc699982f60d.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8e8a91684c5e06e5.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-4e85b1507e729192.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "sqlite3" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "pthread" "-l" "gcc_s" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util" "-l" "util"
= note: /usr/bin/ld: cannot find -lsqlite3
collect2: error: ld returned 1 exit status
error: aborting due to previous error
error: Could not compile `bukubrow`.
Caused by:
process didn't exit successfully: `rustc --crate-name bukubrow src/main.rs --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=cd2861e3389dc3c5 -C extra-filename=-cd2861e3389dc3c5 --out-dir /tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps -L dependency=/tmp/bukubrow-2.2.0/binary/target/release/deps --extern serde=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libserde-b463c405fbfbcecc.rlib --extern serde_derive=/tmp/bukubrow-2.2.0/binary/target/release/deps/libserde_derive-27b2f876b3bd819a.so --extern rusqlite=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/librusqlite-ed1ab2cbf756dd43.rlib --extern serde_json=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libserde_json-0514fa152acbf5d6.rlib --extern chrome_native_messaging=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libchrome_native_messaging-fa6bc85bda369e64.rlib -L native=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/build/backtrace-sys-e7c20c71fe3df353/out/.libs` (exit code: 101)
For some reason I have the sqlite
package installed on my Arch partition. Could you try installing that or the equivalent for your distro and see if that solves it? Otherwise I'm at a loss :disappointed_relieved:
Edit: Fairly confident this is what it is, check the README of the Rust crate we use in Bukubrow to access Buku's SQLite database: https://github.com/jgallagher/rusqlite
Installed sqlite3, and this is what I have installed now:
$ rpm -qa | grep sqlite
sqlite-3.20.1-2.fc27.x86_64
sqlite-libs-3.20.1-2.fc27.x86_64
libsqlite3x-20071018-22.fc27.x86_64
The sqlite-libs
and libsqlite3x
packages were already there.
Tried to build again, and it failed, again :sob:
$ make binary-linux-x64
make prepare-binary
make[1]: Entering directory '/tmp/bukubrow-2.2.0'
make prepare
make[2]: Entering directory '/tmp/bukubrow-2.2.0'
mkdir -p .build release
make[2]: Leaving directory '/tmp/bukubrow-2.2.0'
cp binary/browser-hosts/chrome.json .build/chrome-host.json
cp binary/browser-hosts/firefox.json .build/firefox-host.json
cp binary/install.sh .build/
make[1]: Leaving directory '/tmp/bukubrow-2.2.0'
cd binary && cargo build --release --target=x86_64-unknown-linux-gnu
Compiling num-traits v0.1.41
Compiling byteorder v1.2.1
Compiling itoa v0.3.4
Compiling libc v0.2.26
Compiling linked-hash-map v0.4.2
Compiling pkg-config v0.3.9
Compiling serde v1.0.24
Compiling dtoa v0.4.2
Compiling cc v1.0.3
Compiling bitflags v1.0.1
Compiling quote v0.3.15
Compiling cfg-if v0.1.2
Compiling unicode-xid v0.0.4
Compiling rustc-demangle v0.1.5
Compiling lru-cache v0.1.1
Compiling time v0.1.38
Compiling libsqlite3-sys v0.9.1
Compiling serde_json v1.0.8
Compiling backtrace-sys v0.1.16
Compiling synom v0.11.3
Compiling syn v0.11.11
Compiling rusqlite v0.13.0
Compiling backtrace v0.3.4
Compiling error-chain v0.11.0
Compiling chrome_native_messaging v0.1.2
Compiling serde_derive_internals v0.18.0
Compiling serde_derive v1.0.24
Compiling bukubrow v1.0.0 (file:///tmp/bukubrow-2.2.0/binary)
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow0-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow1-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow10-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow11-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow12-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow13-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow14-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow15-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow2-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow3-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow4-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow5-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow6-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow7-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow8-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow9-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "-o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.crate.allocator.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "-L" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps" "-L" "/tmp/bukubrow-2.2.0/binary/target/release/deps" "-L" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/build/backtrace-sys-e7c20c71fe3df353/out/.libs" "-L" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libchrome_native_messaging-fa6bc85bda369e64.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libbyteorder-4e9ff65d81bcb1b5.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libserde_json-0514fa152acbf5d6.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libdtoa-32a5d517b44fc3f2.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libitoa-c6516b71eb3df34e.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libserde-b463c405fbfbcecc.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libnum_traits-508288771266a577.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/liberror_chain-4b10120ec7f09ec7.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libbacktrace-d256b3d335d33815.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libbacktrace_sys-15b5a5eda080357c.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/librustc_demangle-58bfdc90dd7a33f7.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libcfg_if-d2ae2ee7f0190943.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/librusqlite-ed1ab2cbf756dd43.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libtime-aca2303a6a12e65d.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/liblibc-c1a0a6a7c8a988ef.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libbitflags-d5bcf2fbc959da1e.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/liblru_cache-42440d4ad05125eb.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/liblinked_hash_map-736893aec2f5c9a1.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/liblibsqlite3_sys-ee2891a4cb0b4eb6.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c10c01f750e28d27.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-428f111496747802.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-44df8b23e0916803.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-fbadb5623ab8cc25.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-c7afd75849f41e4c.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-42a81d0277a7a698.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-20751df81794b150.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_unicode-34dbdc699982f60d.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8e8a91684c5e06e5.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-4e85b1507e729192.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "sqlite3" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "pthread" "-l" "gcc_s" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util" "-l" "util"
= note: /usr/bin/ld: cannot find -lsqlite3
collect2: error: ld returned 1 exit status
error: aborting due to previous error
error: Could not compile `bukubrow`.
To learn more, run the command again with --verbose.
make: *** [makefile:46: binary-linux-x64] Error 101
And with --verbose
:
$ make binary-linux-x64
make prepare-binary
make[1]: Entering directory '/tmp/bukubrow-2.2.0'
make prepare
make[2]: Entering directory '/tmp/bukubrow-2.2.0'
mkdir -p .build release
make[2]: Leaving directory '/tmp/bukubrow-2.2.0'
cp binary/browser-hosts/chrome.json .build/chrome-host.json
cp binary/browser-hosts/firefox.json .build/firefox-host.json
cp binary/install.sh .build/
make[1]: Leaving directory '/tmp/bukubrow-2.2.0'
cd binary && cargo build --release --target=x86_64-unknown-linux-gnu --verbose
Fresh cfg-if v0.1.2
Fresh unicode-xid v0.0.4
Fresh bitflags v1.0.1
Fresh itoa v0.3.4
Fresh dtoa v0.4.2
Fresh libc v0.2.26
Fresh cc v1.0.3
Fresh rustc-demangle v0.1.5
Fresh pkg-config v0.3.9
Fresh quote v0.3.15
Fresh num-traits v0.1.41
Fresh serde v1.0.24
Fresh linked-hash-map v0.4.2
Fresh byteorder v1.2.1
Fresh synom v0.11.3
Fresh time v0.1.38
Fresh serde_json v1.0.8
Fresh lru-cache v0.1.1
Fresh syn v0.11.11
Fresh serde_derive_internals v0.18.0
Fresh backtrace-sys v0.1.16
Fresh libsqlite3-sys v0.9.1
Fresh serde_derive v1.0.24
Fresh backtrace v0.3.4
Fresh rusqlite v0.13.0
Fresh error-chain v0.11.0
Fresh chrome_native_messaging v0.1.2
Compiling bukubrow v1.0.0 (file:///tmp/bukubrow-2.2.0/binary)
Running `rustc --crate-name bukubrow src/main.rs --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=cd2861e3389dc3c5 -C extra-filename=-cd2861e3389dc3c5 --out-dir /tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps -L dependency=/tmp/bukubrow-2.2.0/binary/target/release/deps --extern serde_json=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libserde_json-0514fa152acbf5d6.rlib --extern serde_derive=/tmp/bukubrow-2.2.0/binary/target/release/deps/libserde_derive-27b2f876b3bd819a.so --extern rusqlite=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/librusqlite-ed1ab2cbf756dd43.rlib --extern serde=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libserde-b463c405fbfbcecc.rlib --extern chrome_native_messaging=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libchrome_native_messaging-fa6bc85bda369e64.rlib -L native=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/build/backtrace-sys-e7c20c71fe3df353/out/.libs`
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow0-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow1-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow10-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow11-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow12-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow13-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow14-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow15-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow2-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow3-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow4-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow5-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow6-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow7-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow8-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.bukubrow9-4086ef95097f3b506b676f856f8e9ae7.rs.rcgu.o" "-o" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/bukubrow-cd2861e3389dc3c5.crate.allocator.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "-L" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps" "-L" "/tmp/bukubrow-2.2.0/binary/target/release/deps" "-L" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/build/backtrace-sys-e7c20c71fe3df353/out/.libs" "-L" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libchrome_native_messaging-fa6bc85bda369e64.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libbyteorder-4e9ff65d81bcb1b5.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libserde_json-0514fa152acbf5d6.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libdtoa-32a5d517b44fc3f2.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libitoa-c6516b71eb3df34e.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libserde-b463c405fbfbcecc.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libnum_traits-508288771266a577.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/liberror_chain-4b10120ec7f09ec7.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libbacktrace-d256b3d335d33815.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libbacktrace_sys-15b5a5eda080357c.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/librustc_demangle-58bfdc90dd7a33f7.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libcfg_if-d2ae2ee7f0190943.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/librusqlite-ed1ab2cbf756dd43.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libtime-aca2303a6a12e65d.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/liblibc-c1a0a6a7c8a988ef.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libbitflags-d5bcf2fbc959da1e.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/liblru_cache-42440d4ad05125eb.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/liblinked_hash_map-736893aec2f5c9a1.rlib" "/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/liblibsqlite3_sys-ee2891a4cb0b4eb6.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c10c01f750e28d27.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-428f111496747802.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-44df8b23e0916803.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-fbadb5623ab8cc25.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-c7afd75849f41e4c.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-42a81d0277a7a698.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-20751df81794b150.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_unicode-34dbdc699982f60d.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8e8a91684c5e06e5.rlib" "/home/sameyepatch/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-4e85b1507e729192.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "sqlite3" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "pthread" "-l" "gcc_s" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util" "-l" "util"
= note: /usr/bin/ld: cannot find -lsqlite3
collect2: error: ld returned 1 exit status
error: aborting due to previous error
error: Could not compile `bukubrow`.
Caused by:
process didn't exit successfully: `rustc --crate-name bukubrow src/main.rs --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=cd2861e3389dc3c5 -C extra-filename=-cd2861e3389dc3c5 --out-dir /tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps -L dependency=/tmp/bukubrow-2.2.0/binary/target/release/deps --extern serde_json=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libserde_json-0514fa152acbf5d6.rlib --extern serde_derive=/tmp/bukubrow-2.2.0/binary/target/release/deps/libserde_derive-27b2f876b3bd819a.so --extern rusqlite=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/librusqlite-ed1ab2cbf756dd43.rlib --extern serde=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libserde-b463c405fbfbcecc.rlib --extern chrome_native_messaging=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/deps/libchrome_native_messaging-fa6bc85bda369e64.rlib -L native=/tmp/bukubrow-2.2.0/binary/target/x86_64-unknown-linux-gnu/release/build/backtrace-sys-e7c20c71fe3df353/out/.libs` (exit code: 101)
make: *** [makefile:46: binary-linux-x64] Error 101
It happens with both rust 1.22.1 and the default :weary:
You'll need the dev package for it to work per the crate's README. Now, which package is that in particular? I couldn't tell you haha
Holy crap you were right! I installed sqlite-devel
, libsq3
and libsq3-devel
and it compiled completely. How could I miss that? Now I got the extension working.
Thanks a lot! :smiley:
Great to hear! :+1:
Relevant: #79
Hello, compiling the binary threw an error:
System details:
Fedora 27 Linux 4.15.12-301.fc27.x86_64
gcc-7.3.1-5.fc27.x86_64 libgcc-7.3.1-5.fc27.x86_64
rustc 1.25.0 (84203cac6 2018-03-25)