Skip to content
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

安装silicon失败 #13

Open
codeofgeass opened this issue Dec 14, 2022 · 3 comments
Open

安装silicon失败 #13

codeofgeass opened this issue Dec 14, 2022 · 3 comments

Comments

@codeofgeass
Copy link

使用的是cargo install silicon,但是会报如下错误:

error: linking with ccfailed: exit status: 1 | = note: "cc" "-m64" "/tmp/rustchuFRJs/symbols.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.0.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.1.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.10.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.11.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.12.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.13.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.14.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.15.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.2.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.3.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.4.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.5.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.6.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.7.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.8.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.9.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.2jczg7xw0lk7kvf7.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/cargo-installYoAvkB/release/deps" "-L" "/usr/lib64" "-L" "/usr/lib64" "-L" "/tmp/cargo-installYoAvkB/release/build/harfbuzz-sys-ec99e08e2b628bb0/out" "-L" "/tmp/cargo-installYoAvkB/release/build/onig_sys-d54e9f5713b10d2d/out" "-L" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/cargo-installYoAvkB/release/deps/libenv_logger-93f2d52a8cd9631c.rlib" "/tmp/cargo-installYoAvkB/release/deps/libtermcolor-ec841bbc4169fa9c.rlib" "/tmp/cargo-installYoAvkB/release/deps/libhumantime-1a664a869acbf690.rlib" "/tmp/cargo-installYoAvkB/release/deps/libtempfile-4131d5bb64da45e9.rlib" "/tmp/cargo-installYoAvkB/release/deps/libfastrand-c0e6a5b10893d724.rlib" "/tmp/cargo-installYoAvkB/release/deps/libremove_dir_all-013c98fae9397bbe.rlib" "/tmp/cargo-installYoAvkB/release/deps/libshell_words-04299b946c33c702.rlib" "/tmp/cargo-installYoAvkB/release/deps/libsilicon-0b6532f8b2ec3eeb.rlib" "/tmp/cargo-installYoAvkB/release/deps/libdirs-a459be3140d567fb.rlib" "/tmp/cargo-installYoAvkB/release/deps/libdirs_sys-6ebaebfccd953ac4.rlib" "/tmp/cargo-installYoAvkB/release/deps/libharfbuzz_sys-d765632f39bb2e7c.rlib" "/tmp/cargo-installYoAvkB/release/deps/libimageproc-85024e352642f1c4.rlib" "/tmp/cargo-installYoAvkB/release/deps/librand_distr-e879c7706a41bcd3.rlib" "/tmp/cargo-installYoAvkB/release/deps/librand-58de9c054dbbe4e1.rlib" "/tmp/cargo-installYoAvkB/release/deps/librand_chacha-5ec7ba823490aa64.rlib" "/tmp/cargo-installYoAvkB/release/deps/libppv_lite86-c2bf136f3ed28e0a.rlib" "/tmp/cargo-installYoAvkB/release/deps/librand_core-a215150e5eed32c8.rlib" "/tmp/cargo-installYoAvkB/release/deps/libgetrandom-e8168dfea99fee1e.rlib" "/tmp/cargo-installYoAvkB/release/deps/libnalgebra-43309d563efa8210.rlib" "/tmp/cargo-installYoAvkB/release/deps/libmatrixmultiply-90e3b9a273b130a0.rlib" "/tmp/cargo-installYoAvkB/release/deps/librawpointer-7424f01a4c229d10.rlib" "/tmp/cargo-installYoAvkB/release/deps/libtypenum-358f00ec02d6e3df.rlib" "/tmp/cargo-installYoAvkB/release/deps/libsimba-85ddffe06ab660bb.rlib" "/tmp/cargo-installYoAvkB/release/deps/libwide-29e7b2ad3fe2001a.rlib" "/tmp/cargo-installYoAvkB/release/deps/libsafe_arch-95e30c2dbb4eb9c0.rlib" "/tmp/cargo-installYoAvkB/release/deps/libapprox-283fcbf4434b2434.rlib" "/tmp/cargo-installYoAvkB/release/deps/librusttype-45abf7c1a162bb5e.rlib" "/tmp/cargo-installYoAvkB/release/deps/libab_glyph_rasterizer-39cc2c015b1f1c32.rlib" "/tmp/cargo-installYoAvkB/release/deps/libowned_ttf_parser-b62eafb2bb92ba33.rlib" "/tmp/cargo-installYoAvkB/release/deps/libttf_parser-3fcc937725971dfe.rlib" "/tmp/cargo-installYoAvkB/release/deps/libnum-0ab8700edaac115a.rlib" "/tmp/cargo-installYoAvkB/release/deps/libnum_iter-6e2070d4f484ee2d.rlib" "/tmp/cargo-installYoAvkB/release/deps/libnum_complex-48d6c6b799370f58.rlib" "/tmp/cargo-installYoAvkB/release/deps/libitertools-f8c522bed8bb4ee7.rlib" "/tmp/cargo-installYoAvkB/release/deps/libconv-d96cc8dcbc0319fa.rlib" "/tmp/cargo-installYoAvkB/release/deps/libcustom_derive-d6860005abcdb551.rlib" "/tmp/cargo-installYoAvkB/release/deps/libfont_kit-0b6db4ede81e5720.rlib" "/tmp/cargo-installYoAvkB/release/deps/libfloat_ord-2c31f04adecae2bb.rlib" "/tmp/cargo-installYoAvkB/release/deps/libdirs_next-e4beefa5426a75a0.rlib" "/tmp/cargo-installYoAvkB/release/deps/libdirs_sys_next-a64b460cd4bf8797.rlib" "/tmp/cargo-installYoAvkB/release/deps/libfontconfig_sys-82753bf61eb1552f.rlib" "/tmp/cargo-installYoAvkB/release/deps/libdlib-e0b13b416b5b89d1.rlib" "/tmp/cargo-installYoAvkB/release/deps/liblibloading-3f2caa262c7bdbc8.rlib" "/tmp/cargo-installYoAvkB/release/deps/libconst_cstr-9f8469a15344b9ed.rlib" "/tmp/cargo-installYoAvkB/release/deps/libfreetype-45494708eab05aeb.rlib" "/tmp/cargo-installYoAvkB/release/deps/libfreetype_sys-57a92e7915b7f4a6.rlib" "/tmp/cargo-installYoAvkB/release/deps/libpathfinder_geometry-4886855f5a4d1458.rlib" "/tmp/cargo-installYoAvkB/release/deps/libpathfinder_simd-c942f48b2edd8a97.rlib" "/tmp/cargo-installYoAvkB/release/deps/libclipboard-d21a7c79545357f4.rlib" "/tmp/cargo-installYoAvkB/release/deps/libx11_clipboard-072aacb6d3ac9f48.rlib" "/tmp/cargo-installYoAvkB/release/deps/libxcb-efb3bf2dbf5ada5d.rlib" "/tmp/cargo-installYoAvkB/release/deps/liblog-bff571ca34590620.rlib" "/tmp/cargo-installYoAvkB/release/deps/libsyntect-bd4ffe9fbebdbb24.rlib" "/tmp/cargo-installYoAvkB/release/deps/libthiserror-34aa89f0ef3e6cc5.rlib" "/tmp/cargo-installYoAvkB/release/deps/libwalkdir-961a996d6ec5ce94.rlib" "/tmp/cargo-installYoAvkB/release/deps/libsame_file-3855c1dcbc66439c.rlib" "/tmp/cargo-installYoAvkB/release/deps/libonig-1d72ee8cf9e63c63.rlib" "/tmp/cargo-installYoAvkB/release/deps/libonig_sys-d9650cf60e7d7ee0.rlib" "/tmp/cargo-installYoAvkB/release/deps/libyaml_rust-33b60781755e2d57.rlib" "/tmp/cargo-installYoAvkB/release/deps/liblinked_hash_map-ee01c133f68fe9fa.rlib" "/tmp/cargo-installYoAvkB/release/deps/libonce_cell-b4df9561ab6b1506.rlib" "/tmp/cargo-installYoAvkB/release/deps/libregex_syntax-c73e2ff9e4cb1271.rlib" "/tmp/cargo-installYoAvkB/release/deps/libfnv-c17a4df6d94b476d.rlib" "/tmp/cargo-installYoAvkB/release/deps/libserde_json-5bb06ba4ab0159be.rlib" "/tmp/cargo-installYoAvkB/release/deps/libryu-88258a19faa64566.rlib" "/tmp/cargo-installYoAvkB/release/deps/libplist-21c9a2f7dcd74011.rlib" "/tmp/cargo-installYoAvkB/release/deps/libtime-f66af65c30498d65.rlib" "/tmp/cargo-installYoAvkB/release/deps/libitoa-90093fe851f07a5b.rlib" "/tmp/cargo-installYoAvkB/release/deps/libtime_core-7dc85c1d1df01627.rlib" "/tmp/cargo-installYoAvkB/release/deps/libline_wrap-c9116c3248a49834.rlib" "/tmp/cargo-installYoAvkB/release/deps/libsafemem-3eb45e29db1256ba.rlib" "/tmp/cargo-installYoAvkB/release/deps/libxml-eaef130bbea14d81.rlib" "/tmp/cargo-installYoAvkB/release/deps/libbase64-221a182d2404ad0b.rlib" "/tmp/cargo-installYoAvkB/release/deps/libindexmap-74a0f3e1f1e4fb84.rlib" "/tmp/cargo-installYoAvkB/release/deps/libhashbrown-27b6f2397f551030.rlib" "/tmp/cargo-installYoAvkB/release/deps/libbincode-02c134ea5ae38c26.rlib" "/tmp/cargo-installYoAvkB/release/deps/libserde-e491b81357cbe56e.rlib" "/tmp/cargo-installYoAvkB/release/deps/libstructopt-657ae542a5fac205.rlib" "/tmp/cargo-installYoAvkB/release/deps/liblazy_static-3e723a0d9ba3ed98.rlib" "/tmp/cargo-installYoAvkB/release/deps/libclap-a849e9bf98ef235e.rlib" "/tmp/cargo-installYoAvkB/release/deps/libvec_map-4dbcc9029f2191aa.rlib" "/tmp/cargo-installYoAvkB/release/deps/libtextwrap-cde29d6715ea0619.rlib" "/tmp/cargo-installYoAvkB/release/deps/libunicode_width-5c5ff0950ba8d9f6.rlib" "/tmp/cargo-installYoAvkB/release/deps/libterm_size-47a68f3d21f57fd1.rlib" "/tmp/cargo-installYoAvkB/release/deps/libstrsim-2e6ca0ae7f08634f.rlib" "/tmp/cargo-installYoAvkB/release/deps/libatty-0912bd573bf735ce.rlib" "/tmp/cargo-installYoAvkB/release/deps/libansi_term-2a26bb90deb4f9d8.rlib" "/tmp/cargo-installYoAvkB/release/deps/libimage-f1ab1342c343f9c9.rlib" "/tmp/cargo-installYoAvkB/release/deps/libbytemuck-b5404e24a3ca9797.rlib" "/tmp/cargo-installYoAvkB/release/deps/libcolor_quant-89f23bb39ff99926.rlib" "/tmp/cargo-installYoAvkB/release/deps/libpng-41a6f856fd65b34e.rlib" "/tmp/cargo-installYoAvkB/release/deps/libflate2-6ac57b6e7e2a617a.rlib" "/tmp/cargo-installYoAvkB/release/deps/libminiz_oxide-48d407c9e89d04ff.rlib" "/tmp/cargo-installYoAvkB/release/deps/libadler-9552aedbb45d1598.rlib" "/tmp/cargo-installYoAvkB/release/deps/libcrc32fast-d40df16baed5aa71.rlib" "/tmp/cargo-installYoAvkB/release/deps/libbitflags-06aa51f4326298eb.rlib" "/tmp/cargo-installYoAvkB/release/deps/libnum_rational-14e806caf19f9b3a.rlib" "/tmp/cargo-installYoAvkB/release/deps/libnum_bigint-5b98197ce4ca6221.rlib" "/tmp/cargo-installYoAvkB/release/deps/libnum_integer-346fbe0fda2d5d82.rlib" "/tmp/cargo-installYoAvkB/release/deps/libjpeg_decoder-667e04df08a3e6e0.rlib" "/tmp/cargo-installYoAvkB/release/deps/librayon-1b68e30149fc3e31.rlib" "/tmp/cargo-installYoAvkB/release/deps/librayon_core-ecca7d740bdb8192.rlib" "/tmp/cargo-installYoAvkB/release/deps/libnum_cpus-c7410ab7da06b78b.rlib" "/tmp/cargo-installYoAvkB/release/deps/liblibc-5032e441d89aa41a.rlib" "/tmp/cargo-installYoAvkB/release/deps/libcrossbeam_deque-6919af55eb962223.rlib" "/tmp/cargo-installYoAvkB/release/deps/libcrossbeam_epoch-af08596d55c49a9f.rlib" "/tmp/cargo-installYoAvkB/release/deps/libmemoffset-ff92e730c41b6f16.rlib" "/tmp/cargo-installYoAvkB/release/deps/libscopeguard-44ce19bcdeca0676.rlib" "/tmp/cargo-installYoAvkB/release/deps/libcrossbeam_channel-be99bd548d7514b2.rlib" "/tmp/cargo-installYoAvkB/release/deps/libcrossbeam_utils-b24adb5fa2bf3b21.rlib" "/tmp/cargo-installYoAvkB/release/deps/libcfg_if-e992930462a8ea8f.rlib" "/tmp/cargo-installYoAvkB/release/deps/libeither-8da8a80cadf65ff0.rlib" "/tmp/cargo-installYoAvkB/release/deps/libbyteorder-37a168072101623a.rlib" "/tmp/cargo-installYoAvkB/release/deps/libnum_traits-dc3ac4f03171321f.rlib" "/tmp/cargo-installYoAvkB/release/deps/libanyhow-4d1931f44e777084.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-05737cf45bd30456.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-9f873b61fdec9b03.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-7f13930fcac1846f.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-098633b847612f3b.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-f14b73d282b0245e.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-2c5b4433ebc1d822.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-59591a7b405fe395.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-384947c6d5f697ff.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-b08a86c6880b47a8.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-58adeee671f9ba8e.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-f156b880fc73e7f0.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-4458c5022988e1ab.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-02e61e5ec4aa9e8b.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a0d9b33b5161957b.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-04cec55a79224c36.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-3fb6d8496dc7d6a6.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-7d46c016841a97d4.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-a1f7b8b60464cc57.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-272ca28f0b8538d5.rlib" "-Wl,-Bdynamic" "-lstdc++" "-lfontconfig" "-lfreetype" "-ldl" "-lfreetype" "-lxcb" "-lxcb-render" "-lxcb-shape" "-lxcb-xfixes" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs" = note: /tmp/cargo-installYoAvkB/release/deps/libsilicon-0b6532f8b2ec3eeb.rlib(silicon-0b6532f8b2ec3eeb.silicon.ae70bacf-cgu.4.rcgu.o): In functionsilicon::font::FontCollection::layout':
silicon.ae70bacf-cgu.4:(.text._ZN7silicon4font14FontCollection6layout17h6e7f62b7c7b5081dE+0x74c): undefined reference to `hb_ft_font_create_referenced'
collect2: error: ld returned 1 exit status

= help: some extern functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the -l flag to specify native libraries to link
= note: use the cargo:rustc-link-lib directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile silicon due to previous error
error: failed to compile silicon v0.5.1, intermediate artifacts can be found at /tmp/cargo-installYoAvkB
`

