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

Could not find native static library aom #1

Open
slevytam opened this issue Mar 21, 2022 · 0 comments
Open

Could not find native static library aom #1

slevytam opened this issue Mar 21, 2022 · 0 comments

Comments

@slevytam
Copy link

I'm getting a build error on step 44/49 with cargo. Any suggestions on how to resolve? Thanks!


Compiling avif-parse v1.0.0
Running rustc --crate-name avif_parse --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/avif-parse-0.13.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type rlib --crate-type staticlib --emit=dep-info,link -C opt-level=3 -C metadata=5c41c6aa7954f664 -C extra-filename=-5c41c6aa7954f664 --out-dir /tmp/cargo-install1GXzyx/release/deps -L dependency=/tmp/cargo-install1GXzyx/release/deps --extern bitreader=/tmp/cargo-install1GXzyx/release/deps/libbitreader-1cd8028479e190b1.rlib --extern byteorder=/tmp/cargo-install1GXzyx/release/deps/libbyteorder-02f9d1bc36a0d264.rlib --extern fallible_collections=/tmp/cargo-install1GXzyx/release/deps/libfallible_collections-b2faafb19757c977.rlib --extern log=/tmp/cargo-install1GXzyx/release/deps/liblog-1ccbd75b16afa013.rlib --extern static_assertions=/tmp/cargo-install1GXzyx/release/deps/libstatic_assertions-e4bac5f80adaba15.rlib --cap-lints allow
Running rustc --crate-name avif_parse --edition=2021 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/avif-parse-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type rlib --crate-type staticlib --emit=dep-info,link -C opt-level=3 -C metadata=4dc4d2fc6a283bd2 -C extra-filename=-4dc4d2fc6a283bd2 --out-dir /tmp/cargo-install1GXzyx/release/deps -L dependency=/tmp/cargo-install1GXzyx/release/deps --extern bitreader=/tmp/cargo-install1GXzyx/release/deps/libbitreader-1cd8028479e190b1.rlib --extern byteorder=/tmp/cargo-install1GXzyx/release/deps/libbyteorder-02f9d1bc36a0d264.rlib --extern fallible_collections=/tmp/cargo-install1GXzyx/release/deps/libfallible_collections-b2faafb19757c977.rlib --extern log=/tmp/cargo-install1GXzyx/release/deps/liblog-1ccbd75b16afa013.rlib --extern static_assertions=/tmp/cargo-install1GXzyx/release/deps/libstatic_assertions-e4bac5f80adaba15.rlib --cap-lints allow
Running rustc --crate-name libaom_sys --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/libaom-sys-0.11.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C metadata=d89704062dc2b56a -C extra-filename=-d89704062dc2b56a --out-dir /tmp/cargo-install1GXzyx/release/deps -L dependency=/tmp/cargo-install1GXzyx/release/deps --cap-lints allow -L native=/tmp/cargo-install1GXzyx/release/build/libaom-sys-ae0d127266149be4/out/lib -l static=aom
Compiling aom-decode v0.2.1
Running rustc --crate-name aom_decode --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/aom-decode-0.2.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto --cfg 'feature="avif"' --cfg 'feature="avif-parse"' --cfg 'feature="default"' --cfg 'feature="imgref"' -C metadata=bded17edeb319dba -C extra-filename=-bded17edeb319dba --out-dir /tmp/cargo-install1GXzyx/release/deps -L dependency=/tmp/cargo-install1GXzyx/release/deps --extern avif_parse=/tmp/cargo-install1GXzyx/release/deps/libavif_parse-5c41c6aa7954f664.rlib --extern imgref=/tmp/cargo-install1GXzyx/release/deps/libimgref-779f245762441020.rmeta --extern libaom_sys=/tmp/cargo-install1GXzyx/release/deps/liblibaom_sys-d89704062dc2b56a.rmeta --extern quick_error=/tmp/cargo-install1GXzyx/release/deps/libquick_error-592a5a135091d63b.rmeta --extern yuv=/tmp/cargo-install1GXzyx/release/deps/libyuv-a2c5da6d2396b1c9.rmeta --cap-lints allow -L native=/tmp/cargo-install1GXzyx/release/build/libaom-sys-ae0d127266149be4/out/lib
error: could not find native static library aom, perhaps an -L flag is missing?

error: could not compile libaom-sys due to previous error

Caused by:
process didn't exit successfully: rustc --crate-name libaom_sys --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/libaom-sys-0.11.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C metadata=d89704062dc2b56a -C extra-filename=-d89704062dc2b56a --out-dir /tmp/cargo-install1GXzyx/release/deps -L dependency=/tmp/cargo-install1GXzyx/release/deps --cap-lints allow -L native=/tmp/cargo-install1GXzyx/release/build/libaom-sys-ae0d127266149be4/out/lib -l static=aom (exit status: 1)
warning: build failed, waiting for other jobs to finish...
error: failed to compile avif-decode v0.2.2, intermediate artifacts can be found at /tmp/cargo-install1GXzyx

Caused by:
build failed

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

1 participant