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

ld error on macOS when running example #8

Open
griff opened this issue Nov 2, 2017 · 3 comments
Open

ld error on macOS when running example #8

griff opened this issue Nov 2, 2017 · 3 comments

Comments

@griff
Copy link

griff commented Nov 2, 2017

When I run cargo run -vv --example keylist -- on macOS High Sierra I just end up getting a link error:

       Fresh cfg-if v0.1.2
       Fresh libc v0.2.33
       Fresh bitflags v0.9.1
       Fresh getopts v0.2.15
       Fresh gcc v0.3.54
       Fresh lazy_static v0.2.9
       Fresh custom_derive v0.1.7
       Fresh rand v0.3.17
       Fresh conv v0.3.3
       Fresh tempdir v0.3.5
       Fresh libgpg-error-sys v0.2.3
       Fresh gpg-error v0.2.2
       Fresh gpgme-sys v0.6.1 (file:///Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/gpgme-sys)
   Compiling gpgme v0.6.1 (file:///Users/bro/Documents/Lisberg/host-secrets/rust-gpgme)
     Running `rustc --crate-name keylist examples/keylist.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="gpgme-sys"' --cfg 'feature="v1_3_0"' --cfg 'feature="v1_3_1"' --cfg 'feature="v1_4_0"' --cfg 'feature="v1_4_2"' --cfg 'feature="v1_4_3"' --cfg 'feature="v1_5_0"' --cfg 'feature="v1_5_1"' --cfg 'feature="v1_6_0"' --cfg 'feature="v1_7_0"' --cfg 'feature="v1_7_1"' --cfg 'feature="v1_8_0"' --cfg 'feature="v1_9_0"' -C metadata=7bb811b06a99be38 -C extra-filename=-7bb811b06a99be38 --out-dir /Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/examples -L dependency=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps --extern tempdir=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libtempdir-41f9ef7ced3d7ab3.rlib --extern getopts=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libgetopts-b22bfbb9fcaac879.rlib --extern conv=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libconv-465d507795a5a13b.rlib --extern bitflags=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libbitflags-f74dcc09093f3825.rlib --extern gpg_error=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libgpg_error-745d5a05db922b49.rlib --extern gpgme_sys=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libgpgme_sys-f5e8f70d23114d6e.rlib --extern lazy_static=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/liblazy_static-a09627d31e820603.rlib --extern libc=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/liblibc-37bfd0d05eb7f2fd.rlib --extern cfg_if=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libcfg_if-76f9e060a7696f63.rlib --extern gpgme=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libgpgme-d478aeac1ca31717.rlib -L native=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/build/libgpg-error-sys-ff02a55722eb8617/out/lib -L native=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/build/gpgme-sys-1fbce602af7b2732/out/lib`
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-m64" "-L" "/Users/bro/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/examples/keylist-7bb811b06a99be38.0.o" "-o" "/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/examples/keylist-7bb811b06a99be38" "/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/examples/keylist-7bb811b06a99be38.crate.allocator.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps" "-L" "/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/build/libgpg-error-sys-ff02a55722eb8617/out/lib" "-L" "/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/build/gpgme-sys-1fbce602af7b2732/out/lib" "-L" "/Users/bro/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libgetopts-b22bfbb9fcaac879.rlib" "/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libgpgme-d478aeac1ca31717.rlib" "/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/liblazy_static-a09627d31e820603.rlib" "/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libgpgme_sys-f5e8f70d23114d6e.rlib" "/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libcfg_if-76f9e060a7696f63.rlib" "/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libconv-465d507795a5a13b.rlib" "/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/liblibc-37bfd0d05eb7f2fd.rlib" "/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libgpg_error-745d5a05db922b49.rlib" "/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libbitflags-f74dcc09093f3825.rlib" "/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libcustom_derive-ca5481277da64a56.rlib" "/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/liblibgpg_error_sys-1e5d12927a0d5d3a.rlib" "/Users/bro/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-85bc071b5d81d134.rlib" "/Users/bro/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-e87b7be0b9af1e69.rlib" "/Users/bro/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc_jemalloc-a9bf608d57cb3ab8.rlib" "/Users/bro/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-bfed0c7224ca9ee7.rlib" "/Users/bro/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc_system-f4db5bf69a27b115.rlib" "/Users/bro/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-27755265f6d9b001.rlib" "/Users/bro/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-ee22503fe7599f41.rlib" "/Users/bro/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd_unicode-01cef03bcbdc80f2.rlib" "/Users/bro/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librand-5109c06c40edb5dc.rlib" "/Users/bro/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-6067a72a06865dba.rlib" "/Users/bro/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-14b1ff6b197b2c39.rlib" "-l" "System" "-l" "resolv" "-l" "pthread" "-l" "c" "-l" "m"
  = note: Undefined symbols for architecture x86_64:
            "_libintl_dgettext", referenced from:
                __gpg_strerror in liblibgpg_error_sys-1e5d12927a0d5d3a.rlib(libgpg_error_la-strerror.o)
                __gpg_strerror_r in liblibgpg_error_sys-1e5d12927a0d5d3a.rlib(libgpg_error_la-strerror.o)
                __gpg_strsource in liblibgpg_error_sys-1e5d12927a0d5d3a.rlib(libgpg_error_la-strsource.o)
            "_libintl_bindtextdomain", referenced from:
                _real_init in liblibgpg_error_sys-1e5d12927a0d5d3a.rlib(libgpg_error_la-init.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: aborting due to previous error

error: Could not compile `gpgme`.

Caused by:
  process didn't exit successfully: `rustc --crate-name keylist examples/keylist.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg feature="default" --cfg feature="gpgme-sys" --cfg feature="v1_3_0" --cfg feature="v1_3_1" --cfg feature="v1_4_0" --cfg feature="v1_4_2" --cfg feature="v1_4_3" --cfg feature="v1_5_0" --cfg feature="v1_5_1" --cfg feature="v1_6_0" --cfg feature="v1_7_0" --cfg feature="v1_7_1" --cfg feature="v1_8_0" --cfg feature="v1_9_0" -C metadata=7bb811b06a99be38 -C extra-filename=-7bb811b06a99be38 --out-dir /Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/examples -L dependency=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps --extern tempdir=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libtempdir-41f9ef7ced3d7ab3.rlib --extern getopts=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libgetopts-b22bfbb9fcaac879.rlib --extern conv=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libconv-465d507795a5a13b.rlib --extern bitflags=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libbitflags-f74dcc09093f3825.rlib --extern gpg_error=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libgpg_error-745d5a05db922b49.rlib --extern gpgme_sys=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libgpgme_sys-f5e8f70d23114d6e.rlib --extern lazy_static=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/liblazy_static-a09627d31e820603.rlib --extern libc=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/liblibc-37bfd0d05eb7f2fd.rlib --extern cfg_if=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libcfg_if-76f9e060a7696f63.rlib --extern gpgme=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/deps/libgpgme-d478aeac1ca31717.rlib -L native=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/build/libgpg-error-sys-ff02a55722eb8617/out/lib -L native=/Users/bro/Documents/Lisberg/host-secrets/rust-gpgme/target/debug/build/gpgme-sys-1fbce602af7b2732/out/lib` (exit code: 101)
@sobolevn
Copy link

sobolevn commented Dec 4, 2017

The same here. @johnschug can you please help to find the reason of this error?

Here's my setup:

  • macOs: 10.11.6
  • rustc --version: rustc 1.21.0
  • cargo --version: cargo 0.21.1
  • gpg --version: gpg (GnuPG) 2.2.3 libgcrypt 1.8.1
  • gpgme-config --version 1.9.0

Everything is installed via brew. No other known issues.

Full error message:

» cargo run --verbose --example keylist --          
       Fresh lazy_static v0.2.11
       Fresh gcc v0.3.54
       Fresh libc v0.2.34
       Fresh custom_derive v0.1.7
       Fresh getopts v0.2.15
       Fresh cfg-if v0.1.2
       Fresh bitflags v0.9.1
       Fresh rand v0.3.18
       Fresh conv v0.3.3
       Fresh tempdir v0.3.5
       Fresh libgpg-error-sys v0.2.3
       Fresh gpgme-sys v0.6.1 (file:///Users/sobolev/Desktop/rust-gpgme-master/gpgme-sys)
       Fresh gpg-error v0.2.2
   Compiling gpgme v0.6.1 (file:///Users/sobolev/Desktop/rust-gpgme-master)
     Running `rustc --crate-name keylist examples/keylist.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="gpgme-sys"' --cfg 'feature="v1_3_0"' --cfg 'feature="v1_3_1"' --cfg 'feature="v1_4_0"' --cfg 'feature="v1_4_2"' --cfg 'feature="v1_4_3"' --cfg 'feature="v1_5_0"' --cfg 'feature="v1_5_1"' --cfg 'feature="v1_6_0"' --cfg 'feature="v1_7_0"' --cfg 'feature="v1_7_1"' --cfg 'feature="v1_8_0"' --cfg 'feature="v1_9_0"' -C metadata=4d32da24c0c09a9d -C extra-filename=-4d32da24c0c09a9d --out-dir /Users/sobolev/Desktop/rust-gpgme-master/target/debug/examples -L dependency=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps --extern getopts=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libgetopts-fd455720cba98519.rlib --extern tempdir=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libtempdir-355c78ded3c7c233.rlib --extern conv=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libconv-f45ddf999f1cb111.rlib --extern libc=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/liblibc-57f54566e96d170a.rlib --extern gpgme_sys=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libgpgme_sys-97b9f6262d819db0.rlib --extern cfg_if=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libcfg_if-76d1547ec6ace83c.rlib --extern bitflags=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libbitflags-3028607acc680b0b.rlib --extern gpg_error=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libgpg_error-9eac4f45e1ddeb41.rlib --extern lazy_static=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/liblazy_static-0ae5c0bc89e40f9c.rlib --extern gpgme=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libgpgme-bf667998cb8c949a.rlib -L native=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/build/libgpg-error-sys-52baa3959d9cdaf2/out/lib -L native=/usr/local/opt/gpgme/lib -L native=/usr/local/opt/libassuan/lib -L native=/usr/local/opt/libgpg-error/lib`
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-m64" "-L" "/usr/local/Cellar/rust/1.21.0/lib/rustlib/x86_64-apple-darwin/lib" "/Users/sobolev/Desktop/rust-gpgme-master/target/debug/examples/keylist-4d32da24c0c09a9d.0.o" "-o" "/Users/sobolev/Desktop/rust-gpgme-master/target/debug/examples/keylist-4d32da24c0c09a9d" "/Users/sobolev/Desktop/rust-gpgme-master/target/debug/examples/keylist-4d32da24c0c09a9d.crate.allocator.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps" "-L" "/Users/sobolev/Desktop/rust-gpgme-master/target/debug/build/libgpg-error-sys-52baa3959d9cdaf2/out/lib" "-L" "/usr/local/opt/gpgme/lib" "-L" "/usr/local/opt/libassuan/lib" "-L" "/usr/local/opt/libgpg-error/lib" "-L" "/usr/local/Cellar/rust/1.21.0/lib/rustlib/x86_64-apple-darwin/lib" "/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libgetopts-fd455720cba98519.rlib" "/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libgpgme-bf667998cb8c949a.rlib" "/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/liblazy_static-0ae5c0bc89e40f9c.rlib" "/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libgpgme_sys-97b9f6262d819db0.rlib" "/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libcfg_if-76d1547ec6ace83c.rlib" "/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libconv-f45ddf999f1cb111.rlib" "/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/liblibc-57f54566e96d170a.rlib" "/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libgpg_error-9eac4f45e1ddeb41.rlib" "/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libbitflags-3028607acc680b0b.rlib" "/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libcustom_derive-dfda4718d0b93900.rlib" "/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/liblibgpg_error_sys-c00edeb6dc3d402f.rlib" "/usr/local/Cellar/rust/1.21.0/lib/rustlib/x86_64-apple-darwin/lib/libstd-d6e7f5e476a23265.rlib" "/usr/local/Cellar/rust/1.21.0/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-22ef5dcc18b79f0a.rlib" "/usr/local/Cellar/rust/1.21.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc_jemalloc-1ca97dc81589a37e.rlib" "/usr/local/Cellar/rust/1.21.0/lib/rustlib/x86_64-apple-darwin/lib/libunwind-d121e52ef669781d.rlib" "/usr/local/Cellar/rust/1.21.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc_system-462c3781984390a6.rlib" "/usr/local/Cellar/rust/1.21.0/lib/rustlib/x86_64-apple-darwin/lib/liblibc-2717e8ec5865cc19.rlib" "/usr/local/Cellar/rust/1.21.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc-abb2a8045071f514.rlib" "/usr/local/Cellar/rust/1.21.0/lib/rustlib/x86_64-apple-darwin/lib/libstd_unicode-41d89bf987a47b5b.rlib" "/usr/local/Cellar/rust/1.21.0/lib/rustlib/x86_64-apple-darwin/lib/librand-dc272821cf9c4b0d.rlib" "/usr/local/Cellar/rust/1.21.0/lib/rustlib/x86_64-apple-darwin/lib/libcore-6020affa555cca3d.rlib" "/usr/local/Cellar/rust/1.21.0/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-b02639f7966b7f27.rlib" "-l" "gpgme" "-l" "assuan" "-l" "gpg-error" "-l" "System" "-l" "resolv" "-l" "pthread" "-l" "c" "-l" "m"
  = note: Undefined symbols for architecture x86_64:
            "_libintl_dgettext", referenced from:
                __gpg_strerror_r in liblibgpg_error_sys-c00edeb6dc3d402f.rlib(libgpg_error_la-strerror.o)
                __gpg_strsource in liblibgpg_error_sys-c00edeb6dc3d402f.rlib(libgpg_error_la-strsource.o)
            "_libintl_bindtextdomain", referenced from:
                _real_init in liblibgpg_error_sys-c00edeb6dc3d402f.rlib(libgpg_error_la-init.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: aborting due to previous error

error: Could not compile `gpgme`.

Caused by:
  process didn't exit successfully: `rustc --crate-name keylist examples/keylist.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg feature="default" --cfg feature="gpgme-sys" --cfg feature="v1_3_0" --cfg feature="v1_3_1" --cfg feature="v1_4_0" --cfg feature="v1_4_2" --cfg feature="v1_4_3" --cfg feature="v1_5_0" --cfg feature="v1_5_1" --cfg feature="v1_6_0" --cfg feature="v1_7_0" --cfg feature="v1_7_1" --cfg feature="v1_8_0" --cfg feature="v1_9_0" -C metadata=4d32da24c0c09a9d -C extra-filename=-4d32da24c0c09a9d --out-dir /Users/sobolev/Desktop/rust-gpgme-master/target/debug/examples -L dependency=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps --extern getopts=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libgetopts-fd455720cba98519.rlib --extern tempdir=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libtempdir-355c78ded3c7c233.rlib --extern conv=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libconv-f45ddf999f1cb111.rlib --extern libc=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/liblibc-57f54566e96d170a.rlib --extern gpgme_sys=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libgpgme_sys-97b9f6262d819db0.rlib --extern cfg_if=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libcfg_if-76d1547ec6ace83c.rlib --extern bitflags=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libbitflags-3028607acc680b0b.rlib --extern gpg_error=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libgpg_error-9eac4f45e1ddeb41.rlib --extern lazy_static=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/liblazy_static-0ae5c0bc89e40f9c.rlib --extern gpgme=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/deps/libgpgme-bf667998cb8c949a.rlib -L native=/Users/sobolev/Desktop/rust-gpgme-master/target/debug/build/libgpg-error-sys-52baa3959d9cdaf2/out/lib -L native=/usr/local/opt/gpgme/lib -L native=/usr/local/opt/libassuan/lib -L native=/usr/local/opt/libgpg-error/lib` (exit code: 101)

@griff
Copy link
Author

griff commented Dec 4, 2017

@sobolevn the problem is that on linux among others the gettext api is implemented directly in glibc while on macOS you have to install it. I did a fix for this locally by modifying the rust gettext crate to statically link gettext on macOS and make rust-gpg-error depend on that crate but I haven't published any of it anywhere.

@sobolevn
Copy link

sobolevn commented Dec 4, 2017

@griff Could you please publish it is as a gist (for now at least)?

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