@Byaidu
Copy link
Owner

Byaidu commented Dec 20, 2022

大概是哪个库的版本对不上吧,重装一下试试

@codeofgeass
Copy link
Author

大概是哪个库的版本对不上吧,重装一下试试

重装了也不行

@codeofgeass
Copy link
Author

使用的是cargo install silicon,但是会报如下错误:

error: linking with ccfailed: exit status: 1 | = note: "cc" "-m64" "/tmp/rustchuFRJs/symbols.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.0.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.1.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.10.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.11.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.12.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.13.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.14.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.15.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.2.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.3.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.4.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.5.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.6.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.7.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.8.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.silicon.8505a82d-cgu.9.rcgu.o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf.2jczg7xw0lk7kvf7.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/cargo-installYoAvkB/release/deps" "-L" "/usr/lib64" "-L" "/usr/lib64" "-L" "/tmp/cargo-installYoAvkB/release/build/harfbuzz-sys-ec99e08e2b628bb0/out" "-L" "/tmp/cargo-installYoAvkB/release/build/onig_sys-d54e9f5713b10d2d/out" "-L" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/cargo-installYoAvkB/release/deps/libenv_logger-93f2d52a8cd9631c.rlib" "/tmp/cargo-installYoAvkB/release/deps/libtermcolor-ec841bbc4169fa9c.rlib" "/tmp/cargo-installYoAvkB/release/deps/libhumantime-1a664a869acbf690.rlib" "/tmp/cargo-installYoAvkB/release/deps/libtempfile-4131d5bb64da45e9.rlib" "/tmp/cargo-installYoAvkB/release/deps/libfastrand-c0e6a5b10893d724.rlib" "/tmp/cargo-installYoAvkB/release/deps/libremove_dir_all-013c98fae9397bbe.rlib" "/tmp/cargo-installYoAvkB/release/deps/libshell_words-04299b946c33c702.rlib" "/tmp/cargo-installYoAvkB/release/deps/libsilicon-0b6532f8b2ec3eeb.rlib" "/tmp/cargo-installYoAvkB/release/deps/libdirs-a459be3140d567fb.rlib" "/tmp/cargo-installYoAvkB/release/deps/libdirs_sys-6ebaebfccd953ac4.rlib" "/tmp/cargo-installYoAvkB/release/deps/libharfbuzz_sys-d765632f39bb2e7c.rlib" "/tmp/cargo-installYoAvkB/release/deps/libimageproc-85024e352642f1c4.rlib" "/tmp/cargo-installYoAvkB/release/deps/librand_distr-e879c7706a41bcd3.rlib" "/tmp/cargo-installYoAvkB/release/deps/librand-58de9c054dbbe4e1.rlib" "/tmp/cargo-installYoAvkB/release/deps/librand_chacha-5ec7ba823490aa64.rlib" "/tmp/cargo-installYoAvkB/release/deps/libppv_lite86-c2bf136f3ed28e0a.rlib" "/tmp/cargo-installYoAvkB/release/deps/librand_core-a215150e5eed32c8.rlib" "/tmp/cargo-installYoAvkB/release/deps/libgetrandom-e8168dfea99fee1e.rlib" "/tmp/cargo-installYoAvkB/release/deps/libnalgebra-43309d563efa8210.rlib" "/tmp/cargo-installYoAvkB/release/deps/libmatrixmultiply-90e3b9a273b130a0.rlib" "/tmp/cargo-installYoAvkB/release/deps/librawpointer-7424f01a4c229d10.rlib" "/tmp/cargo-installYoAvkB/release/deps/libtypenum-358f00ec02d6e3df.rlib" "/tmp/cargo-installYoAvkB/release/deps/libsimba-85ddffe06ab660bb.rlib" "/tmp/cargo-installYoAvkB/release/deps/libwide-29e7b2ad3fe2001a.rlib" "/tmp/cargo-installYoAvkB/release/deps/libsafe_arch-95e30c2dbb4eb9c0.rlib" "/tmp/cargo-installYoAvkB/release/deps/libapprox-283fcbf4434b2434.rlib" "/tmp/cargo-installYoAvkB/release/deps/librusttype-45abf7c1a162bb5e.rlib" "/tmp/cargo-installYoAvkB/release/deps/libab_glyph_rasterizer-39cc2c015b1f1c32.rlib" "/tmp/cargo-installYoAvkB/release/deps/libowned_ttf_parser-b62eafb2bb92ba33.rlib" "/tmp/cargo-installYoAvkB/release/deps/libttf_parser-3fcc937725971dfe.rlib" "/tmp/cargo-installYoAvkB/release/deps/libnum-0ab8700edaac115a.rlib" "/tmp/cargo-installYoAvkB/release/deps/libnum_iter-6e2070d4f484ee2d.rlib" "/tmp/cargo-installYoAvkB/release/deps/libnum_complex-48d6c6b799370f58.rlib" "/tmp/cargo-installYoAvkB/release/deps/libitertools-f8c522bed8bb4ee7.rlib" "/tmp/cargo-installYoAvkB/release/deps/libconv-d96cc8dcbc0319fa.rlib" "/tmp/cargo-installYoAvkB/release/deps/libcustom_derive-d6860005abcdb551.rlib" "/tmp/cargo-installYoAvkB/release/deps/libfont_kit-0b6db4ede81e5720.rlib" "/tmp/cargo-installYoAvkB/release/deps/libfloat_ord-2c31f04adecae2bb.rlib" "/tmp/cargo-installYoAvkB/release/deps/libdirs_next-e4beefa5426a75a0.rlib" "/tmp/cargo-installYoAvkB/release/deps/libdirs_sys_next-a64b460cd4bf8797.rlib" "/tmp/cargo-installYoAvkB/release/deps/libfontconfig_sys-82753bf61eb1552f.rlib" "/tmp/cargo-installYoAvkB/release/deps/libdlib-e0b13b416b5b89d1.rlib" "/tmp/cargo-installYoAvkB/release/deps/liblibloading-3f2caa262c7bdbc8.rlib" "/tmp/cargo-installYoAvkB/release/deps/libconst_cstr-9f8469a15344b9ed.rlib" "/tmp/cargo-installYoAvkB/release/deps/libfreetype-45494708eab05aeb.rlib" "/tmp/cargo-installYoAvkB/release/deps/libfreetype_sys-57a92e7915b7f4a6.rlib" "/tmp/cargo-installYoAvkB/release/deps/libpathfinder_geometry-4886855f5a4d1458.rlib" "/tmp/cargo-installYoAvkB/release/deps/libpathfinder_simd-c942f48b2edd8a97.rlib" "/tmp/cargo-installYoAvkB/release/deps/libclipboard-d21a7c79545357f4.rlib" "/tmp/cargo-installYoAvkB/release/deps/libx11_clipboard-072aacb6d3ac9f48.rlib" "/tmp/cargo-installYoAvkB/release/deps/libxcb-efb3bf2dbf5ada5d.rlib" "/tmp/cargo-installYoAvkB/release/deps/liblog-bff571ca34590620.rlib" "/tmp/cargo-installYoAvkB/release/deps/libsyntect-bd4ffe9fbebdbb24.rlib" "/tmp/cargo-installYoAvkB/release/deps/libthiserror-34aa89f0ef3e6cc5.rlib" "/tmp/cargo-installYoAvkB/release/deps/libwalkdir-961a996d6ec5ce94.rlib" "/tmp/cargo-installYoAvkB/release/deps/libsame_file-3855c1dcbc66439c.rlib" "/tmp/cargo-installYoAvkB/release/deps/libonig-1d72ee8cf9e63c63.rlib" "/tmp/cargo-installYoAvkB/release/deps/libonig_sys-d9650cf60e7d7ee0.rlib" "/tmp/cargo-installYoAvkB/release/deps/libyaml_rust-33b60781755e2d57.rlib" "/tmp/cargo-installYoAvkB/release/deps/liblinked_hash_map-ee01c133f68fe9fa.rlib" "/tmp/cargo-installYoAvkB/release/deps/libonce_cell-b4df9561ab6b1506.rlib" "/tmp/cargo-installYoAvkB/release/deps/libregex_syntax-c73e2ff9e4cb1271.rlib" "/tmp/cargo-installYoAvkB/release/deps/libfnv-c17a4df6d94b476d.rlib" "/tmp/cargo-installYoAvkB/release/deps/libserde_json-5bb06ba4ab0159be.rlib" "/tmp/cargo-installYoAvkB/release/deps/libryu-88258a19faa64566.rlib" "/tmp/cargo-installYoAvkB/release/deps/libplist-21c9a2f7dcd74011.rlib" "/tmp/cargo-installYoAvkB/release/deps/libtime-f66af65c30498d65.rlib" "/tmp/cargo-installYoAvkB/release/deps/libitoa-90093fe851f07a5b.rlib" "/tmp/cargo-installYoAvkB/release/deps/libtime_core-7dc85c1d1df01627.rlib" "/tmp/cargo-installYoAvkB/release/deps/libline_wrap-c9116c3248a49834.rlib" "/tmp/cargo-installYoAvkB/release/deps/libsafemem-3eb45e29db1256ba.rlib" "/tmp/cargo-installYoAvkB/release/deps/libxml-eaef130bbea14d81.rlib" "/tmp/cargo-installYoAvkB/release/deps/libbase64-221a182d2404ad0b.rlib" "/tmp/cargo-installYoAvkB/release/deps/libindexmap-74a0f3e1f1e4fb84.rlib" "/tmp/cargo-installYoAvkB/release/deps/libhashbrown-27b6f2397f551030.rlib" "/tmp/cargo-installYoAvkB/release/deps/libbincode-02c134ea5ae38c26.rlib" "/tmp/cargo-installYoAvkB/release/deps/libserde-e491b81357cbe56e.rlib" "/tmp/cargo-installYoAvkB/release/deps/libstructopt-657ae542a5fac205.rlib" "/tmp/cargo-installYoAvkB/release/deps/liblazy_static-3e723a0d9ba3ed98.rlib" "/tmp/cargo-installYoAvkB/release/deps/libclap-a849e9bf98ef235e.rlib" "/tmp/cargo-installYoAvkB/release/deps/libvec_map-4dbcc9029f2191aa.rlib" "/tmp/cargo-installYoAvkB/release/deps/libtextwrap-cde29d6715ea0619.rlib" "/tmp/cargo-installYoAvkB/release/deps/libunicode_width-5c5ff0950ba8d9f6.rlib" "/tmp/cargo-installYoAvkB/release/deps/libterm_size-47a68f3d21f57fd1.rlib" "/tmp/cargo-installYoAvkB/release/deps/libstrsim-2e6ca0ae7f08634f.rlib" "/tmp/cargo-installYoAvkB/release/deps/libatty-0912bd573bf735ce.rlib" "/tmp/cargo-installYoAvkB/release/deps/libansi_term-2a26bb90deb4f9d8.rlib" "/tmp/cargo-installYoAvkB/release/deps/libimage-f1ab1342c343f9c9.rlib" "/tmp/cargo-installYoAvkB/release/deps/libbytemuck-b5404e24a3ca9797.rlib" "/tmp/cargo-installYoAvkB/release/deps/libcolor_quant-89f23bb39ff99926.rlib" "/tmp/cargo-installYoAvkB/release/deps/libpng-41a6f856fd65b34e.rlib" "/tmp/cargo-installYoAvkB/release/deps/libflate2-6ac57b6e7e2a617a.rlib" "/tmp/cargo-installYoAvkB/release/deps/libminiz_oxide-48d407c9e89d04ff.rlib" "/tmp/cargo-installYoAvkB/release/deps/libadler-9552aedbb45d1598.rlib" "/tmp/cargo-installYoAvkB/release/deps/libcrc32fast-d40df16baed5aa71.rlib" "/tmp/cargo-installYoAvkB/release/deps/libbitflags-06aa51f4326298eb.rlib" "/tmp/cargo-installYoAvkB/release/deps/libnum_rational-14e806caf19f9b3a.rlib" "/tmp/cargo-installYoAvkB/release/deps/libnum_bigint-5b98197ce4ca6221.rlib" "/tmp/cargo-installYoAvkB/release/deps/libnum_integer-346fbe0fda2d5d82.rlib" "/tmp/cargo-installYoAvkB/release/deps/libjpeg_decoder-667e04df08a3e6e0.rlib" "/tmp/cargo-installYoAvkB/release/deps/librayon-1b68e30149fc3e31.rlib" "/tmp/cargo-installYoAvkB/release/deps/librayon_core-ecca7d740bdb8192.rlib" "/tmp/cargo-installYoAvkB/release/deps/libnum_cpus-c7410ab7da06b78b.rlib" "/tmp/cargo-installYoAvkB/release/deps/liblibc-5032e441d89aa41a.rlib" "/tmp/cargo-installYoAvkB/release/deps/libcrossbeam_deque-6919af55eb962223.rlib" "/tmp/cargo-installYoAvkB/release/deps/libcrossbeam_epoch-af08596d55c49a9f.rlib" "/tmp/cargo-installYoAvkB/release/deps/libmemoffset-ff92e730c41b6f16.rlib" "/tmp/cargo-installYoAvkB/release/deps/libscopeguard-44ce19bcdeca0676.rlib" "/tmp/cargo-installYoAvkB/release/deps/libcrossbeam_channel-be99bd548d7514b2.rlib" "/tmp/cargo-installYoAvkB/release/deps/libcrossbeam_utils-b24adb5fa2bf3b21.rlib" "/tmp/cargo-installYoAvkB/release/deps/libcfg_if-e992930462a8ea8f.rlib" "/tmp/cargo-installYoAvkB/release/deps/libeither-8da8a80cadf65ff0.rlib" "/tmp/cargo-installYoAvkB/release/deps/libbyteorder-37a168072101623a.rlib" "/tmp/cargo-installYoAvkB/release/deps/libnum_traits-dc3ac4f03171321f.rlib" "/tmp/cargo-installYoAvkB/release/deps/libanyhow-4d1931f44e777084.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-05737cf45bd30456.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-9f873b61fdec9b03.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-7f13930fcac1846f.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-098633b847612f3b.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-f14b73d282b0245e.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-2c5b4433ebc1d822.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-59591a7b405fe395.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-384947c6d5f697ff.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-b08a86c6880b47a8.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-58adeee671f9ba8e.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-f156b880fc73e7f0.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-4458c5022988e1ab.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-02e61e5ec4aa9e8b.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a0d9b33b5161957b.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-04cec55a79224c36.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-3fb6d8496dc7d6a6.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-7d46c016841a97d4.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-a1f7b8b60464cc57.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-272ca28f0b8538d5.rlib" "-Wl,-Bdynamic" "-lstdc++" "-lfontconfig" "-lfreetype" "-ldl" "-lfreetype" "-lxcb" "-lxcb-render" "-lxcb-shape" "-lxcb-xfixes" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/cargo-installYoAvkB/release/deps/silicon-6b3516bbaed07ecf" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs" = note: /tmp/cargo-installYoAvkB/release/deps/libsilicon-0b6532f8b2ec3eeb.rlib(silicon-0b6532f8b2ec3eeb.silicon.ae70bacf-cgu.4.rcgu.o): In functionsilicon::font::FontCollection::layout': silicon.ae70bacf-cgu.4:(.text._ZN7silicon4font14FontCollection6layout17h6e7f62b7c7b5081dE+0x74c): undefined reference to `hb_ft_font_create_referenced' collect2: error: ld returned 1 exit status

= help: some extern functions couldn't be found; some native libraries may need to be installed or have their path specified = note: use the -l flag to specify native libraries to link = note: use the cargo:rustc-link-lib directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile silicon due to previous error error: failed to compile silicon v0.5.1, intermediate artifacts can be found at /tmp/cargo-installYoAvkB `

顺带一提我的系统是centos8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants