Qihoo360 / QConf

Qihoo Distributed Configuration Management System
Other
1.87k stars 536 forks source link

ld: symbol(s) not found for architecture x86_64 #113

Open AceHub opened 5 years ago

AceHub commented 5 years ago

ld: symbol(s) not found for architecture x86_64 "_libssh2_sftp_read", referenced from: _sftp_recv in libcurl.a(libcurl_la-ssh.o) "_libssh2_sftp_readdir_ex", referenced from: _ssh_statemach_act in libcurl.a(libcurl_la-ssh.o) "_libssh2_sftp_rename_ex", referenced from: _ssh_statemach_act in libcurl.a(libcurl_la-ssh.o) "_libssh2_sftp_rmdir_ex", referenced from: _ssh_statemach_act in libcurl.a(libcurl_la-ssh.o) "_libssh2_sftp_seek64", referenced from: _ssh_statemach_act in libcurl.a(libcurl_la-ssh.o) "_libssh2_sftp_shutdown", referenced from: _ssh_statemach_act in libcurl.a(libcurl_la-ssh.o) "_libssh2_sftp_stat_ex", referenced from: _ssh_statemach_act in libcurl.a(libcurl_la-ssh.o) "_libssh2_sftp_symlink_ex", referenced from: _ssh_statemach_act in libcurl.a(libcurl_la-ssh.o) "_libssh2_sftp_unlink_ex", referenced from: _ssh_statemach_act in libcurl.a(libcurl_la-ssh.o) "_libssh2_sftp_write", referenced from: _sftp_send in libcurl.a(libcurl_la-ssh.o) "_libssh2_userauth_authenticated", referenced from: _ssh_statemach_act in libcurl.a(libcurl_la-ssh.o) "_libssh2_userauth_keyboard_interactive_ex", referenced from: _ssh_statemach_act in libcurl.a(libcurl_la-ssh.o) "_libssh2_userauth_list", referenced from: _ssh_statemach_act in libcurl.a(libcurl_la-ssh.o) "_libssh2_userauth_password_ex", referenced from: _ssh_statemach_act in libcurl.a(libcurl_la-ssh.o) "_libssh2_userauth_publickey_fromfile_ex", referenced from: _ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)

ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [agent/qconf_agent] Error 1 make[1]: [agent/CMakeFiles/qconf_agent.dir/all] Error 2

lwx2615 commented 5 years ago

很有可能是软件版本不对