mwylde/loopers

Error on install

Closed this issue · 1 comments

Hello floks, thank you for this project!
I have an error on install with a fresh Ubuntu Studio 22.04. I followed install steps, but got an error error: linking with cc failed: exit status: 1

Maybe it is something obvious, but I can't see what... Here is the detailed log:

error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/vvatelot/.deno/bin:/home/vvatelot/bin:/usr/local/bin:/home/vvatelot/.local/bin:/usr/local/go/bin:/home/vvatelot/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/vvatelot/.local:/home/vvatelot/.npm-packages/bin:/home/vvatelot/.local/share/yabridge" VSLANG="1033" "cc" "-m64" "/tmp/rustcY9yyf2/symbols.o" "/tmp/cargo-installRRV1kb/release/deps/loopers-9077c86fcd36ebe8.loopers.076f2a35-cgu.0.rcgu.o" "/tmp/cargo-installRRV1kb/release/deps/loopers-9077c86fcd36ebe8.loopers.076f2a35-cgu.1.rcgu.o" "/tmp/cargo-installRRV1kb/release/deps/loopers-9077c86fcd36ebe8.loopers.076f2a35-cgu.10.rcgu.o" "/tmp/cargo-installRRV1kb/release/deps/loopers-9077c86fcd36ebe8.loopers.076f2a35-cgu.11.rcgu.o" "/tmp/cargo-installRRV1kb/release/deps/loopers-9077c86fcd36ebe8.loopers.076f2a35-cgu.12.rcgu.o" "/tmp/cargo-installRRV1kb/release/deps/loopers-9077c86fcd36ebe8.loopers.076f2a35-cgu.13.rcgu.o" "/tmp/cargo-installRRV1kb/release/deps/loopers-9077c86fcd36ebe8.loopers.076f2a35-cgu.14.rcgu.o" "/tmp/cargo-installRRV1kb/release/deps/loopers-9077c86fcd36ebe8.loopers.076f2a35-cgu.15.rcgu.o" "/tmp/cargo-installRRV1kb/release/deps/loopers-9077c86fcd36ebe8.loopers.076f2a35-cgu.2.rcgu.o" "/tmp/cargo-installRRV1kb/release/deps/loopers-9077c86fcd36ebe8.loopers.076f2a35-cgu.3.rcgu.o" "/tmp/cargo-installRRV1kb/release/deps/loopers-9077c86fcd36ebe8.loopers.076f2a35-cgu.4.rcgu.o" "/tmp/cargo-installRRV1kb/release/deps/loopers-9077c86fcd36ebe8.loopers.076f2a35-cgu.5.rcgu.o" "/tmp/cargo-installRRV1kb/release/deps/loopers-9077c86fcd36ebe8.loopers.076f2a35-cgu.6.rcgu.o" "/tmp/cargo-installRRV1kb/release/deps/loopers-9077c86fcd36ebe8.loopers.076f2a35-cgu.7.rcgu.o" "/tmp/cargo-installRRV1kb/release/deps/loopers-9077c86fcd36ebe8.loopers.076f2a35-cgu.8.rcgu.o" "/tmp/cargo-installRRV1kb/release/deps/loopers-9077c86fcd36ebe8.loopers.076f2a35-cgu.9.rcgu.o" "/tmp/cargo-installRRV1kb/release/deps/loopers-9077c86fcd36ebe8.1mamel2hwumle0ij.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/cargo-installRRV1kb/release/deps" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/tmp/cargo-installRRV1kb/release/build/skia-bindings-ac74a630e2130a5a/out/skia" "-L" "/tmp/cargo-installRRV1kb/release/build/tinyfiledialogs-eed98524b8b95292/out" "-L" "/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/cargo-installRRV1kb/release/deps/libfern-5371e2a105c209cd.rlib" "/tmp/cargo-installRRV1kb/release/deps/libclap-8946347088383757.rlib" "/tmp/cargo-installRRV1kb/release/deps/libvec_map-7b25bb90ab08f82f.rlib" "/tmp/cargo-installRRV1kb/release/deps/libtextwrap-3d6583a8dfa78297.rlib" "/tmp/cargo-installRRV1kb/release/deps/libunicode_width-bbebe6f0812c30ee.rlib" "/tmp/cargo-installRRV1kb/release/deps/libstrsim-262d8bc63ae9c131.rlib" "/tmp/cargo-installRRV1kb/release/deps/libatty-e6ac6f5b8e5105bc.rlib" "/tmp/cargo-installRRV1kb/release/deps/libansi_term-fc569761c513f564.rlib" "/tmp/cargo-installRRV1kb/release/deps/libloopers_gui-a9cc5fe92c98ee72.rlib" "/tmp/cargo-installRRV1kb/release/deps/libtinyfiledialogs-88ce58f7ba5ff8ac.rlib" "/tmp/cargo-installRRV1kb/release/deps/libgl-b76f5d952cba8b96.rlib" "/tmp/cargo-installRRV1kb/release/deps/libskia_safe-059b4bc9926f37c5.rlib" "/tmp/cargo-installRRV1kb/release/deps/libskia_bindings-d5a44e01d727d78d.rlib" "/tmp/cargo-installRRV1kb/release/deps/libsdl2-0ed08ae88fc6550e.rlib" "/tmp/cargo-installRRV1kb/release/deps/libsdl2_sys-e1aa7a2f9bdac56d.rlib" "/tmp/cargo-installRRV1kb/release/deps/libregex-7167774a23191df9.rlib" "/tmp/cargo-installRRV1kb/release/deps/libaho_corasick-4433db8dd5f3d5a1.rlib" "/tmp/cargo-installRRV1kb/release/deps/libregex_syntax-57c75579a8fceb80.rlib" "/tmp/cargo-installRRV1kb/release/deps/libloopers_engine-3a6a5bd2b367cce3.rlib" "/tmp/cargo-installRRV1kb/release/deps/libdirs-91d1b916baf4d45b.rlib" "/tmp/cargo-installRRV1kb/release/deps/libserde_json-6484d919b96a6618.rlib" "/tmp/cargo-installRRV1kb/release/deps/libhound-e8140e083c56408f.rlib" "/tmp/cargo-installRRV1kb/release/deps/libitertools-c5cf339f461a74d1.rlib" "/tmp/cargo-installRRV1kb/release/deps/libeither-10d0c51b32ed8a2e.rlib" "/tmp/cargo-installRRV1kb/release/deps/libatomic-b20fd98801918198.rlib" "/tmp/cargo-installRRV1kb/release/deps/libloopers_common-fddc9cd9746b97fd.rlib" "/tmp/cargo-installRRV1kb/release/deps/libarrayvec-88855718cdab6f84.rlib" "/tmp/cargo-installRRV1kb/release/deps/libcsv-9b9a610563487c4a.rlib" "/tmp/cargo-installRRV1kb/release/deps/libryu-2a3ed2ef503105f5.rlib" "/tmp/cargo-installRRV1kb/release/deps/libitoa-a7b1f8b015ad0e78.rlib" "/tmp/cargo-installRRV1kb/release/deps/libcsv_core-6ad980ac26da33ab.rlib" "/tmp/cargo-installRRV1kb/release/deps/libmemchr-2cbe141a73b58ecf.rlib" "/tmp/cargo-installRRV1kb/release/deps/libcrossbeam_channel-a2c891d6c4fd4093.rlib" "/tmp/cargo-installRRV1kb/release/deps/libserde-e0d4e9fb69ccde32.rlib" "/tmp/cargo-installRRV1kb/release/deps/libjack-c5d76812596fa3d3.rlib" "/tmp/cargo-installRRV1kb/release/deps/liblog-ae64da9d89890be7.rlib" "/tmp/cargo-installRRV1kb/release/deps/libbitflags-d708dc7fb6cd55fa.rlib" "/tmp/cargo-installRRV1kb/release/deps/libjack_sys-2845cf10beb31f31.rlib" "/tmp/cargo-installRRV1kb/release/deps/liblibloading-1730f4b0d132bae2.rlib" "/tmp/cargo-installRRV1kb/release/deps/liblazy_static-a1515f106746c5a2.rlib" "/tmp/cargo-installRRV1kb/release/deps/libfutures-cec7681de5553ff4.rlib" "/tmp/cargo-installRRV1kb/release/deps/libdirs-707b1e3878b352f2.rlib" "/tmp/cargo-installRRV1kb/release/deps/libdirs_sys-add2509fa993c01b.rlib" "/tmp/cargo-installRRV1kb/release/deps/libcfg_if-5ec661f0b366b230.rlib" "/tmp/cargo-installRRV1kb/release/deps/libcrossbeam_queue-fb65519987f59232.rlib" "/tmp/cargo-installRRV1kb/release/deps/libcrossbeam_utils-b092ddac5946b2fd.rlib" "/tmp/cargo-installRRV1kb/release/deps/libcfg_if-f2340c58ea21a555.rlib" "/tmp/cargo-installRRV1kb/release/deps/libchrono-b7d7372a225b811a.rlib" "/tmp/cargo-installRRV1kb/release/deps/libiana_time_zone-bb355ecb288521a2.rlib" "/tmp/cargo-installRRV1kb/release/deps/libnum_integer-115151c055b8b928.rlib" "/tmp/cargo-installRRV1kb/release/deps/libnum_traits-c9b0f029bd0d59b1.rlib" "/tmp/cargo-installRRV1kb/release/deps/libtime-ba3dcc550c919c55.rlib" "/tmp/cargo-installRRV1kb/release/deps/libbytes-6f24ab727c0ff875.rlib" "/tmp/cargo-installRRV1kb/release/deps/libiovec-d1a9897c98a089d9.rlib" "/tmp/cargo-installRRV1kb/release/deps/liblibc-846aad08a8d083ea.rlib" "/tmp/cargo-installRRV1kb/release/deps/libbyteorder-caabb44180139e96.rlib" "/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bc6b80525d6b1f3b.rlib" "/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-dbb416fff97e9855.rlib" "/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-af60be54961a030f.rlib" "/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-1303bc5098cb2f44.rlib" "/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-96ca4807f9d03fdf.rlib" "/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-03b108942351d49a.rlib" "/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-b348df34b7d8ac11.rlib" "/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-26a06d9c5ec29d3a.rlib" "/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-b5295fdab67e4cf6.rlib" "/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-b257ed099e7f67d0.rlib" "/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-c27b5dca54e295d8.rlib" "/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-f6c8245d52afa66d.rlib" "/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-642c68f15c02cc52.rlib" "/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-eecd84150c4ad967.rlib" "/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-123ffa13a38501db.rlib" "/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-2177aff67f4e9999.rlib" "/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2298a66e03bd0fd2.rlib" "/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-f3c3b25345711552.rlib" "/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-10f041ff25bad5f3.rlib" "-Wl,-Bdynamic" "-lstdc++" "-lfontconfig" "-lfreetype" "-lGL" "-lSDL2" "-ljack" "-ldl" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/vvatelot/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/cargo-installRRV1kb/release/deps/loopers-9077c86fcd36ebe8" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs"
  = note: /usr/bin/ld: cannot find -lfontconfig: No such file or directory
          /usr/bin/ld: cannot find -lfreetype: No such file or directory
          collect2: error: ld returned 1 exit status
          

error: could not compile `loopers` due to previous error
error: failed to compile `loopers v0.2.0`, intermediate artifacts can be found at `/tmp/cargo-installRRV1kb`
? sudo apt install jackd2 libjack-jackd2-dev libgl1-mesa-dev libsdl2-dev gcc

OK, found it... Need to install libfontconfig1-dev and libfreetype-dev also in deps