[compile fail] Undefined symbols for architecture x86_64: "_ggml_graph_plan", referenced from: ggml::GraphExecutionPlan:: new ::h19443c1d77cb997e in libggml-a3125eb72f014293.rlib(ggml-a3125eb72f014293.ggml.9c60abbf9368402d-cgu.1.rcgu.o)
twardoch opened this issue · comments
On 2023-07-26, I’m doing:
$ sysctl -n machdep.cpu.brand_string
Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
$ system_profiler SPHardwareDataType | grep "Model Identifier"
Model Identifier: MacBookPro16,1
$ sw_vers -productVersion
13.4.1
$ rustc --version
rustc 1.71.0 (8ede3aae2 2023-07-12)
$ $ rustup default
stable-x86_64-apple-darwin (default)
Now I’m doing:
git pull && rustup update && cargo update && cargo build --release
and I get:
Compiling libc v0.2.147
Compiling cfg-if v1.0.0
(...)
Compiling zstd v0.11.2+zstd.1.5.2
Compiling zip v0.6.6
Compiling cached-path v0.6.1
Compiling tokenizers v0.13.3
Compiling llm-base v0.2.0-dev (./llm/crates/llm-base)
Compiling llm-gptneox v0.2.0-dev (./llm/crates/models/gptneox)
Compiling llm-gpt2 v0.2.0-dev (./llm/crates/models/gpt2)
Compiling llm-bloom v0.2.0-dev (./llm/crates/models/bloom)
Compiling llm-llama v0.2.0-dev (./llm/crates/models/llama)
Compiling llm-gptj v0.2.0-dev (./llm/crates/models/gptj)
Compiling llm-mpt v0.2.0-dev (./llm/crates/models/mpt)
Compiling llm v0.2.0-dev (./llm/crates/llm)
Compiling llm-cli v0.2.0-dev (./llm/binaries/llm-cli)
error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/bin:/usr/local/opt/openjdk/bin:/usr/local/anaconda3/condabin:~/bin/google-cloud-sdk/bin:~/.aliases.d/shims:/usr/local/opt/ruby/bin:~/.npm-packages/bin:/opt/local/bin:/opt/local/sbin:/usr/local/sbin:~/bin/bleualign:/usr/local/opt/apr/bin:/usr/local/opt/curl/bin:/usr/local/opt/gnu-getopt/bin:/usr/local/opt/unzip/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/libxml2/bin:/usr/local/opt/libiconv/bin:/usr/local/opt/icu4c/sbin:/usr/local/opt/icu4c/bin:/usr/local/opt/gpg-agent/bin:/usr/local/opt/gnu-getopt/bin:/usr/local/opt/gettext/bin:/usr/local/opt/dirmngr/bin:/usr/local/opt/curl/bin:/usr/local/opt/bison/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/share/dotnet:/opt/X11/bin:~/.dotnet/tools:/Library/Apple/usr/bin://Applications/Topaz Photo AI.app/Contents/Resources/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Applications/iTerm.app/Contents/Resources/utilities:~/bin:~/bin/myfonts:~/bin/mti:~/bin/pdftron:~/bin/fontlab:~/go/bin:~/.cargo/bin:/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/bin:~/.composer/vendor/bin:/Library/TeX/texbin:~/.local/bin:~/bin/python:~/Library/Python/3.11/bin:~/Library/Python/2.7/bin:/usr/local/lib/ruby/gems/3.2.0/bin:~/.local/bin:/Applications/010 Editor.app/Contents/CmdLine" VSLANG="1033" ZERO_AR_DATE="1" "cc" "-arch" "x86_64" "-m64" "/var/folders/05/clcynl0509ldxltl599hhhx40000gn/T/rustc3cHywH/symbols.o" "./llm/target/release/deps/llm-bf7c1ad9811be413.llm.bb1392fea21afdc1-cgu.0.rcgu.o" "./llm/target/release/deps/llm-bf7c1ad9811be413.llm.bb1392fea21afdc1-cgu.1.rcgu.o" "./llm/target/release/deps/llm-bf7c1ad9811be413.llm.bb1392fea21afdc1-cgu.10.rcgu.o" "./llm/target/release/deps/llm-bf7c1ad9811be413.llm.bb1392fea21afdc1-cgu.11.rcgu.o" "./llm/target/release/deps/llm-bf7c1ad9811be413.llm.bb1392fea21afdc1-cgu.12.rcgu.o" "./llm/target/release/deps/llm-bf7c1ad9811be413.llm.bb1392fea21afdc1-cgu.13.rcgu.o" "./llm/target/release/deps/llm-bf7c1ad9811be413.llm.bb1392fea21afdc1-cgu.14.rcgu.o" "./llm/target/release/deps/llm-bf7c1ad9811be413.llm.bb1392fea21afdc1-cgu.15.rcgu.o" "./llm/target/release/deps/llm-bf7c1ad9811be413.llm.bb1392fea21afdc1-cgu.2.rcgu.o" "./llm/target/release/deps/llm-bf7c1ad9811be413.llm.bb1392fea21afdc1-cgu.3.rcgu.o" "./llm/target/release/deps/llm-bf7c1ad9811be413.llm.bb1392fea21afdc1-cgu.4.rcgu.o" "./llm/target/release/deps/llm-bf7c1ad9811be413.llm.bb1392fea21afdc1-cgu.5.rcgu.o" "./llm/target/release/deps/llm-bf7c1ad9811be413.llm.bb1392fea21afdc1-cgu.6.rcgu.o" "./llm/target/release/deps/llm-bf7c1ad9811be413.llm.bb1392fea21afdc1-cgu.7.rcgu.o" "./llm/target/release/deps/llm-bf7c1ad9811be413.llm.bb1392fea21afdc1-cgu.8.rcgu.o" "./llm/target/release/deps/llm-bf7c1ad9811be413.llm.bb1392fea21afdc1-cgu.9.rcgu.o" "./llm/target/release/deps/llm-bf7c1ad9811be413.28b22bz0tm6pw8er.rcgu.o" "-L" "./llm/target/release/deps" "-L" "./llm/target/release/build/ggml-sys-ab3b67dbbab560e4/out" "-L" "./llm/target/release/build/bzip2-sys-6f57bf8f8a5035ef/out/lib" "-L" "./llm/target/release/build/zstd-sys-c3afd6bb1b6b715d/out" "-L" "./llm/target/release/build/onig_sys-8c7ef7efcb4ea7c5/out" "-L" "~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "./llm/target/release/deps/libtracing_subscriber-ca3584cbe04a1f59.rlib" "./llm/target/release/deps/libnu_ansi_term-39e4108c99574d4b.rlib" "./llm/target/release/deps/liboverload-5f5316c7c445f4d0.rlib" "./llm/target/release/deps/libsharded_slab-76a7a61f88d808a4.rlib" "./llm/target/release/deps/libmatchers-1700cf82bb40f7d3.rlib" "./llm/target/release/deps/libregex_automata-b6d4741af0a2b2be.rlib" "./llm/target/release/deps/libregex_syntax-e698a3f549a51007.rlib" "./llm/target/release/deps/libthread_local-a470ff003fc7eeb9.rlib" "./llm/target/release/deps/libtracing_log-83480fc067340340.rlib" "./llm/target/release/deps/libbincode-83b2cb43986446b2.rlib" "./llm/target/release/deps/libbytesize-0404a99130915ce6.rlib" "./llm/target/release/deps/libspinoff-0eaf3af44581060b.rlib" "./llm/target/release/deps/libcolored-c7fdebac2beffcd7.rlib" "./llm/target/release/deps/libzstd-450a16b01c212fee.rlib" "./llm/target/release/deps/libzstd_safe-2e7c0f6baab75c8c.rlib" "./llm/target/release/deps/librustyline-0fd1732315cef4e1.rlib" "./llm/target/release/deps/libnix-ab735c3744eaa222.rlib" "./llm/target/release/deps/libfd_lock-3c2fc671baca64a0.rlib" "./llm/target/release/deps/libunicode_width-64f9c2730300b42e.rlib" "./llm/target/release/deps/libdirs_next-54707734e1459c8e.rlib" "./llm/target/release/deps/libdirs_sys_next-22cc517a1bdb1426.rlib" "./llm/target/release/deps/libradix_trie-872093da13b6acfd.rlib" "./llm/target/release/deps/libnibble_vec-2eb49b312bd40e57.rlib" "./llm/target/release/deps/libendian_type-099b4a196d334d2d.rlib" "./llm/target/release/deps/libllm-8ca6ded617f56a73.rlib" "./llm/target/release/deps/libllm_mpt-2acc073a9a2c1009.rlib" "./llm/target/release/deps/libllm_llama-98652d608321a710.rlib" "./llm/target/release/deps/libllm_gptneox-5f52666e9588314f.rlib" "./llm/target/release/deps/libllm_gptj-1e779f948e94c3b1.rlib" "./llm/target/release/deps/libllm_gpt2-17aaffa05b0cc63c.rlib" "./llm/target/release/deps/libllm_bloom-59e2c40034768683.rlib" "./llm/target/release/deps/libllm_base-ef7e5d95e46e8f54.rlib" "./llm/target/release/deps/libtokenizers-c092bbefac1c8b99.rlib" "./llm/target/release/deps/libesaxx_rs-1e7a1453c707fa7a.rlib" "./llm/target/release/deps/libdirs-ec9fcbc44ac8e687.rlib" "./llm/target/release/deps/libdirs_sys-077861d8b6058f13.rlib" "./llm/target/release/deps/libaho_corasick-ef3b872f2b34dc7c.rlib" "./llm/target/release/deps/libunicode_normalization_alignments-939700ee4a8b2718.rlib" "./llm/target/release/deps/libsmallvec-a420e99635aa9755.rlib" "./llm/target/release/deps/libspm_precompiled-42f048fea94c92c5.rlib" "./llm/target/release/deps/libbase64-0860b35f61256767.rlib" "./llm/target/release/deps/libunicode_segmentation-445f4d8b93669a29.rlib" "./llm/target/release/deps/libnom-0b2a1984e8d82521.rlib" "./llm/target/release/deps/libunicode_categories-1394c195c40cf23b.rlib" "./llm/target/release/deps/libmonostate-5743147bb599bff5.rlib" "./llm/target/release/deps/libmacro_rules_attribute-74ffd01118b3c4e1.rlib" "./llm/target/release/deps/librayon_cond-146a302e2fef2093.rlib" "./llm/target/release/deps/libitertools-cee2bdd1e6b90003.rlib" "./llm/target/release/deps/librayon-4c49585b8d07f2ee.rlib" "./llm/target/release/deps/librayon_core-d93436ad6f574404.rlib" "./llm/target/release/deps/libcrossbeam_deque-5378504febfb129c.rlib" "./llm/target/release/deps/libcrossbeam_epoch-cbb4b02b52ba42f2.rlib" "./llm/target/release/deps/libmemoffset-f43c1e0a01eacd84.rlib" "./llm/target/release/deps/libscopeguard-d5dfaeb9c943c3e7.rlib" "./llm/target/release/deps/libcrossbeam_channel-ffcc8d728aa18b24.rlib" "./llm/target/release/deps/libcrossbeam_utils-6696d5c7a0f65dbc.rlib" "./llm/target/release/deps/libonig-d6522aee5eec488d.rlib" "./llm/target/release/deps/libonig_sys-fb836bd42a2ff850.rlib" "./llm/target/release/deps/libitertools-56932dae707efbc7.rlib" "./llm/target/release/deps/libeither-6fdab93221fa79bb.rlib" "./llm/target/release/deps/libcached_path-5de35b4b2194069c.rlib" "./llm/target/release/deps/libindicatif-7fa4cda499a300f0.rlib" "./llm/target/release/deps/libconsole-add3da02519eb39f.rlib" "./llm/target/release/deps/libnumber_prefix-5c05dfbabef411ec.rlib" "./llm/target/release/deps/libserde_json-c7174bdc319d545a.rlib" "./llm/target/release/deps/libzip-d818ef9340e9f6cd.rlib" "./llm/target/release/deps/libpbkdf2-870833d7929d40d0.rlib" "./llm/target/release/deps/libpassword_hash-80887ec458256135.rlib" "./llm/target/release/deps/libbase64ct-231bc06df6855333.rlib" "./llm/target/release/deps/libtime-e3104c290b234789.rlib" "./llm/target/release/deps/libtime_core-28ff294bd1eac995.rlib" "./llm/target/release/deps/libzstd-62d7db50e2cc4374.rlib" "./llm/target/release/deps/libzstd_safe-0611f645fc5ed6e6.rlib" "./llm/target/release/deps/libzstd_sys-48b7858c556f37ee.rlib" "./llm/target/release/deps/libbzip2-023d6ca81b7b3537.rlib" "./llm/target/release/deps/libbzip2_sys-d7b43e8c3978f52f.rlib" "./llm/target/release/deps/libbyteorder-4c197b872f792eb7.rlib" "./llm/target/release/deps/libaes-9989e2f509d3ecee.rlib" "./llm/target/release/deps/libcipher-76c8199f5aff1486.rlib" "./llm/target/release/deps/libinout-bb3df3a8a8da874e.rlib" "./llm/target/release/deps/libsha1-927196bb334fd557.rlib" "./llm/target/release/deps/libhmac-578e0275f2493cfc.rlib" "./llm/target/release/deps/libconstant_time_eq-f90224f5c15a528b.rlib" "./llm/target/release/deps/libtar-bf4e94e20dcd52e3.rlib" "./llm/target/release/deps/libxattr-78c1b12239dba3e0.rlib" "./llm/target/release/deps/libfiletime-c00884b38ba3ff2f.rlib" "./llm/target/release/deps/libsha2-636ea0c8b64e9562.rlib" "./llm/target/release/deps/libcpufeatures-89723a525c3e4100.rlib" "./llm/target/release/deps/libdigest-997db7cf7cf79f14.rlib" "./llm/target/release/deps/libsubtle-e6a117c79899cc51.rlib" "./llm/target/release/deps/libblock_buffer-531c75504018b4ec.rlib" "./llm/target/release/deps/libcrypto_common-51008a65ac727a83.rlib" "./llm/target/release/deps/libgeneric_array-24dd1c5040371c4f.rlib" "./llm/target/release/deps/libtypenum-628a6ec8c54f0a3b.rlib" "./llm/target/release/deps/libreqwest-4bffd9047ba5eb01.rlib" "./llm/target/release/deps/libhyper_tls-22b496901d859265.rlib" "./llm/target/release/deps/libbase64-84392fefed07bdcd.rlib" "./llm/target/release/deps/libipnet-8b690e876a4ac84c.rlib" "./llm/target/release/deps/libtokio_native_tls-2bacdb35c0472e39.rlib" "./llm/target/release/deps/libserde_urlencoded-3628c5e91bff6c8d.rlib" "./llm/target/release/deps/libryu-f747a12eb6b31f24.rlib" "./llm/target/release/deps/libmime-d78922e12876e6be.rlib" "./llm/target/release/deps/libencoding_rs-1b1dfe51611f96f2.rlib" "./llm/target/release/deps/libnative_tls-293fb355aba3136e.rlib" "./llm/target/release/deps/libsecurity_framework-2b441e0414663ae6.rlib" "./llm/target/release/deps/libbitflags-30fe07c3074047e2.rlib" "./llm/target/release/deps/libsecurity_framework_sys-263af81aae56270f.rlib" "./llm/target/release/deps/libcore_foundation-b6e24abaee4e7edf.rlib" "./llm/target/release/deps/libcore_foundation_sys-25eb111bcb2cb15c.rlib" "./llm/target/release/deps/libhyper-12c5c8ffc6a0e1fd.rlib" "./llm/target/release/deps/libwant-c78ee976ede0b798.rlib" "./llm/target/release/deps/libtry_lock-beca6dc3a961fc9f.rlib" "./llm/target/release/deps/libhttparse-2d32cf40994028f4.rlib" "./llm/target/release/deps/libh2-fa5b067f25328533.rlib" "./llm/target/release/deps/libindexmap-9ec0e9bf83cd92ae.rlib" "./llm/target/release/deps/libhashbrown-51608a4683079080.rlib" "./llm/target/release/deps/libtokio_util-c726ef51911f15ef.rlib" "./llm/target/release/deps/libfutures_sink-9a08f71578669bc8.rlib" "./llm/target/release/deps/libtower_service-a78a8043dcc71d49.rlib" "./llm/target/release/deps/libfutures_channel-fa1bbc2c141997ed.rlib" "./llm/target/release/deps/libtokio-540eb4ce176800d0.rlib" "./llm/target/release/deps/libnum_cpus-183baf701337dcb7.rlib" "./llm/target/release/deps/libsocket2-0956e059a2c305b1.rlib" "./llm/target/release/deps/libmio-15ce1902db144993.rlib" "./llm/target/release/deps/libhttp_body-8d408076028420cd.rlib" "./llm/target/release/deps/libfutures_util-cc070fcb140a5759.rlib" "./llm/target/release/deps/libfutures_io-fc319dccba11712b.rlib" "./llm/target/release/deps/libslab-9e3db13deeda5c44.rlib" "./llm/target/release/deps/libfutures_task-98843d160aa24f47.rlib" "./llm/target/release/deps/libpin_utils-a67577324dab2b82.rlib" "./llm/target/release/deps/libfutures_core-0934c31380b4cb87.rlib" "./llm/target/release/deps/liburl-cbd14720faafa79e.rlib" "./llm/target/release/deps/libidna-36f336589afd0eca.rlib" "./llm/target/release/deps/libunicode_normalization-d0d82a8ce2cf5e5c.rlib" "./llm/target/release/deps/libtinyvec-b8a4ba9848e9cd75.rlib" "./llm/target/release/deps/libtinyvec_macros-9514286e07ca7c3d.rlib" "./llm/target/release/deps/libunicode_bidi-ffbaca6ed57efe2c.rlib" "./llm/target/release/deps/libform_urlencoded-43daf9e94aa059cd.rlib" "./llm/target/release/deps/libpercent_encoding-a3aa9b77c1985709.rlib" "./llm/target/release/deps/libhttp-a5c3f84dbdf89979.rlib" "./llm/target/release/deps/libitoa-ab9d2416416cef56.rlib" "./llm/target/release/deps/libbytes-c01c52f4fe156b3b.rlib" "./llm/target/release/deps/libfnv-5f0ceeffc82368c6.rlib" "./llm/target/release/deps/libglob-1b51b10a9a8f698b.rlib" "./llm/target/release/deps/libfs2-a4704dcef0ec1b74.rlib" "./llm/target/release/deps/libtempfile-05fdbec7172ad1eb.rlib" "./llm/target/release/deps/libfastrand-aecb236923b03aa0.rlib" "./llm/target/release/deps/libflate2-0517f330a4f0cd79.rlib" "./llm/target/release/deps/libminiz_oxide-fb1ee478d8bda7c7.rlib" "./llm/target/release/deps/libadler-be1a88b582773eb9.rlib" "./llm/target/release/deps/libcrc32fast-cd75ea34af1a4353.rlib" "./llm/target/release/deps/libderive_builder-6018e07aba6504d8.rlib" "./llm/target/release/deps/liblazy_static-036f68b50add1004.rlib" "./llm/target/release/deps/libserde_bytes-e16a21016b562e75.rlib" "./llm/target/release/deps/libbytemuck-1bd478366b04d70a.rlib" "./llm/target/release/deps/librand-bbf9367bf5471f9e.rlib" "./llm/target/release/deps/librand_chacha-affa02e6d401aaab.rlib" "./llm/target/release/deps/libppv_lite86-b6926bccf55413e7.rlib" "./llm/target/release/deps/librand_core-38cf11a15b3216cf.rlib" "./llm/target/release/deps/libgetrandom-c8d4c271660e308c.rlib" "./llm/target/release/deps/libpartial_sort-879b0c5d2f58b0ff.rlib" "./llm/target/release/deps/libregex-351cd9d6f8098749.rlib" "./llm/target/release/deps/libregex_automata-96a50458917af6d7.rlib" "./llm/target/release/deps/libaho_corasick-1f3e4274bbca6613.rlib" "./llm/target/release/deps/libregex_syntax-e9f6b236428e0d37.rlib" "./llm/target/release/deps/libhalf-692505e68e17a6ff.rlib" "./llm/target/release/deps/libtracing-88d88450f017ec33.rlib" "./llm/target/release/deps/liblog-30d51305b5a35250.rlib" "./llm/target/release/deps/libpin_project_lite-bef5248fceb5a09e.rlib" "./llm/target/release/deps/libtracing_core-9ad0770de9ba4f57.rlib" "./llm/target/release/deps/libserde-83d3ab19aa05cbe1.rlib" "./llm/target/release/deps/libggml-a3125eb72f014293.rlib" "./llm/target/release/deps/libthiserror-1ec66d12b24db936.rlib" "./llm/target/release/deps/libggml_sys-e00e244b916182d5.rlib" "./llm/target/release/deps/libmemmap2-8e2b1d6cf47d4ef0.rlib" "./llm/target/release/deps/libcolor_eyre-b7536f1f399cb62b.rlib" "./llm/target/release/deps/libowo_colors-0921774246d2d75b.rlib" "./llm/target/release/deps/libeyre-e23b9433d471ba5e.rlib" "./llm/target/release/deps/libindenter-37730e4b265b44b5.rlib" "./llm/target/release/deps/libbacktrace-fa2685fd40a072d4.rlib" "./llm/target/release/deps/libobject-27e5f7bf7de52f95.rlib" "./llm/target/release/deps/libmemchr-30513f3f385e11e4.rlib" "./llm/target/release/deps/libaddr2line-39172ca8281acce2.rlib" "./llm/target/release/deps/libgimli-de53d5aebcd9ea20.rlib" "./llm/target/release/deps/libcfg_if-e910cb0147ac840d.rlib" "./llm/target/release/deps/librustc_demangle-c7e329482067c232.rlib" "./llm/target/release/deps/libclap-4dbf46666a720e66.rlib" "./llm/target/release/deps/libonce_cell-830ce2fb227d3dec.rlib" "./llm/target/release/deps/libclap_builder-24cef7c363a82a1f.rlib" "./llm/target/release/deps/libstrsim-6c93950ff7b485e7.rlib" "./llm/target/release/deps/libanstream-db0a9da51e78d323.rlib" "./llm/target/release/deps/libanstyle_query-99afadee521a61d8.rlib" "./llm/target/release/deps/libis_terminal-aecc2b81c7990b5c.rlib" "./llm/target/release/deps/librustix-e97f54070023d6a4.rlib" "./llm/target/release/deps/libbitflags-6ec6de8306a68119.rlib" "./llm/target/release/deps/liberrno-657b274f6fff2220.rlib" "./llm/target/release/deps/liblibc-3339c1193f945c32.rlib" "./llm/target/release/deps/libcolorchoice-03584d035765cc1e.rlib" "./llm/target/release/deps/libanstyle_parse-ca72bb0419d7d68d.rlib" "./llm/target/release/deps/libutf8parse-0b1ce9326a07b549.rlib" "./llm/target/release/deps/libclap_lex-0b9ff8810896daa1.rlib" "./llm/target/release/deps/libanstyle-65ea13a07cdfedc5.rlib" "~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-6624200dfedfc052.rlib" "~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-126fc802ec161823.rlib" "~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libobject-43f8e2f299c70565.rlib" "~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libmemchr-902b9cb59cf0e7dc.rlib" "~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libaddr2line-551696919ea5a0ce.rlib" "~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libgimli-665ed3f7d67b8bed.rlib" "~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-e481ebd1a38e61b5.rlib" "~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd_detect-94cd52f09bdeb366.rlib" "~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-8af4befc2eeae01c.rlib" "~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-bb2a564ae6dbf36e.rlib" "~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libminiz_oxide-50af747198c2d5e6.rlib" "~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libadler-9941ce975025e581.rlib" "~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-699b85f808fe3146.rlib" "~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcfg_if-bb20fb5f7f95cc4e.rlib" "~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-6a91feb4c72083b2.rlib" "~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-51440ec7093ee569.rlib" "~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-0844b1adb4747323.rlib" "~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-824b50d5d74d440c.rlib" "~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-869678be6be78072.rlib" "-framework" "Security" "-framework" "CoreFoundation" "-framework" "Accelerate" "-liconv" "-lSystem" "-lc" "-lm" "-L" "~/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "-o" "./llm/target/release/deps/llm-bf7c1ad9811be413" "-Wl,-dead_strip" "-nodefaultlibs"
= note: Undefined symbols for architecture x86_64:
"_ggml_graph_plan", referenced from:
ggml::GraphExecutionPlan::new::h19443c1d77cb997e in libggml-a3125eb72f014293.rlib(ggml-a3125eb72f014293.ggml.9c60abbf9368402d-cgu.1.rcgu.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: could not compile `llm-cli` (bin "llm") due to previous error
~/Developer/llm/llm
OK, actually:
git pull && git submodule update --remote --merge && rustup update && cargo update && cargo build --release --features=metal
did fix it :)