Comments (14)
Hmm, I'm actually not able to reproduce your experience with proj 8.2 installed via homebrew on my aarch64.
@highway900 would you mind including some more verbose output so we can better see what's going on?
Run cargo clean && cargo test -vv
, and post the output starting with: "Compiling proj-sys v0.21.0"
Output from my machine...
Compiling proj-sys v0.21.0 (/Users/mkirk/src/georust/proj/proj-sys)
Running `CARGO=/Users/mkirk/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/Users/mkirk/src/georust/proj/proj-sys CARGO_PKG_AUTHORS='The Georust developers <[email protected]>' CARGO_PKG_DESCRIPTION='Rust bindings for PROJ v8.1.x' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=proj-sys CARGO_PKG_REPOSITORY='https://github.com/georust/proj' CARGO_PKG_VERSION=0.21.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=21 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 DYLD_FALLBACK_LIBRARY_PATH='/Users/mkirk/src/georust/proj/target/debug/deps:/Users/mkirk/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/mkirk/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/mkirk/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build --edition=2018 proj-sys/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 -C metadata=ad3573c2b71ad2e0 -C extra-filename=-ad3573c2b71ad2e0 --out-dir /Users/mkirk/src/georust/proj/target/debug/build/proj-sys-ad3573c2b71ad2e0 -C incremental=/Users/mkirk/src/georust/proj/target/debug/incremental -L dependency=/Users/mkirk/src/georust/proj/target/debug/deps --extern bindgen=/Users/mkirk/src/georust/proj/target/debug/deps/libbindgen-3fa79ef3b2cc5c5a.rlib --extern cmake=/Users/mkirk/src/georust/proj/target/debug/deps/libcmake-528f6e7abdb9ecfa.rlib --extern flate2=/Users/mkirk/src/georust/proj/target/debug/deps/libflate2-e008d144c28a464e.rlib --extern pkg_config=/Users/mkirk/src/georust/proj/target/debug/deps/libpkg_config-700343b79c8fc579.rlib --extern tar=/Users/mkirk/src/georust/proj/target/debug/deps/libtar-ebab89bc51e4196c.rlib`
Running `/Users/mkirk/src/georust/proj/target/debug/build/proj-sys-ad3573c2b71ad2e0/build-script-build`
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PROJ_NO_PKG_CONFIG
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PROJ_STATIC
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PROJ_DYNAMIC
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-apple-darwin
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_apple_darwin
[proj-sys 0.21.0] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-apple-darwin
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_apple_darwin
[proj-sys 0.21.0] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-apple-darwin
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_apple_darwin
[proj-sys 0.21.0] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PROJ_STATIC
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PROJ_DYNAMIC
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
[proj-sys 0.21.0] cargo:rustc-link-search=native=/opt/homebrew/Cellar/proj/8.2.0/lib
[proj-sys 0.21.0] cargo:rustc-link-lib=proj
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PROJ_STATIC
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PROJ_DYNAMIC
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-apple-darwin
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_apple_darwin
[proj-sys 0.21.0] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-apple-darwin
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_apple_darwin
[proj-sys 0.21.0] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-apple-darwin
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_apple_darwin
[proj-sys 0.21.0] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
[proj-sys 0.21.0] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
[proj-sys 0.21.0] found acceptable libproj already installed at: "/opt/homebrew/Cellar/proj/8.2.0/lib"
[proj-sys 0.21.0] cargo:rustc-link-search=native="/opt/homebrew/Cellar/proj/8.2.0/lib"
[proj-sys 0.21.0] cargo:rustc-link-lib=proj
Also, if you have the time, it'd be interesting to verify if things work for you pre #93 - e.g. by building from 801f653.
Can you also confirm that you're running aarch64 homebrew (from /opt/homebrew) and not the legacy rosetta version (from /usr/local)?
$ arch
arm64
$ brew --prefix
/opt/homebrew
from proj.
Ok this worked. Looks like a cargo clean
must have fixed my issue, though IIRC I had done this...
Maybe my terminal sessions restarted and libtiff
could be found now...
Everything is working now though 👍
Apologies and thanks for the help.
Definitely running arm64
and latest homebrew (only just installed for the first time)
from proj.
@michaelkirk Are you able to repro?
from proj.
Unfortunately, I'm armless for a while.
ld: library not found for -ltiff
IIRC I think I hacked around that without solving it by disabling the tiff integration just to get it to build.
I should have taken better notes... 😓
from proj.
This seems to be the line it's struggling with:
println!(
"cargo:rustc-link-search={}",
&out_path.join("lib64").display()
);
I had that output too, but IIRC that's not the critical error, but I could be mistaken.
from proj.
Ah you're right, that's just a warning
from proj.
I'm no longer having any issues building proj on aarch64.
I'm going to close this, but feel free to open if you aren't able to build on arm+apple.
from proj.
I am seeing this error on apple silicon with proj-v0.24.0
I am able to build but cannot run tests.
When testing running cargo test -v
I get a linker error for libtiff
where it appears the linker is looking for a lib64
directory as stated above.
I have both libtiff-4.3.0
and proj-8.2.0
installed via brew.
from proj.
proj currently requires proj 8.1.0 as a link target, though that may not be the source of the current error. Does running cargo test --features bundled_proj give you the same error?
from proj.
Could you also please include the exact error output?
from proj.
running cargo test --features bundled_proj
gives me the same error so does using cargo test --no-default-features
cargo test --verbose
Fresh cfg-if v1.0.0
Fresh autocfg v1.0.1
Fresh unicode-xid v0.2.2
Fresh glob v0.3.0
Fresh version_check v0.9.3
Fresh wyz v0.2.0
Fresh funty v1.1.0
Fresh tap v1.0.1
Fresh regex-syntax v0.6.25
Fresh unicode-width v0.1.9
Fresh bitflags v1.3.2
Fresh adler v1.0.2
Fresh termcolor v1.1.2
Fresh humantime v2.1.0
Fresh vec_map v0.8.2
Fresh strsim v0.8.0
Fresh ansi_term v0.11.0
Fresh lazy_static v1.4.0
Fresh lazycell v1.3.0
Fresh cc v1.0.72
Fresh rustc-hash v1.1.0
Fresh peeking_take_while v0.1.2
Fresh shlex v1.1.0
Fresh pkg-config v0.3.22
Fresh libloading v0.7.2
Fresh textwrap v0.11.0
Fresh libc v0.2.107
Fresh cmake v0.1.46
Fresh memchr v2.3.4
Fresh proc-macro2 v1.0.32
Fresh radium v0.5.3
Fresh quote v1.0.10
Fresh aho-corasick v0.7.15
Fresh atty v0.2.14
Fresh log v0.4.14
Fresh xattr v0.2.2
Fresh crc32fast v1.2.1
Fresh filetime v0.2.15
Fresh which v3.1.1
Fresh bitvec v0.19.5
Fresh regex v1.4.6
Fresh clang-sys v1.3.0
Fresh miniz_oxide v0.4.4
Fresh clap v2.33.3
Fresh syn v1.0.81
Fresh num-traits v0.2.14
Fresh nom v6.2.1
Fresh env_logger v0.8.4
Fresh tar v0.4.37
Fresh cexpr v0.5.0
Fresh flate2 v1.0.22
Fresh thiserror-impl v1.0.30
Fresh geo-types v0.7.2
Fresh approx v0.3.2
Fresh bindgen v0.59.1
Fresh thiserror v1.0.30
Fresh proj-sys v0.21.0 (/proj/proj-sys)
Compiling proj v0.24.0 (/proj)
Running `rustc --crate-name proj --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="geo-types"' -C metadata=9392060a9ee76561 -C extra-filename=-9392060a9ee76561 --out-dir /proj/target/debug/deps -C incremental=/proj/target/debug/incremental -L dependency=/proj/target/debug/deps --extern approx=/proj/target/debug/deps/libapprox-9f5de25b051c1dfb.rlib --extern geo_types=/proj/target/debug/deps/libgeo_types-9b3eacdd1981a1ee.rlib --extern libc=/proj/target/debug/deps/liblibc-ff0c70f2ccc8b1fc.rlib --extern num_traits=/proj/target/debug/deps/libnum_traits-dd2a8f17dcefa508.rlib --extern proj_sys=/proj/target/debug/deps/libproj_sys-b0e700f63bb062d2.rlib --extern thiserror=/proj/target/debug/deps/libthiserror-58e881423875c387.rlib -L native=/proj/target/debug/build/proj-sys-7f6096c05b5733fd/out/lib -L /proj/target/debug/build/proj-sys-7f6096c05b5733fd/out/lib64 -L /proj/target/debug/build/proj-sys-7f6096c05b5733fd/out/build/lib`
error: linking with `cc` failed: exit status: 1
|
= note: "cc" "-arch" "arm64" "/proj/target/debug/deps/proj-9392060a9ee76561.11x46393atiu75ph.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.12l9ga6fexa1f84i.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.14amw1vvuypm5sya.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.16g8d7dyz10x765x.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.18u1ob3tbf8zlvlq.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.1i0r8vhbc1bzn174.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.1j1y1yu3tsgpbszb.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.1mvvjeuw22yauzdr.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.1tbv7v5wgefwph3v.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.1u9od1zr55pkw4h.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.1yklulfjxyc51vcg.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.24523hll41aaty7a.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.24we8nxpinevurb1.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.25xp7750mh4sa5m7.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.29l4dfzcv2hi8jl6.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.29rmjgf3kw41sjqb.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.2bmjt7lnstzm1p5w.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.2gs7pza6dph62urd.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.2mjqu1dwisokjm3e.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.2ppzg3dtraoqn0iv.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.2xkvztlm7dqdbesc.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.340wdjxtwk4p1xbw.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.362ix1ijjzhxdbso.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.3a7f6uwukcyhm9wa.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.3dbp0786oepllcte.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.3f7qtzwxc16w9n6n.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.3ffbmrkmytbpytc0.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.3gnenjwmcqvlhvio.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.3h3m0fq59769ph8x.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.3k4ltiqbdt804css.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.3kzgcr29px9avl5o.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.3l7yztascnkp9kl2.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.3otkqflxttv8eddx.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.3p66rqr77w8vtmqm.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.3q6ilbmlmpvdo4ep.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.3s31jncsdbvs4i6r.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.3ts9a5wygv57up05.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.3u4zcddy8qvhwyii.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.3wo12x2zhdchwgcp.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.3x3tpz1vqvkq1siu.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.400sg146h8um6wja.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.41of70ve272y70as.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.42menja1d6gur828.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.45xlqn29mpb1h1nh.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.46p1xw493t4luya8.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.47rnp1v6udfl511o.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.48504a0rxaw4izju.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.49sfrim7okqzyko0.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.49z5t2gq6a7d1o3r.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.4amfhgkb572j9g3i.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.4amwfv9h5d87ic1o.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.4d53yand6lbt4441.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.4h7hjwkiqyq14def.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.4l47b8mb2ahqp9uv.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.4mk7dywgt43q52lj.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.4n9enlbcas3hlfe5.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.4p7v9txxmf71b2cv.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.4pt563qi6ea0nuua.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.4qqdvirxkqruc7w5.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.4rrjxzgwu1y4bo5u.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.4suwqiqpfz7oxlxa.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.4vdyxbov2wn53kd9.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.4wvkcdip07p98pi5.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.4zzdkljmj15dpn1d.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.505oaogtixkf507s.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.50zd3xr11tdccmjb.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.51i7vk9641wttksb.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.541yjzlhrq02d8ns.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.54qirxf9k8ivsyui.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.56ybui3745mfvy7h.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.5982xdb20yaatsm1.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.5bwgbcz55jf35x25.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.5cx1d1hnu49gpvo0.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.5d9fubsdf6sqbm59.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.9q0xl71y6p7arzq.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.bvjlk4c6ui3sbos.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.cr6nrnj3h332kw2.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.dobl4ynjpqs0dzi.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.e12ai5jtyh565vk.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.e68sqfkdcqts77f.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.edpb45585ptefdx.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.fb1crx9vauobsgn.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.ht98uy53iwezkl1.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.isc71vblznvor8v.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.j3oondk6y72u2xy.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.md7yzfo7a2ddorf.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.mw20o3jwpiqh9s4.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.p2izcmp2i33brsv.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.r1147yzyzjcgbh3.rcgu.o" "/proj/target/debug/deps/proj-9392060a9ee76561.3ov3xhnma80vutzd.rcgu.o" "-L" "/proj/target/debug/deps" "-L" "/proj/target/debug/build/proj-sys-7f6096c05b5733fd/out/lib" "-L" "/proj/target/debug/build/proj-sys-7f6096c05b5733fd/out/lib64" "-L" "/proj/target/debug/build/proj-sys-7f6096c05b5733fd/out/build/lib" "-L" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/proj/target/debug/deps/libgeo_types-9b3eacdd1981a1ee.rlib" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libtest-06ff11d645105e2b.rlib" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libterm-f05ecaeca66814e6.rlib" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgetopts-6ad0d034fc8e15c7.rlib" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunicode_width-c4beacdc35405cb8.rlib" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_std-fc0f4647def297a8.rlib" "/proj/target/debug/deps/libthiserror-58e881423875c387.rlib" "/proj/target/debug/deps/libproj_sys-b0e700f63bb062d2.rlib" "/proj/target/debug/deps/liblibc-ff0c70f2ccc8b1fc.rlib" "/proj/target/debug/deps/libapprox-9f5de25b051c1dfb.rlib" "/proj/target/debug/deps/libnum_traits-dd2a8f17dcefa508.rlib" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-000cdec9267bfd7b.rlib" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-2669f3cbce8358f4.rlib" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-86461a1c60728ccb.rlib" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-f17574752cb5ddba.rlib" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-3bb606c936cc0d28.rlib" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-8139a4b0cda20184.rlib" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-ea0823eca3e9abf9.rlib" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-4f19e1259f6028e7.rlib" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-435daca85b8e10b5.rlib" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-d73085abefd284c6.rlib" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-e6a09ca0044b34e5.rlib" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-e07333f48f53c71e.rlib" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-2a49b0d9fbc7a459.rlib" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-b66dda66aafe36c9.rlib" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-34d0b58da984bf31.rlib" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-01275baa20724171.rlib" "-lsqlite3" "-ltiff" "-lc++" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/proj/target/debug/deps/proj-9392060a9ee76561" "-Wl,-dead_strip" "-nodefaultlibs"
= note: ld: warning: directory not found for option '-L/proj/target/debug/build/proj-sys-7f6096c05b5733fd/out/lib64'
ld: library not found for -ltiff
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: aborting due to previous error
error: could not compile `proj`
Caused by:
process didn't exit successfully: `rustc --crate-name proj --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="geo-types"' -C metadata=9392060a9ee76561 -C extra-filename=-9392060a9ee76561 --out-dir /proj/target/debug/deps -C incremental=/proj/target/debug/incremental -L dependency=/proj/target/debug/deps --extern approx=/proj/target/debug/deps/libapprox-9f5de25b051c1dfb.rlib --extern geo_types=/proj/target/debug/deps/libgeo_types-9b3eacdd1981a1ee.rlib --extern libc=/proj/target/debug/deps/liblibc-ff0c70f2ccc8b1fc.rlib --extern num_traits=/proj/target/debug/deps/libnum_traits-dd2a8f17dcefa508.rlib --extern proj_sys=/proj/target/debug/deps/libproj_sys-b0e700f63bb062d2.rlib --extern thiserror=/proj/target/debug/deps/libthiserror-58e881423875c387.rlib -L native=/proj/target/debug/build/proj-sys-7f6096c05b5733fd/out/lib -L /proj/target/debug/build/proj-sys-7f6096c05b5733fd/out/lib64 -L /proj/target/debug/build/proj-sys-7f6096c05b5733fd/out/build/lib` (exit status: 1)
note I have removed username $HOME path from the output
from proj.
my understanding is libtiff
is not required right?
from proj.
I feel it's very likely that I broke this with #92, sorry.
I'm looking into an appropriate fix now...
from proj.
Hit the same issue today, cargo clean
and restarting terminal worked!
from proj.
Related Issues (20)
- Expose PjInfo struct HOT 3
- Clarify "network" feature is required for TIFF support HOT 2
- `Send` and `Sync` HOT 6
- Add "Geospatial" category to `Cargo.toml`
- New tiff feature flag should be plumbed from proj to proj-sys
- Need ability to convert 3D coordinates HOT 4
- Bug in conversion from "OGC:CRS84" to "EPSG:3395" HOT 5
- How to build for windows? HOT 3
- proj-sys errors in build with gcc-13
- Windows builder in CI HOT 12
- Inconsistent transformations of coords between OSX and ubuntu HOT 9
- Proj isnt compiling in docker container, but does locally HOT 12
- Update to libproj 9.3.1 HOT 2
- Expose conversion to WKT and PROJJSON HOT 1
- Specify CMAKE release type in proj-sys?
- home crate (bindgen dependency) requires MSRV 1.70 HOT 4
- Investigate the possibility of replacing reqwest with ureq
- Puzzled about how to create projection
- Problem when using bundled_proj feature
- Missing include of cstdint HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proj.