链接到libiconv

时间:2013-12-30 15:40:01

标签: xcode macos libmysql libiconv

我创建了一个libmariadbclient的干净版本并将其集成到我的项目中。每当我尝试构建所述项目时,我都会失败并出现错误:

Undefined symbols for architecture x86_64: "_libiconv", referenced from: _mariadb_convert_string in libmariadbclient.a(my_charset.c.o) "_libiconv_close", referenced from: _mariadb_convert_string in libmariadbclient.a(my_charset.c.o) "_libiconv_open", referenced from: _mariadb_convert_string in libmariadbclient.a(my_charset.c.o) ld: symbol(s) not found for architecture x86_64

然后我将libiconvlib.dylid添加到我的项目中,清理它并尝试再次构建,但我仍然得到相同的错误。有什么想法吗?

1 个答案:

答案 0 :(得分:0)

我向开发者提交了bug report,问题得到了及时解决。