You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@devlake.apache.org by GitBox <gi...@apache.org> on 2022/05/13 01:47:56 UTC

[GitHub] [incubator-devlake] likyh commented on issue #1863: Mac m1 cannot install libgit2

likyh commented on issue #1863:
URL: https://github.com/apache/incubator-devlake/issues/1863#issuecomment-1125577020

   ```
   ld: warning: ignoring file /usr/local/lib/libssh2.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
   Undefined symbols for architecture arm64:
     "_libssh2_agent_connect", referenced from:
         _ssh_agent_auth in ssh.c.o
     "_libssh2_agent_disconnect", referenced from:
         _ssh_agent_auth in ssh.c.o
     "_libssh2_agent_free", referenced from:
         _ssh_agent_auth in ssh.c.o
     "_libssh2_agent_get_identity", referenced from:
         _ssh_agent_auth in ssh.c.o
     "_libssh2_agent_init", referenced from:
         _ssh_agent_auth in ssh.c.o
     "_libssh2_agent_list_identities", referenced from:
         _ssh_agent_auth in ssh.c.o
     "_libssh2_agent_userauth", referenced from:
         _ssh_agent_auth in ssh.c.o
     "_libssh2_channel_close", referenced from:
         _ssh_stream_free in ssh.c.o
     "_libssh2_channel_free", referenced from:
         _ssh_stream_free in ssh.c.o
     "_libssh2_channel_open_ex", referenced from:
         __git_ssh_setup_conn in ssh.c.o
     "_libssh2_channel_process_startup", referenced from:
         _send_command in ssh.c.o
     "_libssh2_channel_read_ex", referenced from:
         _ssh_stream_read in ssh.c.o
     "_libssh2_channel_set_blocking", referenced from:
         __git_ssh_setup_conn in ssh.c.o
     "_libssh2_channel_write_ex", referenced from:
         _ssh_stream_write in ssh.c.o
     "_libssh2_exit", referenced from:
         _shutdown_ssh in ssh.c.o
     "_libssh2_hostkey_hash", referenced from:
         __git_ssh_setup_conn in ssh.c.o
     "_libssh2_init", referenced from:
         _git_transport_ssh_global_init in ssh.c.o
     "_libssh2_session_abstract", referenced from:
         __git_ssh_authenticate_session in ssh.c.o
     "_libssh2_session_disconnect_ex", referenced from:
         _ssh_stream_free in ssh.c.o
     "_libssh2_session_free", referenced from:
         __git_ssh_setup_conn in ssh.c.o
         __git_ssh_session_create in ssh.c.o
         _ssh_stream_free in ssh.c.o
     "_libssh2_session_handshake", referenced from:
         __git_ssh_session_create in ssh.c.o
     "_libssh2_session_hostkey", referenced from:
         __git_ssh_setup_conn in ssh.c.o
     "_libssh2_session_init_ex", referenced from:
         __git_ssh_session_create in ssh.c.o
     "_libssh2_session_last_error", referenced from:
         _ssh_error in ssh.c.o
     "_libssh2_session_set_blocking", referenced from:
         __git_ssh_session_create in ssh.c.o
     "_libssh2_userauth_authenticated", referenced from:
         _list_auth_methods in ssh.c.o
     "_libssh2_userauth_keyboard_interactive_ex", referenced from:
         __git_ssh_authenticate_session in ssh.c.o
     "_libssh2_userauth_list", referenced from:
         _list_auth_methods in ssh.c.o
     "_libssh2_userauth_password_ex", referenced from:
         __git_ssh_authenticate_session in ssh.c.o
     "_libssh2_userauth_publickey", referenced from:
         __git_ssh_authenticate_session in ssh.c.o
     "_libssh2_userauth_publickey_fromfile_ex", referenced from:
         __git_ssh_authenticate_session in ssh.c.o
   ld: symbol(s) not found for architecture arm64
   clang: error: linker command failed with exit code 1 (use -v to see invocation)
   make[2]: *** [libgit2.1.3.0.dylib] Error 1
   make[1]: *** [src/CMakeFiles/git2.dir/all] Error 2
   make: *** [all] Error 2
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org