Mac 安装PHP QConf扩展时报错,求指导。

错误提示如下:

Undefined symbols for architecture x86_64:
"_gdbm_errno", referenced from:
qconf_init_dbf_(int) in qconf_dump.cc.o
qconf_dump_get(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator >&) in qconf_dump.cc.o
qconf_dump_set(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&) in qconf_dump.cc.o
qconf_dump_delete(std::__1::basic_string, std::__1::allocator > const&) in qconf_dump.cc.o
(maybe you meant: _gdbm_errno_location)
"_libssh2_agent_connect", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_agent_disconnect", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_agent_free", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_agent_get_identity", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_agent_init", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_agent_list_identities", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_agent_userauth", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_channel_free", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_channel_read_ex", referenced from:
_scp_recv in libcurl.a(libcurl_la-ssh.o)
"_libssh2_channel_send_eof", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_channel_wait_closed", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_channel_wait_eof", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_channel_write_ex", referenced from:
_scp_send in libcurl.a(libcurl_la-ssh.o)
"_libssh2_hostkey_hash", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_knownhost_add", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_knownhost_check", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_knownhost_free", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_knownhost_init", referenced from:
_ssh_connect in libcurl.a(libcurl_la-ssh.o)
"_libssh2_knownhost_readfile", referenced from:
_ssh_connect in libcurl.a(libcurl_la-ssh.o)
"_libssh2_knownhost_writefile", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_scp_recv", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_scp_send64", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_session_block_directions", referenced from:
_ssh_multi_statemach in libcurl.a(libcurl_la-ssh.o)
_scp_recv in libcurl.a(libcurl_la-ssh.o)
_scp_send in libcurl.a(libcurl_la-ssh.o)
_sftp_recv in libcurl.a(libcurl_la-ssh.o)
_sftp_send in libcurl.a(libcurl_la-ssh.o)
_ssh_block_statemach in libcurl.a(libcurl_la-ssh.o)
"_libssh2_session_disconnect_ex", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_session_free", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_session_hostkey", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_session_init_ex", referenced from:
_ssh_connect in libcurl.a(libcurl_la-ssh.o)
"_libssh2_session_last_errno", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_session_last_error", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_session_set_blocking", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_session_startup", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_sftp_close_handle", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_sftp_init", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_sftp_last_error", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_sftp_mkdir_ex", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_libssh2_sftp_open_ex", referenced from:
_ssh_statemach_act in libcurl.a(libcurl_la-ssh.o)
"_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
make: *** [all] Error 2

php
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问